Home
last modified time | relevance | path

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

123456

/OK3568_Linux_fs/kernel/drivers/net/netdevsim/
H A 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 …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/drivers/net/netdevsim/
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/forwarding/
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
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 …]
H A 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" | \
H A Dloopback.sh46 ethtool -K $h1 loopback on
56 ethtool -K $h1 loopback off
79 if ethtool -k $h1 | grep loopback | grep -q fixed; then
H A Dethtool_extended_state.sh27 local ext_state=$(ethtool $dev | grep "Link detected" \
77 ethtool -s $swp2 autoneg on
78 ethtool -s $swp1 autoneg on
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/ethtool/
H A Dethtool_5.16.bb3 HOMEPAGE = "http://www.kernel.org/pub/software/network/ethtool/"
7 file://ethtool.c;beginline=4;endline=17;md5=c19b30548c582577fc6b443626fc1216"
9 SRC_URI = "${KERNELORG_MIRROR}/software/network/ethtool/ethtool-${PV}.tar.gz \
16 UPSTREAM_CHECK_URI = "https://www.kernel.org/pub/software/network/ethtool/"
35 install ${B}/ethtool ${D}${PTEST_PATH}/ethtool
/OK3568_Linux_fs/buildroot/package/ifplugd/
H A D0004-musl-fix-types.patch6 diff -purN ifplugd-0.28.orig/src/ethtool-local.h ifplugd-0.28/src/ethtool-local.h
7 --- ifplugd-0.28.orig/src/ethtool-local.h 2015-08-01 18:43:47.360916834 +0200
8 +++ ifplugd-0.28/src/ethtool-local.h 2015-08-01 18:44:24.256037746 +0200
23 #include "ethtool-kernel.h"
/OK3568_Linux_fs/buildroot/package/ethtool/
H A DConfig.in2 bool "ethtool"
4 ethtool is a small utility for examining and tuning your
7 https://www.kernel.org/pub/software/network/ethtool/
14 Enables ethtool's pretty printing for drivers
/OK3568_Linux_fs/kernel/Documentation/networking/device_drivers/ethernet/intel/
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 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/drivers/net/mlxsw/
H 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
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-connectivity/ifplugd/ifplugd/
H A DFix-build-with-musl.patch9 src/ethtool-local.h | 6 +++---
12 --- a/src/ethtool-local.h
13 +++ b/src/ethtool-local.h
28 #include "ethtool-kernel.h"
/OK3568_Linux_fs/kernel/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.
114 ethtool -K eth0 lro off
/OK3568_Linux_fs/kernel/Documentation/networking/
H A 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
/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/ethtool/ethtool/
H A Davoid_parallel_tests.patch4 Subject: [PATCH] ethtool: use serial-tests config needed by ptest.
22 AC_INIT(ethtool, 5.16, netdev@vger.kernel.org)
24 AC_CONFIG_SRCDIR([ethtool.c])
27 AC_CONFIG_HEADERS([ethtool-config.h])
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A 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
/OK3568_Linux_fs/kernel/Documentation/networking/device_drivers/ethernet/freescale/
H 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.
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/infiniband/ulp/ipoib/
H A 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()
/OK3568_Linux_fs/kernel/Documentation/networking/device_drivers/ethernet/chelsio/
H A 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 …]

123456