Home
last modified time | relevance | path

Searched refs:ethtool (Results 1 – 25 of 58) sorted by relevance

123

/tools/testing/selftests/drivers/net/hw/
A Diou-zcrx.py12 output = ethtool(f"-g {cfg.ifname}", json=True)[0]
17 output = ethtool(f"-l {cfg.ifname}").stdout
53 ethtool(f"-G {cfg.ifname} hds-thresh 0")
56 ethtool(f"-G {cfg.ifname} rx 64")
60 defer(ethtool, f"-X {cfg.ifname} default")
84 ethtool(f"-G {cfg.ifname} hds-thresh 0")
87 ethtool(f"-G {cfg.ifname} rx 64")
91 defer(ethtool, f"-X {cfg.ifname} default")
115 ethtool(f"-G {cfg.ifname} hds-thresh 0")
118 ethtool(f"-G {cfg.ifname} rx 64")
[all …]
A Drss_ctx.py160 ethtool(f"-X {cfg.ifname} equal 2")
200 ethtool(f"-L {cfg.ifname} combined 4")
243 ethtool(f"-L {cfg.ifname} combined 5")
308 ethtool(f"-L {cfg.ifname} combined 2")
311 ethtool(f"-X {cfg.ifname} weight 1 7")
452 ethtool(f"-X {cfg.ifname} equal 2")
564 ethtool(f"-X {cfg.ifname} equal 2")
611 ethtool(f"-X {cfg.ifname} equal 4")
729 ethtool(f"-X {cfg.ifname} equal 1")
772 ethtool(f"-X {cfg.ifname} equal 2")
[all …]
A Dethtool_mm.sh58 ethtool --set-mm $rx tx-enabled on
59 ethtool --set-mm $tx verify-enabled on tx-enabled on
74 ethtool --set-mm $tx verify-enabled off tx-enabled off
75 ethtool --set-mm $rx tx-enabled off
97 ethtool --set-mm $tx verify-enabled off tx-enabled on
109 ethtool --set-mm $tx verify-enabled off tx-enabled off
131 ethtool --set-mm $rx pmac-enabled off
132 ethtool --set-mm $tx verify-enabled on tx-enabled on
147 ethtool --set-mm $tx verify-enabled off tx-enabled off
148 ethtool --set-mm $rx pmac-enabled on
[all …]
A Dethtool.sh72 ethtool -s $h2 autoneg on
73 ethtool -s $h1 autoneg on
96 ethtool -s $h2 autoneg on
97 ethtool -s $h1 autoneg on
118 ethtool -s $h1 autoneg on
213 ethtool -s $h2 autoneg on
214 ethtool -s $h1 autoneg on
254 ethtool -s $h2 autoneg on
255 ethtool -s $h1 autoneg on
283 ethtool -s $h2 autoneg on
[all …]
A Dxsk_reconfig.py18 from lib.py import bkg, ip, cmd, ethtool
22 output = ethtool(f"-g {cfg.ifname}", json=True)
50 ethtool(f"-G %s rx %d" % (cfg.ifname, rx_ring // 2))
51 ethtool(f"-G %s rx %d" % (cfg.ifname, rx_ring))
A Drss_api.py13 from lib.py import defer, ethtool, CmdExitFailure
26 output = ethtool(f"{act} {cfg.ifname} {opts}").stdout
105 ethtool(f"-L {cfg.ifname} combined 0 rx 1")
107 ethtool(f"-L {cfg.ifname} combined 1 rx 0")
126 defer(ethtool, f"-X {cfg.ifname} context {ctx_id} delete")
148 ethtool(f"-L {cfg.ifname} combined 0 rx 1")
150 ethtool(f"-L {cfg.ifname} combined 1 rx 0")
163 ethtool(f"--disable-netlink -X {cfg.ifname} weight 0 1")
164 reset = defer(ethtool, f"-X {cfg.ifname} default")
189 defer(ethtool, f"-X {cfg.ifname} context {ctx_id} delete")
[all …]
A Dtso.py15 from lib.py import bkg, cmd, defer, ethtool, ip, rand_port, wait_port_listen
128 ethtool(f"-K {cfg.ifname} {features_cmd}")
155 ethtool(f"-K {cfg.ifname} {feature} off")
158 ethtool(f"-K {cfg.ifname} tx-gso-partial off")
159 ethtool(f"-K {cfg.ifname} tx-tcp-mangleid-segmentation off")
161 ethtool(f"-K {cfg.ifname} tx-gso-partial on")
164 ethtool(f"-K {cfg.ifname} tx-tcp-mangleid-segmentation on")
167 ethtool(f"-K {cfg.ifname} {feature} on")
193 ethtool(f"-K {cfg.ifname} {hw_all_features_cmd}")
201 ethtool(f"-K {cfg.ifname} tx-gso-partial off")
[all …]
A Dethtool_lib.sh14 awk "${cmd}" /usr/include/linux/ethtool.h
20 local out=$(ethtool -s $cmd 2>&1 | wc -l)
72 speeds_str=$(ethtool "$dev" | \
A Dloopback.sh47 ethtool -K $h1 loopback on
57 ethtool -K $h1 loopback off
80 if ethtool -k $h1 | grep loopback | grep -q fixed; then
A Dethtool_extended_state.sh30 local ext_state=$(ethtool $dev | grep "Link detected" \
89 ethtool -s $swp2 autoneg on
90 ethtool -s $swp1 autoneg on
/tools/testing/selftests/drivers/net/netdevsim/
A Dethtool-pause.sh4 source ethtool-common.sh
7 if ! ethtool -h | grep include-stat 2>&1 >/dev/null; then
16 echo n > $NSIM_DEV_DFS/ethtool/pause/report_stats_tx
17 echo n > $NSIM_DEV_DFS/ethtool/pause/report_stats_rx
19 s=$(ethtool --json -a $NSIM_NETDEV | jq '.[].statistics')
22 s=$(ethtool -I --json -a $NSIM_NETDEV | jq '.[].statistics')
25 echo y > $NSIM_DEV_DFS/ethtool/pause/report_stats_tx
27 s=$(ethtool -I --json -a $NSIM_NETDEV | jq '.[].statistics | length')
30 s=$(ethtool -I --json -a $NSIM_NETDEV | jq '.[].statistics.tx_pause_frames')
33 echo y > $NSIM_DEV_DFS/ethtool/pause/report_stats_rx
[all …]
A Dethtool-coalesce.sh4 source ethtool-common.sh
9 echo $(ethtool -c $NSIM_NETDEV | \
20 if ! ethtool -h | grep -q coalesce; then
107 ethtool -C $NSIM_NETDEV "$key" "$value"
118 ethtool -C $NSIM_NETDEV adaptive-rx on
119 s=$(ethtool -c $NSIM_NETDEV | grep -q "Adaptive RX: on TX: off")
122 ethtool -C $NSIM_NETDEV adaptive-tx on
123 s=$(ethtool -c $NSIM_NETDEV | grep -q "Adaptive RX: on TX: on")
A Dethtool-ring.sh4 source ethtool-common.sh
9 echo $(ethtool -g $NSIM_NETDEV | \
21 if ! ethtool -h | grep -q set-ring >/dev/null; then
52 RING_MAX_LIST=$(ls $NSIM_DEV_DFS/ethtool/ring/)
55 echo $MAX_VALUE > $NSIM_DEV_DFS/ethtool/ring/$ring_max_entry
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"
A DMakefile6 ethtool-coalesce.sh \
7 ethtool-features.sh \
8 ethtool-fec.sh \
9 ethtool-pause.sh \
10 ethtool-ring.sh \
A Dtc-mq-visibility.sh4 source ethtool-common.sh
40 ethtool -L $NDEV combined $n
47 ethtool -L $NDEV combined $n
55 ethtool -L $NDEV combined 1
58 ethtool -L $NDEV combined 4
68 ethtool -L $NDEV combined 1
A Dethtool-features.sh4 source ethtool-common.sh
18 s=$(ethtool --json -k $NSIM_NETDEV | jq ".[].\"$feat\".active" 2>/dev/null)
21 s=$(ethtool --json -k $NSIM_NETDEV | jq ".[].\"$feat\".fixed" 2>/dev/null)
A Dethtool-fec.sh4 source ethtool-common.sh
7 [ a$ETHTOOL == a ] && ETHTOOL=ethtool
94 echo 11 > $NSIM_DEV_DFS/ethtool/get_err
99 echo 0 > $NSIM_DEV_DFS/ethtool/get_err
100 echo 11 > $NSIM_DEV_DFS/ethtool/set_err
/tools/testing/selftests/net/
A Dveth.sh172 ip netns exec $NS_SRC ethtool -L veth$SRC rx 3 tx 3
173 ip netns exec $NS_DST ethtool -L veth$DST rx 3 tx 3
237 ip netns exec $NS_DST ethtool -K veth$DST gro on
280 ip netns exec $NS_DST ethtool -K veth$DST gro on
296 ip netns exec $NS_DST ethtool -L veth$DST tx 2
324 ip netns exec $NS_SRC ethtool -L veth$SRC rx 2
325 ip netns exec $NS_DST ethtool -L veth$DST rx 2
359 ip netns exec $NS_DST ethtool -K veth$DST gro on
367 ip netns exec $NS_DST ethtool -L veth$DST tx 1
380 ip netns exec $NS_DST ethtool -L veth$DST tx 2
[all …]
A Dudpgso.sh39 ethtool -K sink tx-checksum-ip-generic on >/dev/null
40 ethtool -K sink tx-udp-segmentation on >/dev/null
45 ethtool -K sink tx-checksum-ip-generic on >/dev/null
46 ethtool -K sink tx-udp-segmentation off >/dev/null
51 ethtool -K sink tx-checksum-ip-generic off >/dev/null
52 ethtool -K sink tx-udp-segmentation off >/dev/null
A Dvlan_hw_filter.sh44 ip netns exec ${NETNS} ethtool -K bond0 rx-vlan-filter off
57 ip netns exec ${NETNS} ethtool -K bond0 rx-vlan-filter off
59 ip netns exec ${NETNS} ethtool -K bond0 rx-vlan-filter on
70 ip netns exec ${NETNS} ethtool -K bond0 rx-vlan-filter off
72 ip netns exec ${NETNS} ethtool -K bond0 rx-vlan-filter on
86 ip netns exec ${NETNS} ethtool -K bond0 rx-vlan-filter off
88 ip netns exec ${NETNS} ethtool -K bond0 rx-vlan-filter on
97 ip netns exec ${NETNS} ethtool -K bond0 rx-vlan-filter off
A Dnetdevice.sh112 ethtool --version 2>/dev/null >/dev/null
124 ethtool -k "$netdev" > "$TMP_ETHTOOL_FEATURES"
137 ethtool --offload "$netdev" "$feature" off
145 ethtool --offload "$netdev" "$feature" on
154 ethtool --offload "$netdev" "$feature" "$VALUE"
A Dudpgro_fwd.sh220 ip netns exec $NS_DST ethtool -K veth$DST generic-receive-offload on
221 ip netns exec $NS_DST ethtool -K veth$DST rx-gro-list on
231 ip netns exec $NS_DST ethtool -K veth$DST generic-receive-offload on
232 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on
240 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on
245 ip netns exec $NS_DST ethtool -K veth$DST generic-receive-offload on
246 ip netns exec $NS_DST ethtool -K veth$DST rx-gro-list on
253 ip netns exec $NS_DST ethtool -K veth$DST generic-receive-offload on
254 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on
/tools/testing/selftests/drivers/net/mlxsw/
A Dethtool_lanes.sh25 busywait "$TIMEOUT" wait_for_port_up ethtool $swp2
45 chosen_lanes=$(ethtool $dev | grep 'Lanes:')
66 ethtool -s $swp1 speed $max_speed lanes $unsupported_lanes $autoneg_str &> /dev/null
181 ethtool -s $swp2 autoneg on
182 ethtool -s $swp1 autoneg on
/tools/testing/selftests/bpf/
A Dtest_xdp_features.sh26 ethtool -K v1 gro on
27 ethtool -K v1 tx-checksumming off
28 ip netns exec ${NS} ethtool -K v0 gro on
29 ip netns exec ${NS} ethtool -K v0 tx-checksumming off
/tools/net/ynl/
A Dpyproject.toml24 ynl-ethtool = "pyynl.ethtool:main"

Completed in 27 milliseconds

123