[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201117152015.142089-1-acardace@redhat.com>
Date: Tue, 17 Nov 2020 16:20:09 +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 v4 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
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