Lines Matching +full:rx +full:- +full:eq
2 # SPDX-License-Identifier: GPL-2.0-only
4 source ethtool-common.sh
9 echo $(ethtool -g $NSIM_NETDEV | \
10 tail -n +$CURR_SETT_LINE | \
11 awk -F':' -v pattern="$query:" '$0 ~ pattern {gsub(/[\t ]/, "", $2); print $2}')
21 if ! ethtool -h | grep -q set-ring >/dev/null; then
22 echo "SKIP: No --set-ring support in ethtool"
28 set -o pipefail
30 declare -A SETTINGS_MAP=(
31 ["rx"]="RX"
32 ["rx-mini"]="RX Mini"
33 ["rx-jumbo"]="RX Jumbo"
37 declare -A EXPECTED_SETTINGS=(
38 ["rx"]=""
39 ["rx-mini"]=""
40 ["rx-jumbo"]=""
44 declare -A CURRENT_SETTINGS=(
45 ["rx"]=""
46 ["rx-mini"]=""
47 ["rx-jumbo"]=""
51 MAX_VALUE=$((RANDOM % $((2**32-1))))
58 CURR_SETT_LINE=$(ethtool -g $NSIM_NETDEV | grep -i -m1 -n 'Current hardware settings' | cut -f1 -d:)
69 ethtool -G $NSIM_NETDEV "$key" "$value"
79 if [ $num_errors -eq 0 ]; then