This series adds ARP offload support and ethtool self-tests for the
AMD XGBE 10 Gigabit Ethernet driver.
Patch 1 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 2 and 3 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
Raju Rangoju (3):
net: amd-xgbe: add hardware ARP offload support
net: amd-xgbe: add ARP offload ethtool self-test
net: amd-xgbe: add RSS ethtool self-test
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 | 149 ++++++++++++++++++
drivers/net/ethernet/amd/xgbe/xgbe.h | 4 +
include/net/selftests.h | 1 +
5 files changed, 181 insertions(+)
--
2.34.1