Home
last modified time | relevance | path

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

123456

/linux/tools/testing/selftests/drivers/net/hw/
H A Diou-zcrx.py8 from lib.py import bkg, cmd, defer, ethtool, rand_port, wait_port_listen
14 output = ethtool(f"-X {cfg.ifname} context new start {cfg.target} equal 1").stdout
20 output = ethtool(f"-N {cfg.ifname} flow-type tcp6 dst-port {cfg.port} action {cfg.target}").stdout
26 output = ethtool(f"-N {cfg.ifname} flow-type tcp6 dst-port {cfg.port} context {rss_ctx_id}").stdout
51 ethtool(f"-X {cfg.ifname} equal {cfg.target}")
52 defer(ethtool, f"-X {cfg.ifname} default")
55 defer(ethtool, f"-N {cfg.ifname} delete {flow_rule_id}")
78 ethtool(f"-X {cfg.ifname} equal {cfg.target}")
79 defer(ethtool, f"-X {cfg.ifname} default")
82 defer(ethtool,
[all...]
H A Drss_ctx.py15 from lib.py import cmd, ethtool, ip, defer, GenerateTraffic, CmdExitFailure, wait_file
36 return ethtool(f"-x {cfg.ifname} context {context}", json=True)[0]
50 output = ethtool(f"{act} {cfg.ifname} {opts}").stdout
57 features = ethtool(f"-k {cfg.ifname}", json=True)[0]
113 text = ethtool(f"-n {cfg.ifname} rule {rule_id}").stdout
138 ethtool(f"-X {cfg.ifname} hkey " + _rss_key_str(key))
145 ethtool(f"-X {cfg.ifname} equal 3 hkey " + _rss_key_str(key))
146 reset_indir = defer(ethtool, f"-X {cfg.ifname} default")
155 ethtool(f"-X {cfg.ifname} default hkey " + _rss_key_str(key))
162 ethtool(f"-X {cfg.ifname} equal 2")
[all …]
H A Dethtool_mm.sh58 ethtool --set-mm $rx tx-enabled on
59 ethtool --set-mm $tx verify-enabled on tx-enabled on
64 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \
68 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true'
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
99 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \
103 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true'
109 ethtool --set-mm $tx verify-enabled off tx-enabled off
[all …]
H 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
246 chosen_speed=$(ethtool $h1 | grep 'Speed:')
254 ethtool -s $h2 autoneg on
255 ethtool -s $h1 autoneg on
[all …]
H A Drss_api.py13 from lib.py import defer, ethtool, CmdExitFailure
26 output = ethtool(f"{act} {cfg.ifname} {opts}").stdout
33 descr = ethtool(f"-n {cfg.ifname} rx-flow-hash {fl_type}").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")
[all …]
H A Dtso.py15 from lib.py import bkg, cmd, defer, ethtool, ip, rand_port, wait_port_listen
129 ethtool(f"-K {cfg.ifname} {features_cmd}")
156 ethtool(f"-K {cfg.ifname} {feature} off")
159 ethtool(f"-K {cfg.ifname} tx-gso-partial off")
160 ethtool(f"-K {cfg.ifname} tx-tcp-mangleid-segmentation off")
162 ethtool(f"-K {cfg.ifname} tx-gso-partial on")
165 ethtool(f"-K {cfg.ifname} tx-tcp-mangleid-segmentation on")
168 ethtool(f"-K {cfg.ifname} {feature} on")
194 ethtool(f"-K {cfg.ifname} {hw_all_features_cmd}")
202 ethtool(
[all...]
/linux/tools/testing/selftests/drivers/net/netdevsim/
H 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 …]
H 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")
H A Dethtool-ring.sh
H 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
H A DMakefile7 ethtool-coalesce.sh \
8 ethtool-features.sh \
9 ethtool-fec.sh \
10 ethtool-pause.sh \
23 ethtool-common.sh
H 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
/linux/Documentation/networking/device_drivers/ethernet/aquantia/
H A 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/tools/testing/selftests/net/
H 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
H 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
H A Dudpgro_fwd.sh253 ip netns exec $NS_DST ethtool -K veth$DST generic-receive-offload on
254 ip netns exec $NS_DST ethtool -K veth$DST rx-gro-list on
264 ip netns exec $NS_DST ethtool -K veth$DST generic-receive-offload on
265 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on
273 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on
278 ip netns exec $NS_DST ethtool -K veth$DST generic-receive-offload on
279 ip netns exec $NS_DST ethtool -K veth$DST rx-gro-list on
286 ip netns exec $NS_DST ethtool -K veth$DST generic-receive-offload on
287 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on
299 ip netns exec "$NS_DST" ethtool -K veth"$DST" generic-receive-offload on
[all …]
H 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"
/linux/Documentation/networking/device_drivers/ethernet/intel/
H A Didpf.rst15 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
35 diagnostics, as well as displaying statistical information. The latest ethtool
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
[all …]
H A 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 …]
H 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/
H A Dice.rst22 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
104 ethtool reset
115 These are mapped to ethtool reset flags as follow:
119 # ethtool --reset <ethX> irq dma filter offload
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c85 struct mlx5e_ethtool_steering *ethtool = mlx5e_fs_get_ethtool(priv->fs); in get_flow_table() local
103 eth_ft = &ethtool->l3_l4_ft[prio]; in get_flow_table()
108 eth_ft = &ethtool->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 = &ethtool->rules; in add_rule_to_list()
402 list_for_each_entry(iter, &ethtool->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/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dfs_ethtool.h10 int mlx5e_ethtool_alloc(struct mlx5e_ethtool_steering **ethtool);
11 void mlx5e_ethtool_free(struct mlx5e_ethtool_steering *ethtool);
23 static inline int mlx5e_ethtool_alloc(struct mlx5e_ethtool_steering **ethtool) in mlx5e_ethtool_alloc() argument
25 static inline void mlx5e_ethtool_free(struct mlx5e_ethtool_steering *ethtool) { } in mlx5e_ethtool_free() argument
/linux/Documentation/networking/device_drivers/ethernet/microsoft/
H 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/drivers/net/mlxsw/
H 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

123456