From 418e005bcfd9dd9f9d7a9d6c52273dd35f6459a0 Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Fri, 22 Sep 2017 00:00:17 +0800 Subject: [PATCH] fix autocore value in linux kernel 4.4/4.9 --- package/lean/autocore/Makefile | 2 +- package/lean/autocore/files/autocore | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/lean/autocore/Makefile b/package/lean/autocore/Makefile index b280c7b24..d10232be9 100644 --- a/package/lean/autocore/Makefile +++ b/package/lean/autocore/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=autocore PKG_VERSION:=1 -PKG_RELEASE:=2 +PKG_RELEASE:=3 include $(INCLUDE_DIR)/package.mk diff --git a/package/lean/autocore/files/autocore b/package/lean/autocore/files/autocore index a9e7eea7a..216b36229 100755 --- a/package/lean/autocore/files/autocore +++ b/package/lean/autocore/files/autocore @@ -11,7 +11,7 @@ start() sysctl -w net.core.rps_sock_flow_entries=$rsfe for fileRps in $(ls /sys/class/net/eth*/queues/rx-*/rps_cpus) do - echo ff > $fileRps + echo $cc > $fileRps done for fileRfc in $(ls /sys/class/net/eth*/queues/rx-*/rps_flow_cnt) @@ -21,7 +21,7 @@ start() for fileRps in $(ls /sys/class/net/eth*/queues/tx-*/xps_cpus) do - echo ff > $fileRps + echo $cc > $fileRps done }