Home
last modified time | relevance | path

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

12345

/Linux-v5.10/drivers/net/netdevsim/
Dethtool.c16 if (ns->ethtool.report_stats_rx) in nsim_get_pause_stats()
18 if (ns->ethtool.report_stats_tx) in nsim_get_pause_stats()
28 pause->rx_pause = ns->ethtool.rx; in nsim_get_pauseparam()
29 pause->tx_pause = ns->ethtool.tx; in nsim_get_pauseparam()
40 ns->ethtool.rx = pause->rx_pause; in nsim_set_pauseparam()
41 ns->ethtool.tx = pause->tx_pause; in nsim_set_pauseparam()
53 struct dentry *ethtool, *dir; in nsim_ethtool_init() local
57 ethtool = debugfs_create_dir("ethtool", ns->nsim_dev_port->ddir); in nsim_ethtool_init()
59 dir = debugfs_create_dir("pause", ethtool); in nsim_ethtool_init()
61 &ns->ethtool.report_stats_rx); in nsim_ethtool_init()
[all …]
/Linux-v5.10/tools/testing/selftests/drivers/net/netdevsim/
Dethtool-pause.sh60 if ! ethtool -h | grep include-stat 2>&1 >/dev/null; then
75 echo n > $NSIM_DEV_DFS/ethtool/pause/report_stats_tx
76 echo n > $NSIM_DEV_DFS/ethtool/pause/report_stats_rx
78 s=$(ethtool --json -a $NSIM_NETDEV | jq '.[].statistics')
81 s=$(ethtool -I --json -a $NSIM_NETDEV | jq '.[].statistics')
84 echo y > $NSIM_DEV_DFS/ethtool/pause/report_stats_tx
86 s=$(ethtool -I --json -a $NSIM_NETDEV | jq '.[].statistics | length')
89 s=$(ethtool -I --json -a $NSIM_NETDEV | jq '.[].statistics.tx_pause_frames')
92 echo y > $NSIM_DEV_DFS/ethtool/pause/report_stats_rx
94 s=$(ethtool -I --json -a $NSIM_NETDEV | jq '.[].statistics | length')
[all …]
Dudp_tunnel_nic.sh159 ethtool --show-tunnels $NSIM_NETDEV | grep "$pp_expected" >/dev/null
163 ethtool --show-tunnels $NSIM_NETDEV
202 cnt=$(ethtool --show-tunnels $NSIM_NETDEV | grep -c "$pp_expected")
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
[all …]
/Linux-v5.10/tools/testing/selftests/net/forwarding/
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
248 chosen_speed=$(ethtool $h1 | grep 'Speed:')
256 ethtool -s $h2 autoneg on
257 ethtool -s $h1 autoneg on
[all …]
Dethtool_lib.sh14 awk "${cmd}" /usr/include/linux/ethtool.h
20 local out=$(ethtool -s $cmd 2>&1 | wc -l)
38 speeds_str=$(ethtool "$dev" | \
Dloopback.sh46 ethtool -K $h1 loopback on
56 ethtool -K $h1 loopback off
79 if ethtool -k $h1 | grep loopback | grep -q fixed; then
Dethtool_extended_state.sh27 local ext_state=$(ethtool $dev | grep "Link detected" \
77 ethtool -s $swp2 autoneg on
78 ethtool -s $swp1 autoneg on
/Linux-v5.10/Documentation/networking/device_drivers/ethernet/aquantia/
Datlantic.rst14 - Supported ethtool options
57 ethtool section in Configuration
59 The driver utilizes the ethtool interface for driver configuration and
61 ethtool version is required for this functionality.
67 Supported ethtool options
75 ethtool <ethX>
114 ethtool -s eth0 autoneg off speed 2500
121 ethtool -i <ethX>
142 ethtool -S <ethX>
195 ethtool -c <ethX>
[all …]
/Linux-v5.10/tools/testing/selftests/drivers/net/mlxsw/
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
Dsch_red_core.sh139 ethtool -s $h2 speed 1000 autoneg off
144 ethtool -s $h2 autoneg on
152 ethtool -s $h3 speed 1000 autoneg off
157 ethtool -s $h3 autoneg on
202 ethtool -s $intf speed 1000 autoneg off
230 ethtool -s $intf autoneg on
/Linux-v5.10/Documentation/networking/device_drivers/ethernet/intel/
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/
De100.rst60 ethtool -G eth? rx n
72 ethtool -G eth? tx n
78 default. The ethtool utility can be used as follows to force speed/duplex.::
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/
[all …]
Di40e.rst21 Driver information can be obtained using ethtool, lspci, and ifconfig.
22 Instructions on updating ethtool can be found in the section Additional
100 NOTE: By default, the ethtool priv-flag vf-true-promisc-support is set to
105 #ethtool -set-priv-flags p261p1 vf-true-promisc-support on
140 user-defined flexible two-byte pattern and offset by using the ethtool user-def
147 # ethtool -K ethX ntuple <on|off>
155 # ethtool -N ethX flow-type tcp4 src-ip 192.168.10.1 dst-ip \
160 # ethtool -N ethX flow-type tcp4 src-ip 192.168.10.1 dst-ip \
165 # ethtool <-u|-n> ethX
172 Director rule is added from ethtool (Sideband filter), ATR is turned off by the
[all …]
Dixgbe.rst45 to the same Speed setting via ethtool. Results may vary if you mix speed
282 Ethernet Flow Control (IEEE 802.3x) can be configured with ethtool to enable
292 Use ethtool to change the flow control settings. To enable or disable Rx or
295 ethtool -A eth? rx <on|off> tx <on|off>
303 ethtool -s eth? autoneg <on|off>
325 #ethtool -N eth11 flow-type ip4 src-ip 172.4.1.2 m 255.0.0.0 dst-ip \
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
352 characteristics. They are enabled through ethtool's ntuple interface. To add a
[all …]
/Linux-v5.10/Documentation/networking/device_drivers/ethernet/microsoft/
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.
114 ethtool -K eth0 lro off
/Linux-v5.10/Documentation/networking/
Dstatistics.rst17 - driver-defined statistics available via ethtool.
48 to report related statistics. For example ethtool interface used
51 $ ethtool --include-statistics -a eth0
63 Driver-defined ethtool statistics can be dumped using `ethtool -S $ifc`, e.g.::
65 $ ethtool -S ens4u1u1
110 ethtool section in uAPIs
123 ethtool-netlink
150 via `.ndo_get_stats64`. Reporting such standard stats via ethtool
164 Retrieving ethtool statistics is a multi-syscall process, drivers are advised
/Linux-v5.10/Documentation/networking/device_drivers/ethernet/freescale/
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.
Ddpaa.rst157 ethtool. Also, rx-flow-hash and rx-hashing was added. The addition of RSS
212 RSS can be turned off for a certain interface using ethtool, i.e.::
214 # ethtool -N fm1-mac9 rx-flow-hash tcp4 ""
218 # ethtool -N fm1-mac9 rx-flow-hash udp4 sfdn
227 on or off through ethtool, i.e.::
229 # ethtool -K fm1-mac9 rx-hashing off
230 # ethtool -k fm1-mac9 | grep hash
232 # ethtool -K fm1-mac9 rx-hashing on
235 # ethtool -k fm1-mac9 | grep hash
240 rx-hashing (without ethtool reporting it as off as that depends on the
[all …]
/Linux-v5.10/tools/testing/selftests/bpf/
Dtest_xdp_vlan.sh136 which ethtool > /dev/null
162 ip netns exec ns1 ethtool -K veth1 rxvlan off
163 ip netns exec ns2 ethtool -K veth2 rxvlan off
166 ip netns exec ns2 ethtool -K veth2 txvlan off
167 ip netns exec ns1 ethtool -K veth1 txvlan off
/Linux-v5.10/drivers/infiniband/ulp/ipoib/
Dipoib_ethtool.c79 coal->rx_coalesce_usecs = priv->ethtool.coalesce_usecs; in ipoib_get_coalesce()
80 coal->rx_max_coalesced_frames = priv->ethtool.max_coalesced_frames; in ipoib_get_coalesce()
107 priv->ethtool.coalesce_usecs = coal->rx_coalesce_usecs; in ipoib_set_coalesce()
108 priv->ethtool.max_coalesced_frames = coal->rx_max_coalesced_frames; in ipoib_set_coalesce()
/Linux-v5.10/Documentation/networking/device_drivers/ethernet/chelsio/
Dcxgb.rst43 The interface used to control this feature is ethtool. Please see the
44 ethtool manpage for additional usage information.
49 ethtool -C <interface> adaptive-rx on
51 To disable adaptive-rx, use ethtool::
53 ethtool -C <interface> adaptive-rx off
58 ethtool -C <interface> rx-usecs <microseconds>
62 ethtool -C eth0 rx-usecs 100
66 ethtool -C <interface> adaptive-rx off rx-usecs <microseconds>
74 ethtool -c <interface>
84 The interface used to control this feature is ethtool version 1.8 or higher.
[all …]
/Linux-v5.10/Documentation/networking/device_drivers/ethernet/neterion/
Ds2io.rst50 To associate an interface with a physical adapter use "ethtool -p <ethX>".
71 using "ethtool -S" option.
157 b. Ensure Transmit Checksum offload is enabled. Use ethtool to set/verify this
160 c. Turn on TSO(using "ethtool -K")::
162 # ethtool -K <ethX> tso on
176 c. Ensure Receive Checksum offload is enabled. Use "ethtool -K ethX" command to
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c76 eth_ft = &priv->fs.ethtool.l3_l4_ft[prio]; in get_flow_table()
82 eth_ft = &priv->fs.ethtool.l3_l4_ft[prio]; in get_flow_table()
87 eth_ft = &priv->fs.ethtool.l2_ft[prio]; in get_flow_table()
378 struct list_head *head = &priv->fs.ethtool.rules; in add_rule_to_list()
380 list_for_each_entry(iter, &priv->fs.ethtool.rules, list) { in add_rule_to_list()
385 priv->fs.ethtool.tot_num_rules++; in add_rule_to_list()
462 priv->fs.ethtool.tot_num_rules--; in del_ethtool_rule()
472 list_for_each_entry(iter, &priv->fs.ethtool.rules, list) { in find_ethtool_rule()
746 list_for_each_entry(eth_rule, &priv->fs.ethtool.rules, list) { in mlx5e_ethtool_get_flow()
779 list_for_each_entry_safe(iter, temp, &priv->fs.ethtool.rules, list) in mlx5e_ethtool_cleanup_steering()
[all …]
/Linux-v5.10/Documentation/networking/device_drivers/ethernet/pensando/
Dionic.rst42 ethtool or devlink tools::
44 $ ethtool -i enp181s0
92 the "ethtool -C" command. The rx-usecs range is 0-190. The tx-usecs value
119 ethtool -S
122 The statistics shown from the ``ethtool -S`` command includes a combination of
/Linux-v5.10/tools/testing/selftests/net/
Dnetdevice.sh108 ethtool --version 2>/dev/null >/dev/null
120 ethtool -k "$netdev" > "$TMP_ETHTOOL_FEATURES"

12345