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>,
<linux-kernel@vger.kernel.org>, <Shyam-sundar.S-k@amd.com>,
Raju Rangoju <Raju.Rangoju@amd.com>
Subject: [PATCH net-next v3 0/4] amd-xgbe: add ARP offload and RSS self-tests
Date: Wed, 4 Feb 2026 20:28:29 +0530 [thread overview]
Message-ID: <20260204145829.801839-1-Raju.Rangoju@amd.com> (raw)
This series adds ARP offload support and ethtool self-tests for the
AMD XGBE 10 Gigabit Ethernet driver.
Patch 1 is a build fix for randconfig coverage.
Patch 2 adds hardware ARP offload functionality that allows the MAC
to automatically respond to ARP requests without CPU intervention,
reducing system latency and power consumption during suspend/resume
and normal operation.
Patches 3 and 4 add ethtool self-tests for ARP offload and RSS
functionality respectively, allowing users to verify these hardware
features are working correctly via 'ethtool -t <interface>'.
The tests are integrated into the existing XGBE self-test framework
that already includes MAC loopback, PHY loopback, split header, and
jumbo frame tests.
Test results example:
$ ethtool -t eth0
The test result is PASS
The test extra info:
MAC Loopback 0
PHY Loopback 0
Split Header 0
Jumbo Frame 0
ARP Offload 0
RSS 0
Changes since v2:
- Fix warnings about line length
- Use kfree_skb() instead of kfree() for skb cleanup in self-tests
- CC maintainer for patch 1
Changes since v1:
- Resubmitting to net-next as this was mistakenly sent to net previously.
- Fix INET=n build breakage reported by kernel test robot
- Ensure ARP self-test cleanup is safe on all error paths (no dangling
packet handler).
- Use link-local IPs for self-tests to avoid interfering with real
network configuration.
Raju Rangoju (4):
amd-xgbe: do not select NET_SELFTESTS when INET is disabled
amd-xgbe: add hardware ARP offload support
amd-xgbe: add ARP offload ethtool self-test
amd-xgbe: add RSS ethtool self-test
drivers/net/ethernet/amd/Kconfig | 2 +-
drivers/net/ethernet/amd/xgbe/xgbe-common.h | 3 +
drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 24 +++
drivers/net/ethernet/amd/xgbe/xgbe-selftest.c | 154 +++++++++++++++++-
drivers/net/ethernet/amd/xgbe/xgbe.h | 4 +
include/net/selftests.h | 1 +
6 files changed, 186 insertions(+), 2 deletions(-)
--
2.34.1
next reply other threads:[~2026-02-04 14:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-04 14:58 Raju Rangoju [this message]
2026-02-06 3:09 ` [PATCH net-next v3 0/4] amd-xgbe: add ARP offload and RSS self-tests Jakub Kicinski
2026-02-06 3:20 ` 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=20260204145829.801839-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=linux-kernel@vger.kernel.org \
--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.