diff --git a/json/helpers.sh b/json/helpers.sh index f39a317..b21b54b 100644 --- a/json/helpers.sh +++ b/json/helpers.sh @@ -157,7 +157,7 @@ init_interface(){ ethtool -K $IFACE rxvlan off # Disable EEE - off by default - # ethtool --set-eee $IFACE eee off &> /dev/null + ethtool --set-eee $IFACE eee off &> /dev/null # Set irq affinity set_irq_smp_affinity $IFACE $DIR/../common/$IRQ_AFFINITY_FILE diff --git a/shell/adln/tsq1a.config b/shell/adln/tsq1a.config index 645f674..5bbdca8 100644 --- a/shell/adln/tsq1a.config +++ b/shell/adln/tsq1a.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" if [ $NUM_CORE == 2 ]; then # ADLN SKU5 - has only 2 cores diff --git a/shell/adln/tsq1b.config b/shell/adln/tsq1b.config index 955af81..17b80ef 100644 --- a/shell/adln/tsq1b.config +++ b/shell/adln/tsq1b.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" if [ $NUM_CORE == 2 ]; then # ADLN SKU5 - has only 2 cores diff --git a/shell/adln/vs1a.config b/shell/adln/vs1a.config index 5edc97e..6a289d2 100644 --- a/shell/adln/vs1a.config +++ b/shell/adln/vs1a.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" if [ $NUM_CORE == 2 ]; then # ADLN SKU5 - has only 2 cores diff --git a/shell/adln/vs1b.config b/shell/adln/vs1b.config index b2f8542..c14a199 100644 --- a/shell/adln/vs1b.config +++ b/shell/adln/vs1b.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" if [ $NUM_CORE == 2 ]; then # ADLN SKU5 - has only 2 cores diff --git a/shell/adls/tsq1a.config b/shell/adls/tsq1a.config index b06350e..3bb5293 100644 --- a/shell/adls/tsq1a.config +++ b/shell/adls/tsq1a.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" IRQ_AFFINITY_FILE="irq_affinity_4c_4tx_4rx.map" diff --git a/shell/adls/tsq1b.config b/shell/adls/tsq1b.config index fdb6f11..e020f59 100644 --- a/shell/adls/tsq1b.config +++ b/shell/adls/tsq1b.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" IRQ_AFFINITY_FILE="irq_affinity_4c_4tx_4rx.map" diff --git a/shell/adls/vs1a.config b/shell/adls/vs1a.config index d91d1a4..a635ace 100644 --- a/shell/adls/vs1a.config +++ b/shell/adls/vs1a.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" IRQ_AFFINITY_FILE="irq_affinity_4c_4tx_4rx.map" TEMP_DIR="/dev/shm" diff --git a/shell/adls/vs1b.config b/shell/adls/vs1b.config index c71390c..b4051c3 100644 --- a/shell/adls/vs1b.config +++ b/shell/adls/vs1b.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" IRQ_AFFINITY_FILE="irq_affinity_4c_4tx_4rx.map" TEMP_DIR="/dev/shm" diff --git a/shell/asl/tsq1a.config b/shell/asl/tsq1a.config index 24ae1ec..53855af 100644 --- a/shell/asl/tsq1a.config +++ b/shell/asl/tsq1a.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" if [ $NUM_CORE == 2 ]; then IRQ_AFFINITY_FILE="irq_affinity_2c_4tx_4rx.map" diff --git a/shell/asl/tsq1b.config b/shell/asl/tsq1b.config index f30ac8d..e93a8f1 100644 --- a/shell/asl/tsq1b.config +++ b/shell/asl/tsq1b.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" if [ $NUM_CORE == 2 ]; then IRQ_AFFINITY_FILE="irq_affinity_2c_4tx_4rx.map" diff --git a/shell/asl/vs1a.config b/shell/asl/vs1a.config index 832bc27..d6fe448 100644 --- a/shell/asl/vs1a.config +++ b/shell/asl/vs1a.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" if [ $NUM_CORE == 2 ]; then IRQ_AFFINITY_FILE="irq_affinity_2c_4tx_4rx.map" diff --git a/shell/asl/vs1b.config b/shell/asl/vs1b.config index e44267d..1e4dbe9 100644 --- a/shell/asl/vs1b.config +++ b/shell/asl/vs1b.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" if [ $NUM_CORE == 2 ]; then IRQ_AFFINITY_FILE="irq_affinity_2c_4tx_4rx.map" diff --git a/shell/ehl/tsq1a.config b/shell/ehl/tsq1a.config index 5317eb0..f063bdb 100644 --- a/shell/ehl/tsq1a.config +++ b/shell/ehl/tsq1a.config @@ -17,7 +17,7 @@ RX_Q_COUNT=8 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" IRQ_AFFINITY_FILE="irq_affinity_4c_8tx_8rx.map" diff --git a/shell/ehl/tsq1b.config b/shell/ehl/tsq1b.config index 6722217..6e4e721 100644 --- a/shell/ehl/tsq1b.config +++ b/shell/ehl/tsq1b.config @@ -17,7 +17,7 @@ RX_Q_COUNT=8 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" IRQ_AFFINITY_FILE="irq_affinity_4c_8tx_8rx.map" diff --git a/shell/ehl/vs1a.config b/shell/ehl/vs1a.config index 17b408e..c1d951d 100644 --- a/shell/ehl/vs1a.config +++ b/shell/ehl/vs1a.config @@ -17,7 +17,7 @@ RX_Q_COUNT=8 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" IRQ_AFFINITY_FILE="irq_affinity_4c_8tx_8rx.map" TEMP_DIR="/tmp" diff --git a/shell/ehl/vs1b.config b/shell/ehl/vs1b.config index e108a56..7431abc 100644 --- a/shell/ehl/vs1b.config +++ b/shell/ehl/vs1b.config @@ -17,7 +17,7 @@ RX_Q_COUNT=8 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" IRQ_AFFINITY_FILE="irq_affinity_4c_8tx_8rx.map" TEMP_DIR="/tmp" diff --git a/shell/i225/tsq1a.config b/shell/i225/tsq1a.config index 2421cc6..eb25814 100644 --- a/shell/i225/tsq1a.config +++ b/shell/i225/tsq1a.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="NO" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" if [ $NUM_CORE == 2 ]; then # ADLN SKU5 - has only 2 cores diff --git a/shell/i225/tsq1b.config b/shell/i225/tsq1b.config index 04326a7..6966923 100644 --- a/shell/i225/tsq1b.config +++ b/shell/i225/tsq1b.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="NO" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" if [ $NUM_CORE == 2 ]; then # ADLN SKU5 - has only 2 cores diff --git a/shell/i225/vs1a.config b/shell/i225/vs1a.config index 4c143a7..2e7b35f 100644 --- a/shell/i225/vs1a.config +++ b/shell/i225/vs1a.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="NO" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" if [ $NUM_CORE == 2 ]; then # ADLN SKU5 - has only 2 cores diff --git a/shell/i225/vs1b.config b/shell/i225/vs1b.config index 42143fc..f6ad6b4 100644 --- a/shell/i225/vs1b.config +++ b/shell/i225/vs1b.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="NO" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" if [ $NUM_CORE == 2 ]; then # ADLN SKU5 - has only 2 cores diff --git a/shell/rplp/tsq1a.config b/shell/rplp/tsq1a.config index b52e3e6..0c11e55 100644 --- a/shell/rplp/tsq1a.config +++ b/shell/rplp/tsq1a.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" IRQ_AFFINITY_FILE="irq_affinity_4c_4tx_4rx.map" diff --git a/shell/rplp/tsq1b.config b/shell/rplp/tsq1b.config index 086f847..76fa7e2 100644 --- a/shell/rplp/tsq1b.config +++ b/shell/rplp/tsq1b.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" IRQ_AFFINITY_FILE="irq_affinity_4c_4tx_4rx.map" diff --git a/shell/rplp/vs1a.config b/shell/rplp/vs1a.config index d3f8e8a..36004fd 100644 --- a/shell/rplp/vs1a.config +++ b/shell/rplp/vs1a.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" IRQ_AFFINITY_FILE="irq_affinity_4c_4tx_4rx.map" TEMP_DIR="/dev/shm" diff --git a/shell/rplp/vs1b.config b/shell/rplp/vs1b.config index b972016..b8a3142 100644 --- a/shell/rplp/vs1b.config +++ b/shell/rplp/vs1b.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" IRQ_AFFINITY_FILE="irq_affinity_4c_4tx_4rx.map" TEMP_DIR="/dev/shm" diff --git a/shell/rpls/tsq1a.config b/shell/rpls/tsq1a.config index b06350e..3bb5293 100644 --- a/shell/rpls/tsq1a.config +++ b/shell/rpls/tsq1a.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" IRQ_AFFINITY_FILE="irq_affinity_4c_4tx_4rx.map" diff --git a/shell/rpls/tsq1b.config b/shell/rpls/tsq1b.config index fdb6f11..e020f59 100644 --- a/shell/rpls/tsq1b.config +++ b/shell/rpls/tsq1b.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" IRQ_AFFINITY_FILE="irq_affinity_4c_4tx_4rx.map" diff --git a/shell/rpls/vs1a.config b/shell/rpls/vs1a.config index 4a970ca..e2429a1 100644 --- a/shell/rpls/vs1a.config +++ b/shell/rpls/vs1a.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" IRQ_AFFINITY_FILE="irq_affinity_4c_4tx_4rx.map" TEMP_DIR="/dev/shm" diff --git a/shell/rpls/vs1b.config b/shell/rpls/vs1b.config index c71390c..b4051c3 100644 --- a/shell/rpls/vs1b.config +++ b/shell/rpls/vs1b.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" IRQ_AFFINITY_FILE="irq_affinity_4c_4tx_4rx.map" TEMP_DIR="/dev/shm" diff --git a/shell/tglh/tsq1a.config b/shell/tglh/tsq1a.config index b06350e..3bb5293 100644 --- a/shell/tglh/tsq1a.config +++ b/shell/tglh/tsq1a.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" IRQ_AFFINITY_FILE="irq_affinity_4c_4tx_4rx.map" diff --git a/shell/tglh/tsq1b.config b/shell/tglh/tsq1b.config index fdb6f11..e020f59 100644 --- a/shell/tglh/tsq1b.config +++ b/shell/tglh/tsq1b.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" IRQ_AFFINITY_FILE="irq_affinity_4c_4tx_4rx.map" diff --git a/shell/tglh/vs1a.config b/shell/tglh/vs1a.config index bff3d52..0394670 100644 --- a/shell/tglh/vs1a.config +++ b/shell/tglh/vs1a.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" IRQ_AFFINITY_FILE="irq_affinity_4c_4tx_4rx.map" TEMP_DIR="/tmp" diff --git a/shell/tglh/vs1b.config b/shell/tglh/vs1b.config index d5f5039..34ffb72 100644 --- a/shell/tglh/vs1b.config +++ b/shell/tglh/vs1b.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" IRQ_AFFINITY_FILE="irq_affinity_4c_4tx_4rx.map" TEMP_DIR="/tmp" diff --git a/shell/tglu/tsq1a.config b/shell/tglu/tsq1a.config index b06350e..3bb5293 100644 --- a/shell/tglu/tsq1a.config +++ b/shell/tglu/tsq1a.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" IRQ_AFFINITY_FILE="irq_affinity_4c_4tx_4rx.map" diff --git a/shell/tglu/tsq1b.config b/shell/tglu/tsq1b.config index fdb6f11..e020f59 100644 --- a/shell/tglu/tsq1b.config +++ b/shell/tglu/tsq1b.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" IRQ_AFFINITY_FILE="irq_affinity_4c_4tx_4rx.map" diff --git a/shell/tglu/vs1a.config b/shell/tglu/vs1a.config index 3607c24..7f2f63c 100644 --- a/shell/tglu/vs1a.config +++ b/shell/tglu/vs1a.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" IRQ_AFFINITY_FILE="irq_affinity_4c_4tx_4rx.map" TEMP_DIR="/tmp" diff --git a/shell/tglu/vs1b.config b/shell/tglu/vs1b.config index d5f5039..34ffb72 100644 --- a/shell/tglu/vs1b.config +++ b/shell/tglu/vs1b.config @@ -17,7 +17,7 @@ RX_Q_COUNT=4 VLAN_PRIORITY_SUPPORT="YES" VLAN_STRIP_SUPPORT="YES" -EEE_TURNOFF="NO" +EEE_TURNOFF="YES" IRQ_AFFINITY_FILE="irq_affinity_4c_4tx_4rx.map" TEMP_DIR="/tmp"