libeth: xdp: add RSS hash hint and XDP features setup helpers
authorAlexander Lobakin <aleksander.lobakin@intel.com>
Thu, 12 Jun 2025 16:02:29 +0000 (18:02 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 16 Jun 2025 18:40:15 +0000 (11:40 -0700)
commit576cc5c13d9ba53a1a24d9b34af2f939a87b7ce8
treeb20fc99b497b9b98f25681a22518c30e0cd398d4
parent1bb635d3748b7158c6a19e6fca4fb85e6f96fd9a
libeth: xdp: add RSS hash hint and XDP features setup helpers

End the XDP section by adding helpers to setup XDP features, flipping
.ndo_xdp_xmit() support at runtime (in case when it's not always on),
and calculating the queue clean/refill threshold.

Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/libeth/xdp.c
include/net/libeth/xdp.h