i40e: support XDP metadata ops (RX
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | i40e: prepare for XDP metadata ops supportdrivers/ drivers/ drivers/ +1 more | +23 | 2 replies | |
| 2/3 | i40e: add support for bpf_xdp_metadata_rx_hash()drivers/ drivers/ | +35 | 2 replies | |
| 3/3 | i40e: add support for bpf_xdp_metadata_rx_vlan_tag()drivers/ | +19 | 2 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Aleksandr Loktionov | Joe Damato | Patryk Holda |
|---|---|---|---|
| Series | R-b | T-b | |
| 1/3 | R-b | T-b | |
| 2/3 | R-b | T-b | |
| 3/3 | R-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH iwl-next v1 0/3] i40e: support XDP metadata ops (RX
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(-)
Signature · 1 line
2.51.0