[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201118204522.5660-1-acardace@redhat.com>
Date: Wed, 18 Nov 2020 21:45:16 +0100
From: Antonio Cardace <acardace@...hat.com>
To: netdev@...r.kernel.org, "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Michal Kubecek <mkubecek@...e.cz>
Subject: [PATCH net-next v6 0/6] netdevsim: add ethtool coalesce and ring settings
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 v5 -> v6
- moved some bits from patch 3, they
were part of a refactoring made in patch 2
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
Powered by blists - more mailing lists