/linux-6.6.21/drivers/net/netdevsim/ |
D | ethtool.c | 16 if (ns->ethtool.pauseparam.report_stats_rx) in nsim_get_pause_stats() 18 if (ns->ethtool.pauseparam.report_stats_tx) in nsim_get_pause_stats() 28 pause->rx_pause = ns->ethtool.pauseparam.rx; in nsim_get_pauseparam() 29 pause->tx_pause = ns->ethtool.pauseparam.tx; in nsim_get_pauseparam() 40 ns->ethtool.pauseparam.rx = pause->rx_pause; in nsim_set_pauseparam() 41 ns->ethtool.pauseparam.tx = pause->tx_pause; in nsim_set_pauseparam() 52 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() 74 memcpy(ring, &ns->ethtool.ring, sizeof(ns->ethtool.ring)); in nsim_get_ringparam() 84 ns->ethtool.ring.rx_pending = ring->rx_pending; in nsim_set_ringparam() [all …]
|
/linux-6.6.21/tools/testing/selftests/drivers/net/netdevsim/ |
D | ethtool-pause.sh | 4 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 …]
|
D | ethtool-coalesce.sh | 4 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")
|
D | ethtool-ring.sh | 4 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"
|
D | tc-mq-visibility.sh | 4 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
|
D | ethtool-fec.sh | 4 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
|
D | udp_tunnel_nic.sh | 159 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 708 ethtool -K $NSIM_NETDEV rx-udp_tunnel-port-offload off 713 ethtool -K $NSIM_NETDEV rx-udp_tunnel-port-offload on 722 ethtool -K $NSIM_NETDEV rx-udp_tunnel-port-offload off 730 ethtool -K $NSIM_NETDEV rx-udp_tunnel-port-offload on 855 ethtool -K $NSIM_NETDEV rx-udp_tunnel-port-offload off [all …]
|
/linux-6.6.21/tools/testing/selftests/net/ |
D | veth.sh | 59 local flag=`ip netns exec $BASE$target ethtool -k veth$target |\ 87 local cur_rx=`ip netns exec $BASE$target ethtool -l $dev |\ 89 local cur_tx=`ip netns exec $BASE$target ethtool -l $dev |\ 91 local cur_combined=`ip netns exec $BASE$target ethtool -l $dev |\ 146 ip netns exec $NS_SRC ethtool -L veth$SRC rx $i tx $i 147 ip netns exec $NS_DST ethtool -L veth$DST rx $i tx $i 152 ip netns exec $NS_SRC ethtool -L veth$SRC rx $cur_cpu tx $cur_cpu 153 ip netns exec $NS_DST ethtool -L veth$DST rx $cur_cpu tx $cur_cpu 174 ip netns exec $NS_SRC ethtool -L veth$SRC rx 3 tx 3 175 ip netns exec $NS_DST ethtool -L veth$DST rx 3 tx 3 [all …]
|
/linux-6.6.21/tools/testing/selftests/net/forwarding/ |
D | ethtool_mm.sh | 53 ethtool --set-mm $rx tx-enabled on 54 ethtool --set-mm $tx verify-enabled on tx-enabled on 59 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \ 63 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true' 69 ethtool --set-mm $tx verify-enabled off tx-enabled off 70 ethtool --set-mm $rx tx-enabled off 92 ethtool --set-mm $tx verify-enabled off tx-enabled on 94 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \ 98 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true' 104 ethtool --set-mm $tx verify-enabled off tx-enabled off [all …]
|
D | ethtool.sh | 72 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 …]
|
D | ethtool_lib.sh | 14 awk "${cmd}" /usr/include/linux/ethtool.h 20 local out=$(ethtool -s $cmd 2>&1 | wc -l) 72 speeds_str=$(ethtool "$dev" | \
|
D | loopback.sh | 46 ethtool -K $h1 loopback on 56 ethtool -K $h1 loopback off 79 if ethtool -k $h1 | grep loopback | grep -q fixed; then
|
/linux-6.6.21/Documentation/networking/device_drivers/ethernet/aquantia/ |
D | atlantic.rst | 14 - 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-6.6.21/tools/testing/selftests/drivers/net/mlxsw/ |
D | ethtool_lanes.sh | 24 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
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | fs_ethtool.h | 10 int mlx5e_ethtool_alloc(struct mlx5e_ethtool_steering **ethtool); 11 void mlx5e_ethtool_free(struct mlx5e_ethtool_steering *ethtool); 18 static inline int mlx5e_ethtool_alloc(struct mlx5e_ethtool_steering **ethtool) in mlx5e_ethtool_alloc() argument 20 static inline void mlx5e_ethtool_free(struct mlx5e_ethtool_steering *ethtool) { } in mlx5e_ethtool_free() argument
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_fs_ethtool.c | 85 struct mlx5e_ethtool_steering *ethtool = mlx5e_fs_get_ethtool(priv->fs); in get_flow_table() local 103 eth_ft = ðtool->l3_l4_ft[prio]; in get_flow_table() 108 eth_ft = ðtool->l2_ft[prio]; in get_flow_table() 398 struct mlx5e_ethtool_steering *ethtool = mlx5e_fs_get_ethtool(priv->fs); in add_rule_to_list() local 399 struct list_head *head = ðtool->rules; in add_rule_to_list() 402 list_for_each_entry(iter, ðtool->rules, list) { in add_rule_to_list() 407 ethtool->tot_num_rules++; in add_rule_to_list() 511 struct mlx5e_ethtool_steering *ethtool = mlx5e_fs_get_ethtool(fs); in del_ethtool_rule() local 517 ethtool->tot_num_rules--; in del_ethtool_rule() 525 struct mlx5e_ethtool_steering *ethtool = mlx5e_fs_get_ethtool(priv->fs); in find_ethtool_rule() local [all …]
|
/linux-6.6.21/Documentation/networking/device_drivers/ethernet/intel/ |
D | igbvf.rst | 27 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/
|
D | e100.rst | 60 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 …]
|
D | ice.rst | 22 Driver information can be obtained using ethtool and lspci. 90 ethtool section in Additional Features and Configurations 92 The driver utilizes the ethtool interface for driver configuration and 93 diagnostics, as well as displaying statistical information. The latest ethtool 95 https://kernel.org/pub/software/network/ethtool/ 97 NOTE: The rx_bytes value of ethtool does not match the rx_bytes value of 101 rx_bytes as "X", then ethtool (hardware statistics) will display rx_bytes as 215 two-byte pattern and offset by using the ethtool user-def and mask fields. Only 224 characteristics. They are enabled through ethtool's ntuple interface. To enable 227 # ethtool -K <ethX> ntuple <off|on> [all …]
|
D | i40e.rst | 21 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 …]
|
/linux-6.6.21/Documentation/networking/ |
D | statistics.rst | 17 - 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-6.6.21/Documentation/networking/device_drivers/ethernet/microsoft/ |
D | netvsc.rst | 29 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-6.6.21/Documentation/networking/device_drivers/ethernet/freescale/ |
D | gianfar.rst | 19 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.
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | test_xdp_vlan.sh | 141 which ethtool > /dev/null 167 ip netns exec ${NS1} ethtool -K veth1 rxvlan off 168 ip netns exec ${NS2} ethtool -K veth2 rxvlan off 171 ip netns exec ${NS2} ethtool -K veth2 txvlan off 172 ip netns exec ${NS1} ethtool -K veth1 txvlan off
|
D | test_xdp_features.sh | 26 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
|