From: Raju Rangoju <Raju.Rangoju@amd.com>
To: <netdev@vger.kernel.org>
Cc: <pabeni@redhat.com>, <kuba@kernel.org>, <edumazet@google.com>,
<davem@davemloft.net>, <andrew+netdev@lunn.ch>,
<maxime.chevallier@bootlin.com>, <Shyam-sundar.S-k@amd.com>,
Raju Rangoju <Raju.Rangoju@amd.com>
Subject: [PATCH net-next v6 0/5] amd-xgbe: introduce support for ethtool selftests
Date: Fri, 31 Oct 2025 16:45:51 +0530 [thread overview]
Message-ID: <20251031111555.774425-1-Raju.Rangoju@amd.com> (raw)
This patch series introduces support for ethtool selftests, which helps
in finding the misconfiguration of HW. Makes use of network selftest
packet creation infrastructure.
Supports the following tests:
- MAC loopback selftest
- PHY loopback selftest
- Split header selftest
- Jubmo frame selftest
Changes since v5:
- follow reverse x-mas tree format
- fix the commit message for phy loopback selftest
Changes since v4:
- remove double semicolon
- move the helper functions to appropriate file
- add inline keyword to static function in header file
Changes since v3:
- add new patch to export packet creation helpers for driver use
Changes since v2:
- fix build warnings for xtensa and alpha arch Changes since v1:
- fix build warnings for s390 arch reported by kernel test robot
Raju Rangoju (5):
net: selftests: export packet creation helpers for driver use
amd-xgbe: introduce support ethtool selftest
amd-xgbe: add ethtool phy loopback selftest
amd-xgbe: add ethtool split header selftest
amd-xgbe: add ethtool jumbo frame selftest
drivers/net/ethernet/amd/Kconfig | 1 +
drivers/net/ethernet/amd/xgbe/Makefile | 2 +-
drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 19 +
drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 7 +
drivers/net/ethernet/amd/xgbe/xgbe-selftest.c | 346 ++++++++++++++++++
drivers/net/ethernet/amd/xgbe/xgbe.h | 11 +
include/net/selftests.h | 45 +++
net/core/selftests.c | 48 +--
8 files changed, 437 insertions(+), 42 deletions(-)
create mode 100644 drivers/net/ethernet/amd/xgbe/xgbe-selftest.c
--
2.34.1
next reply other threads:[~2025-10-31 11:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-31 11:15 Raju Rangoju [this message]
2025-10-31 11:15 ` [PATCH net-next v6 2/5] amd-xgbe: introduce support ethtool selftest Raju Rangoju
2025-10-31 11:15 ` [PATCH net-next v6 3/5] amd-xgbe: add ethtool phy loopback selftest Raju Rangoju
2025-10-31 11:15 ` [PATCH net-next v6 4/5] amd-xgbe: add ethtool split header selftest Raju Rangoju
2025-10-31 11:15 ` [PATCH net-next v6 5/5] amd-xgbe: add ethtool jumbo frame selftest Raju Rangoju
2025-11-06 14:10 ` [PATCH net-next v6 0/5] amd-xgbe: introduce support for ethtool selftests patchwork-bot+netdevbpf
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=20251031111555.774425-1-Raju.Rangoju@amd.com \
--to=raju.rangoju@amd.com \
--cc=Shyam-sundar.S-k@amd.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=maxime.chevallier@bootlin.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/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 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.