Searched refs:ethtool (Results 1 - 25 of 551) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/drivers/net/netdevsim/
H A Dethtool-pause.sh4 source ethtool-common.sh
6 # Bail if ethtool is too old
7 if ! ethtool -h | grep include-stat 2>&1 >/dev/null; then
8 echo "SKIP: No --include-statistics support in ethtool"
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
[all...]
H A DMakefile6 ethtool-coalesce.sh \
7 ethtool-fec.sh \
8 ethtool-pause.sh \
9 ethtool-ring.sh \
H A Dethtool-coalesce.sh4 source ethtool-common.sh
9 echo $(ethtool -c $NSIM_NETDEV | \
20 if ! ethtool -h | grep -q coalesce; then
21 echo "SKIP: No --coalesce support in ethtool"
107 ethtool -C $NSIM_NETDEV "$key" "$value"
117 # bool settings which ethtool displays on the same line
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
[all...]
H A Dethtool-ring.sh4 source ethtool-common.sh
9 echo $(ethtool -g $NSIM_NETDEV | \
21 if ! ethtool -h | grep -q set-ring >/dev/null; then
22 echo "SKIP: No --set-ring support in ethtool"
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 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
65 ethtool -L $NDEV combined 1
/linux-master/drivers/net/netdevsim/
H A Dethtool.c5 #include <linux/ethtool.h>
16 if (ns->ethtool.pauseparam.report_stats_rx)
18 if (ns->ethtool.pauseparam.report_stats_tx)
28 pause->rx_pause = ns->ethtool.pauseparam.rx;
29 pause->tx_pause = ns->ethtool.pauseparam.tx;
40 ns->ethtool.pauseparam.rx = pause->rx_pause;
41 ns->ethtool.pauseparam.tx = pause->tx_pause;
52 memcpy(coal, &ns->ethtool.coalesce, sizeof(ns->ethtool.coalesce));
63 memcpy(&ns->ethtool
179 struct dentry *ethtool, *dir; local
[all...]
/linux-master/drivers/net/ethernet/marvell/prestera/
H A Dprestera_ethtool.h7 #include <linux/ethtool.h>
/linux-master/drivers/net/ethernet/intel/igbvf/
H A DMakefile11 ethtool.o \
/linux-master/drivers/net/ethernet/atheros/alx/
H A DMakefile3 alx-objs := main.o ethtool.o hw.o
/linux-master/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);
18 static inline int mlx5e_ethtool_alloc(struct mlx5e_ethtool_steering **ethtool) argument
20 static inline void mlx5e_ethtool_free(struct mlx5e_ethtool_steering *ethtool) { } argument
/linux-master/rust/uapi/
H A Duapi_helper.h11 #include <uapi/linux/ethtool.h>
/linux-master/drivers/net/ethernet/intel/ixgbevf/
H A DMakefile11 ethtool.o \
/linux-master/drivers/net/can/flexcan/
H A DMakefile7 flexcan-objs += flexcan-ethtool.o
/linux-master/drivers/net/can/slcan/
H A DMakefile7 slcan-objs += slcan-ethtool.o
/linux-master/tools/testing/selftests/net/forwarding/
H A Dethtool_mm.sh57 ethtool --set-mm $rx tx-enabled on
58 ethtool --set-mm $tx verify-enabled on tx-enabled on
63 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \
67 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true'
73 ethtool --set-mm $tx verify-enabled off tx-enabled off
74 ethtool --set-mm $rx tx-enabled off
96 ethtool --set-mm $tx verify-enabled off tx-enabled on
98 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \
102 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true'
108 ethtool
[all...]
/linux-master/drivers/net/ethernet/apm/xgene-v2/
H A DMakefile6 xgene-enet-v2-objs := main.o mac.o enet.o ring.o mdio.o ethtool.o
/linux-master/include/net/
H A Dselftests.h5 #include <linux/ethtool.h>
/linux-master/tools/testing/selftests/net/
H A Dveth.sh59 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
[all...]
/linux-master/drivers/net/ethernet/sfc/falcon/
H A DMakefile3 ethtool.o qt202x_phy.o mdio_10g.o tenxpress.o \
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Dethtool_lanes.sh24 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-master/drivers/net/ethernet/synopsys/
H A DMakefile9 dwc-xlgmac-ethtool.o
/linux-master/drivers/net/ethernet/qualcomm/emac/
H A DMakefile8 qcom-emac-objs := emac.o emac-mac.o emac-phy.o emac-sgmii.o emac-ethtool.o \
/linux-master/drivers/net/ethernet/asix/
H A Dax88796c_ioctl.h12 #include <linux/ethtool.h>
/linux-master/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_ethtool.h7 #include <linux/ethtool.h>
/linux-master/drivers/net/ethernet/intel/e1000e/
H A DMakefile15 param.o ethtool.o netdev.o ptp.o

Completed in 405 milliseconds

1234567891011>>