All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v5 0/6] netdevsim: add ethtool coalesce and ring settings
@ 2020-11-18 17:18 Antonio Cardace
  2020-11-18 17:18 ` [PATCH net-next v5 1/6] ethtool: add ETHTOOL_COALESCE_ALL_PARAMS define Antonio Cardace
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Antonio Cardace @ 2020-11-18 17:18 UTC (permalink / raw)
  To: netdev, David S . Miller, Jakub Kicinski, Michal Kubecek

Output of ethtool-ring.sh and ethtool-coalesce.sh selftests:

# ./ethtool-ring.sh
PASSED all 4 checks
# ./ethtool-coalesce.sh
PASSED all 22 checks
# ./ethtool-pause.sh
PASSED all 7 checks

Changelog v4 -> v5
- in ethtool-common.sh selftests changed
  echo '$(ls /sys/bus/netdevsim/devices/netdevsim${NSIM_ID}/net/)'
  to just 'ls /sys/bus/netdevsim/devices/netdevsim${NSIM_ID}/net/'

Antonio Cardace (6):
  ethtool: add ETHTOOL_COALESCE_ALL_PARAMS define
  netdevsim: move ethtool pause params in separate struct
  netdevsim: support ethtool ring and coalesce settings
  selftests: extract common functions in ethtool-common.sh
  selftests: refactor get_netdev_name function
  selftests: add ring and coalesce selftests

 drivers/net/netdevsim/ethtool.c               |  82 +++++++++--
 drivers/net/netdevsim/netdevsim.h             |   9 +-
 include/linux/ethtool.h                       |   1 +
 .../drivers/net/netdevsim/ethtool-coalesce.sh | 132 ++++++++++++++++++
 .../drivers/net/netdevsim/ethtool-common.sh   |  53 +++++++
 .../drivers/net/netdevsim/ethtool-pause.sh    |  63 +--------
 .../drivers/net/netdevsim/ethtool-ring.sh     |  85 +++++++++++
 7 files changed, 352 insertions(+), 73 deletions(-)
 create mode 100755 tools/testing/selftests/drivers/net/netdevsim/ethtool-coalesce.sh
 create mode 100644 tools/testing/selftests/drivers/net/netdevsim/ethtool-common.sh
 create mode 100755 tools/testing/selftests/drivers/net/netdevsim/ethtool-ring.sh

--
2.28.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-11-18 17:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-18 17:18 [PATCH net-next v5 0/6] netdevsim: add ethtool coalesce and ring settings Antonio Cardace
2020-11-18 17:18 ` [PATCH net-next v5 1/6] ethtool: add ETHTOOL_COALESCE_ALL_PARAMS define Antonio Cardace
2020-11-18 17:18 ` [PATCH net-next v5 2/6] netdevsim: move ethtool pause params in separate struct Antonio Cardace
2020-11-18 17:18 ` [PATCH net-next v5 3/6] netdevsim: support ethtool ring and coalesce settings Antonio Cardace
2020-11-18 17:39   ` Jakub Kicinski
2020-11-18 17:18 ` [PATCH net-next v5 4/6] selftests: extract common functions in ethtool-common.sh Antonio Cardace
2020-11-18 17:18 ` [PATCH net-next v5 5/6] selftests: refactor get_netdev_name function Antonio Cardace
2020-11-18 17:18 ` [PATCH net-next v5 6/6] selftests: add ring and coalesce selftests Antonio Cardace

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.