public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH iwl-next v1 0/3] i40e: support XDP metadata ops (RX
@ 2026-03-19 17:16 Kohei Enju
  2026-03-19 17:16 ` [PATCH iwl-next v1 1/3] i40e: prepare for XDP metadata ops support Kohei Enju
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Kohei Enju @ 2026-03-19 17:16 UTC (permalink / raw)
  To: intel-wired-lan, netdev
  Cc: Tony Nguyen, Przemek Kitszel, Andrew Lunn, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, kohei.enju, Kohei Enju

This series adds support for XDP metadata ops. Since the i40e RX
timestamps are not available from the RX descriptor in the XDP path,
this series doesn't implement bpf_xdp_metadata_rx_timestamp().

Patch 1/3 prepares i40e_xdp_buff for subsequent patches.
Patch 2/3 and 3/3 introduce bpf_xdp_metadata_rx_hash() and
bpf_xdp_metadata_rx_vlan_tag() respectively.

Tested on Intel Corporation Ethernet Controller X710 for 10GbE SFP+ with
./tools/testing/selftests/bpf/xdp_hw_metadata.
Since i40e doesn't support HWTSTAMP_FILTER_ALL as an rx_filter, I
locally changed the selftest to use HWTSTAMP_FILTER_NONE instead.

Kohei Enju (3):
  i40e: prepare for XDP metadata ops support
  i40e: add support for bpf_xdp_metadata_rx_hash()
  i40e: add support for bpf_xdp_metadata_rx_vlan_tag()

 drivers/net/ethernet/intel/i40e/i40e_main.c | 51 ++++++++++++++++++++-
 drivers/net/ethernet/intel/i40e/i40e_txrx.c |  5 +-
 drivers/net/ethernet/intel/i40e/i40e_txrx.h |  7 ++-
 drivers/net/ethernet/intel/i40e/i40e_type.h |  5 ++
 drivers/net/ethernet/intel/i40e/i40e_xsk.c  | 12 +++++
 5 files changed, 77 insertions(+), 3 deletions(-)

-- 
2.51.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-03-20 23:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-19 17:16 [PATCH iwl-next v1 0/3] i40e: support XDP metadata ops (RX Kohei Enju
2026-03-19 17:16 ` [PATCH iwl-next v1 1/3] i40e: prepare for XDP metadata ops support Kohei Enju
2026-03-20  6:56   ` [Intel-wired-lan] " Loktionov, Aleksandr
2026-03-19 17:16 ` [PATCH iwl-next v1 2/3] i40e: add support for bpf_xdp_metadata_rx_hash() Kohei Enju
2026-03-20  6:57   ` [Intel-wired-lan] " Loktionov, Aleksandr
2026-03-19 17:16 ` [PATCH iwl-next v1 3/3] i40e: add support for bpf_xdp_metadata_rx_vlan_tag() Kohei Enju
2026-03-20  6:57   ` [Intel-wired-lan] " Loktionov, Aleksandr
2026-03-20 23:09 ` [PATCH iwl-next v1 0/3] i40e: support XDP metadata ops (RX Joe Damato

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox