Home
last modified time | relevance | path

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

12345678910>>...14

/linux/drivers/net/netdevsim/
A Dethtool.c52 memcpy(coal, &ns->ethtool.coalesce, sizeof(ns->ethtool.coalesce)); in nsim_get_coalesce()
63 memcpy(&ns->ethtool.coalesce, coal, sizeof(ns->ethtool.coalesce)); in nsim_set_coalesce()
72 memcpy(ring, &ns->ethtool.ring, sizeof(ns->ethtool.ring)); in nsim_get_ringparam()
116 if (ns->ethtool.get_err) in nsim_get_fecparam()
117 return -ns->ethtool.get_err; in nsim_get_fecparam()
118 memcpy(fecparam, &ns->ethtool.fec, sizeof(ns->ethtool.fec)); in nsim_get_fecparam()
128 if (ns->ethtool.set_err) in nsim_set_fecparam()
129 return -ns->ethtool.set_err; in nsim_set_fecparam()
130 memcpy(&ns->ethtool.fec, fecparam, sizeof(ns->ethtool.fec)); in nsim_set_fecparam()
177 debugfs_create_u32("get_err", 0600, ethtool, &ns->ethtool.get_err); in nsim_ethtool_init()
[all …]
/linux/net/ethtool/
A D.built-in.a.cmd1ethtool/built-in.a := echo >/dev/null; rm -f net/ethtool/built-in.a; /usr/bin/ccache /home/test/wo…
/linux/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 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
65 ethtool -L $NDEV combined 1
A Dethtool-fec.sh4 source ethtool-common.sh
7 [ a$ETHTOOL == a ] && ETHTOOL=ethtool
90 echo 11 > $NSIM_DEV_DFS/ethtool/get_err
95 echo 0 > $NSIM_DEV_DFS/ethtool/get_err
96 echo 11 > $NSIM_DEV_DFS/ethtool/set_err
A Dudp_tunnel_nic.sh163 ethtool --show-tunnels $NSIM_NETDEV
206 ethtool --show-tunnels $NSIM_NETDEV
255 ethtool -h | grep show-tunnels 2>&1 >/dev/null && HAS_ETHTOOL=y
701 ethtool -K $NSIM_NETDEV rx-udp_tunnel-port-offload off
706 ethtool -K $NSIM_NETDEV rx-udp_tunnel-port-offload on
715 ethtool -K $NSIM_NETDEV rx-udp_tunnel-port-offload off
723 ethtool -K $NSIM_NETDEV rx-udp_tunnel-port-offload on
847 ethtool -K $NSIM_NETDEV rx-udp_tunnel-port-offload off
853 ethtool -K $NSIM_NETDEV2 rx-udp_tunnel-port-offload off
859 ethtool -K $NSIM_NETDEV rx-udp_tunnel-port-offload on
[all …]
/linux/tools/testing/selftests/net/
A Dveth.sh173 ip netns exec $NS_SRC ethtool -L veth$SRC rx 3 tx 3
174 ip netns exec $NS_DST ethtool -L veth$DST rx 3 tx 3
238 ip netns exec $NS_DST ethtool -K veth$DST gro on
252 ip netns exec $NS_DST ethtool -K veth$DST gro on
268 ip netns exec $NS_DST ethtool -L veth$DST tx 2
296 ip netns exec $NS_SRC ethtool -L veth$SRC rx 2
297 ip netns exec $NS_DST ethtool -L veth$DST rx 2
328 ip netns exec $NS_DST ethtool -K veth$DST gro on
336 ip netns exec $NS_DST ethtool -L veth$DST tx 1
349 ip netns exec $NS_DST ethtool -L veth$DST tx 2
[all …]
A Dudpgro_fwd.sh207 ip netns exec $NS_DST ethtool -K veth$DST rx-gro-list on
217 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on
225 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on
230 ip netns exec $NS_DST ethtool -K veth$DST rx-gro-list on
237 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on
249 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on
/linux/net/
A Dbuilt-in.a56 ethtool/ioctl.o/
57 ethtool/common.o/
59 ethtool/bitset.o/
60 ethtool/strset.o/
64 ethtool/debug.o/
65 ethtool/wol.o/
68 ethtool/rings.o/
71 ethtool/pause.o/
72 ethtool/eee.o/
76 ethtool/fec.o/
[all …]
/linux/tools/testing/selftests/net/forwarding/
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
119 ethtool -s $h1 autoneg on
215 ethtool -s $h2 autoneg on
216 ethtool -s $h1 autoneg on
256 ethtool -s $h2 autoneg on
257 ethtool -s $h1 autoneg on
285 ethtool -s $h2 autoneg on
[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" | \
/linux/Documentation/networking/device_drivers/ethernet/aquantia/
A Datlantic.rst14 - Supported ethtool options
57 ethtool section in Configuration
67 Supported ethtool options
75 ethtool <ethX>
121 ethtool -i <ethX>
142 ethtool -S <ethX>
195 ethtool -c <ethX>
210 ethtool -s <ethX> wol g
214 ethtool -s <ethX> wol d
254 ethtool -s <ethX> msglvl 0
[all …]
/linux/tools/testing/selftests/drivers/net/mlxsw/
A Dethtool_lanes.sh24 busywait "$TIMEOUT" wait_for_port_up ethtool $swp2
27 local lanes_exist=$(ethtool $swp1 | grep 'Lanes:')
44 chosen_lanes=$(ethtool $dev | grep 'Lanes:')
65 ethtool -s $swp1 speed $max_speed lanes $unsupported_lanes $autoneg_str &> /dev/null
125 busywait "$TIMEOUT" wait_for_port_up ethtool $swp2
163 busywait "$TIMEOUT" wait_for_port_up ethtool $swp2
178 ethtool -s $swp2 autoneg on
179 ethtool -s $swp1 autoneg on
A Dsch_ets.sh23 ethtool -s $h2 speed 1000 autoneg off
24 ethtool -s $swp2 speed 1000 autoneg off
58 ethtool -s $swp2 autoneg on
59 ethtool -s $h2 autoneg on
/linux/Documentation/networking/
A Dstatistics.rst17 - driver-defined statistics available via ethtool.
50 ethtool subsection
66 Standard ethtool statistics can be accessed via the interfaces used
67 for configuration. For example ethtool interface used
70 $ ethtool --include-statistics -a eth0
80 functionality are exposed via ``ethtool -S $ifc`` by specifying
83 $ ethtool -S eth0 --groups eth-phy eth-mac eth-ctrl rmon
103 Driver-defined ethtool statistics can be dumped using `ethtool -S $ifc`, e.g.::
105 $ ethtool -S ens4u1u1
150 ethtool section in uAPIs
[all …]
/linux/Documentation/networking/device_drivers/ethernet/intel/
A Dice.rst108 ethtool section in Additional Features and Configurations
253 # ethtool -u <ethX>
275 # ethtool -U <ethX> delete <N>
429 # ethtool -K <ethX> ntuple on
459 To disable aRFS using ethtool::
461 # ethtool -K <ethX> ntuple off
694 ethtool utility. For the latest version, download and install ethtool from the
701 # ethtool <ethX>
885 # ethtool -k <ethX>
925 # ethtool -G <ethX> rx <N>
[all …]
A Digbvf.rst27 Driver information can be obtained using ethtool, lspci, and ifconfig.
28 Instructions on updating ethtool can be found in the section Additional
44 ethtool section in Additional Features and Configurations
46 The driver utilizes the ethtool interface for driver configuration and
47 diagnostics, as well as displaying statistical information. The latest ethtool
50 https://www.kernel.org/pub/software/network/ethtool/
A De100.rst60 ethtool -G eth? rx n
72 ethtool -G eth? tx n
80 ethtool -s eth? autoneg off speed {10|100} duplex {full|half}
90 ethtool -s eth? msglvl n
131 ethtool section in Additional Configurations
134 The driver utilizes the ethtool interface for driver configuration and
135 diagnostics, as well as displaying statistical information. The ethtool
138 The latest release of ethtool can be found from
139 https://www.kernel.org/pub/software/network/ethtool/
143 WoL is provided through the ethtool utility. For instructions on
[all …]
A Di40e.rst147 # ethtool -K ethX ntuple <on|off>
165 # ethtool <-u|-n> ethX
203 ethtool -u <device>
207 ethtool -U <device> delete <N>
299 ethtool --show-priv-flags ethX
340 ethtool section in Identifying Your Adapter
387 ethtool utility.
628 queue using ethtool.
639 per queue using ethtool.
650 ethtool.
[all …]
A Dixgbe.rst295 ethtool -A eth? rx <on|off> tx <on|off>
303 ethtool -s eth? autoneg <on|off>
334 # ethtool -K ethX ntuple <on|off>
342 # ethtool -N ethX flow-type tcp4 src-ip 192.168.10.1 dst-ip \
347 # ethtool <-u|-n> ethX
367 ethtool -U <device> delete <N>
450 ethtool -s eth? advertise 0x1800000001028
457 pre-up ethtool -s eth? advertise 0x1800000001028 || true
490 ethtool section in Additional Features and Configurations
495 https://www.kernel.org/pub/software/network/ethtool/
[all …]
/linux/Documentation/networking/device_drivers/ethernet/microsoft/
A Dnetvsc.rst29 For TCP & UDP, we can switch hash level between L3 and L4 by ethtool
41 ethtool -N eth0 rx-flow-hash udp4 sdfn
45 ethtool -N eth0 rx-flow-hash udp4 sd
49 ethtool -n eth0 rx-flow-hash udp4
62 later. It may be changed by ethtool command::
64 ethtool -K eth0 lro on
65 ethtool -K eth0 lro off
88 via ethtool Rx ring parameters.
118 ethtool -K eth0 lro off
/linux/tools/testing/selftests/bpf/
A Dtest_xdp_vlan.sh139 which ethtool > /dev/null
165 ip netns exec ns1 ethtool -K veth1 rxvlan off
166 ip netns exec ns2 ethtool -K veth2 rxvlan off
169 ip netns exec ns2 ethtool -K veth2 txvlan off
170 ip netns exec ns1 ethtool -K veth1 txvlan off
/linux/Documentation/networking/device_drivers/ethernet/freescale/
A Dgianfar.rst19 packets. Use ethtool to enable or disable this feature for RX
49 The gianfar driver supports the use of ethtool for many
50 configuration options. You must run ethtool only on currently
51 open interfaces. See ethtool documentation for details.

Completed in 43 milliseconds

12345678910>>...14