| /linux-6.15/drivers/net/netdevsim/ |
| H A D | ethtool.c | 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() 124 if (ns->ethtool.get_err) in nsim_get_fecparam() 125 return -ns->ethtool.get_err; in nsim_get_fecparam() 126 memcpy(fecparam, &ns->ethtool.fec, sizeof(ns->ethtool.fec)); in nsim_get_fecparam() 136 if (ns->ethtool.set_err) in nsim_set_fecparam() 137 return -ns->ethtool.set_err; in nsim_set_fecparam() 138 memcpy(&ns->ethtool.fec, fecparam, sizeof(ns->ethtool.fec)); in nsim_set_fecparam() 211 debugfs_create_u32("get_err", 0600, ethtool, &ns->ethtool.get_err); in nsim_ethtool_init() [all …]
|
| /linux-6.15/tools/testing/selftests/drivers/net/hw/ |
| H A D | rss_ctx.py | 160 ethtool(f"-X {cfg.ifname} equal 2") 200 ethtool(f"-L {cfg.ifname} combined 4") 221 ethtool(f"-L {cfg.ifname} combined 5") 225 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") [all …]
|
| H A D | iou-zcrx.py | 8 from lib.py import bkg, cmd, ethtool, wait_port_listen 12 output = ethtool(f"-g {cfg.ifname}", host=cfg.remote).stdout 18 output = ethtool(f"-l {cfg.ifname}", host=cfg.remote).stdout 38 ethtool(f"-G {cfg.ifname} tcp-data-split on", host=cfg.remote) 39 ethtool(f"-G {cfg.ifname} rx 64", host=cfg.remote) 50 ethtool(f"-X {cfg.ifname} default", host=cfg.remote) 51 ethtool(f"-G {cfg.ifname} rx {rx_ring}", host=cfg.remote) 64 ethtool(f"-G {cfg.ifname} tcp-data-split on", host=cfg.remote) 65 ethtool(f"-G {cfg.ifname} rx 64", host=cfg.remote) 76 ethtool(f"-X {cfg.ifname} default", host=cfg.remote) [all …]
|
| H A D | ethtool_mm.sh | 58 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 …]
|
| H A 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 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 …]
|
| H A D | tso.py | 15 from lib.py import bkg, cmd, defer, ethtool, ip, rand_port, wait_port_listen 147 ethtool(f"-K {cfg.ifname} tx-tcp-mangleid-segmentation on") 148 defer(ethtool, f"-K {cfg.ifname} tx-tcp-mangleid-segmentation off") 151 ethtool(f"-K {cfg.ifname} {feature} off") 153 ethtool(f"-K {cfg.ifname} tx-gso-partial off") 159 ethtool(f"-K {cfg.ifname} tx-gso-partial on") 165 ethtool(f"-K {cfg.ifname} {feature} on") 187 ethtool(f"-K {cfg.ifname} tx-gso-partial off") 194 ethtool(f"-K {cfg.ifname} tx-gso-partial on")
|
| /linux-6.15/tools/testing/selftests/drivers/net/netdevsim/ |
| H A 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 …]
|
| H A 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")
|
| H A 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"
|
| H A 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 68 ethtool -L $NDEV combined 1
|
| H A D | Makefile | 6 ethtool-coalesce.sh \ 7 ethtool-features.sh \ 8 ethtool-fec.sh \ 9 ethtool-pause.sh \ 10 ethtool-ring.sh \
|
| H A D | ethtool-features.sh | 4 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)
|
| H A D | ethtool-fec.sh | 4 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
|
| /linux-6.15/tools/testing/selftests/net/ |
| H A D | veth.sh | 172 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 …]
|
| H A D | udpgso.sh | 39 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
|
| H A D | netdevice.sh | 112 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"
|
| H A D | udpgro_fwd.sh | 220 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
|
| /linux-6.15/Documentation/networking/device_drivers/ethernet/aquantia/ |
| H A D | atlantic.rst | 14 - 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-6.15/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A 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.15/Documentation/networking/device_drivers/ethernet/intel/ |
| H A D | idpf.rst | 15 Driver information can be obtained using ethtool, lspci, and ip. 32 ethtool section in Additional Features and Configurations 34 The driver utilizes the ethtool interface for driver configuration and 38 https://kernel.org/pub/software/network/ethtool/ 90 control for specific workloads, via ethtool, adjusting the number of 95 # ethtool -C <ethX> adaptive-rx off adaptive-tx off 104 # ethtool -C <ethX> adaptive-rx off adaptive-tx off rx-usecs 80 109 using ethtool:: 111 # ethtool -C <ethX> adaptive-rx off adaptive-tx off rx-usecs 0 126 # ethtool --per-queue <ethX> queue_mask 0xa --show-coalesce [all …]
|
| H A 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/
|
| H A D | e100.rst | 60 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 …]
|
| H A D | i40e.rst | 165 # ethtool <-u|-n> ethX 203 ethtool -u <device> 207 ethtool -U <device> delete <N> 299 ethtool --show-priv-flags ethX 311 ethtool --show-priv-flags ethX 352 ethtool section in Identifying Your Adapter 399 ethtool utility. 640 queue using ethtool. 651 per queue using ethtool. 662 ethtool. [all …]
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_fs_ethtool.c | 103 eth_ft = ðtool->l3_l4_ft[prio]; in get_flow_table() 108 eth_ft = ðtool->l2_ft[prio]; in get_flow_table() 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() 517 ethtool->tot_num_rules--; in del_ethtool_rule() 839 *ethtool = kvzalloc(sizeof(**ethtool), GFP_KERNEL); in mlx5e_ethtool_alloc() 840 if (!*ethtool) in mlx5e_ethtool_alloc() 847 kvfree(ethtool); in mlx5e_ethtool_free() 864 INIT_LIST_HEAD(ðtool->rules); in mlx5e_ethtool_init_steering() [all …]
|
| /linux-6.15/Documentation/networking/ |
| H A D | statistics.rst | 17 - driver-defined statistics available via ethtool. 59 ethtool subsection 75 Standard ethtool statistics can be accessed via the interfaces used 76 for configuration. For example ethtool interface used 79 $ ethtool --include-statistics -a eth0 89 functionality are exposed via ``ethtool -S $ifc`` by specifying 92 $ ethtool -S eth0 --groups eth-phy eth-mac eth-ctrl rmon 112 Driver-defined ethtool statistics can be dumped using `ethtool -S $ifc`, e.g.:: 114 $ ethtool -S ens4u1u1 165 ethtool section in uAPIs [all …]
|