From: Antonio Cardace <acardace@redhat.com>
To: netdev@vger.kernel.org, "David S . Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>,
Michal Kubecek <mkubecek@suse.cz>
Subject: [PATCH net-next v5 0/6] netdevsim: add ethtool coalesce and ring settings
Date: Wed, 18 Nov 2020 18:18:21 +0100 [thread overview]
Message-ID: <20201118171827.48143-1-acardace@redhat.com> (raw)
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
next reply other threads:[~2020-11-18 17:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-18 17:18 Antonio Cardace [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201118171827.48143-1-acardace@redhat.com \
--to=acardace@redhat.com \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--cc=mkubecek@suse.cz \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).