lkml.org 
[lkml]   [2023]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH bpf RFC-V2 0/5] XDP-hints: API change for RX-hash kfunc bpf_xdp_metadata_rx_hash
From
Date
Notice targeted 6.3-rc kernel via bpf git tree.

Current API for bpf_xdp_metadata_rx_hash() returns the raw RSS hash value,
but doesn't provide information on the RSS hash type (part of 6.3-rc).

This patchset proposal is to use the return value from
bpf_xdp_metadata_rx_hash() to provide the RSS hash type.

Alternatively we disable bpf_xdp_metadata_rx_hash() in 6.3-rc, and have
more time to nitpick the RSS hash-type bits.

---

Jesper Dangaard Brouer (5):
xdp: rss hash types representation
igc: bpf_xdp_metadata_rx_hash return xdp rss hash type
veth: bpf_xdp_metadata_rx_hash return xdp rss hash type
mlx5: bpf_xdp_metadata_rx_hash return xdp rss hash type
mlx4: bpf_xdp_metadata_rx_hash return xdp rss hash type


drivers/net/ethernet/intel/igc/igc_main.c | 22 +++++-
drivers/net/ethernet/mellanox/mlx4/en_rx.c | 20 ++++-
.../net/ethernet/mellanox/mlx5/core/en/xdp.c | 61 +++++++++++++-
drivers/net/veth.c | 7 +-
include/linux/mlx5/device.h | 14 +++-
include/net/xdp.h | 79 +++++++++++++++++++
net/core/xdp.c | 4 +-
7 files changed, 196 insertions(+), 11 deletions(-)

--
Best regards,
Jesper Dangaard Brouer
MSc.CS, Sr. Principal Kernel Engineer at Red Hat
LinkedIn: http://www.linkedin.com/in/brouer

\
 
 \ /
  Last update: 2023-03-29 18:30    [W:0.070 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site