Skip to content

Commit

Permalink
json/shell: Enable feature that disable EEE before test execution
Browse files Browse the repository at this point in the history
Kernel 6.12 has implemented fix for Energy Efficient Ethernet which
this fix enable EEE by default for all interfaces. Executing tsnrefsw
testcases with EEE enabled will affect the performance.

This commit update all config file in shell directory and shell script in
json directory to enable the feature that ensure EEE is disabled before
executing tsnrefsw testcases.

Signed-off-by: KhaiWenTan <[email protected]>
  • Loading branch information
KhaiWenTan authored and HongAun-Intel committed Jan 14, 2025
1 parent 6704440 commit 64576ca
Show file tree
Hide file tree
Showing 37 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion json/helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion shell/adln/tsq1a.config
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion shell/adln/tsq1b.config
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion shell/adln/vs1a.config
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion shell/adln/vs1b.config
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion shell/adls/tsq1a.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion shell/adls/tsq1b.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion shell/adls/vs1a.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion shell/adls/vs1b.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion shell/asl/tsq1a.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion shell/asl/tsq1b.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion shell/asl/vs1a.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion shell/asl/vs1b.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion shell/ehl/tsq1a.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion shell/ehl/tsq1b.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion shell/ehl/vs1a.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion shell/ehl/vs1b.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion shell/i225/tsq1a.config
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion shell/i225/tsq1b.config
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion shell/i225/vs1a.config
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion shell/i225/vs1b.config
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion shell/rplp/tsq1a.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion shell/rplp/tsq1b.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion shell/rplp/vs1a.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion shell/rplp/vs1b.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion shell/rpls/tsq1a.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion shell/rpls/tsq1b.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion shell/rpls/vs1a.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion shell/rpls/vs1b.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion shell/tglh/tsq1a.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion shell/tglh/tsq1b.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion shell/tglh/vs1a.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion shell/tglh/vs1b.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion shell/tglu/tsq1a.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion shell/tglu/tsq1b.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion shell/tglu/vs1a.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion shell/tglu/vs1b.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 64576ca

Please sign in to comment.