Merge branch 'XDP-hints: change RX-hash kfunc bpf_xdp_metadata_rx_hash'
authorAlexei Starovoitov <ast@kernel.org>
Thu, 13 Apr 2023 18:05:49 +0000 (11:05 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 13 Apr 2023 18:15:11 +0000 (11:15 -0700)
commitb65ef48c95b95960e91f9f3c45e6d079be00f0f3
tree27fc5232d3f0adfc0a960e0971c074fce437a829
parent0646dc31ca886693274df5749cd0c8c1eaaeb5ca
parent0f26b74e7d071b0dc18e2c43d79d496c2b144035
Merge branch 'XDP-hints: change RX-hash kfunc bpf_xdp_metadata_rx_hash'

Jesper Dangaard Brouer says:

====================

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 change the function call signature via adding
a pointer value argument for providing the RSS hash type.

Patchset also removes all bpf_printk's from xdp_hw_metadata program
that we expect driver developers to use. Instead counters are introduced
for relaying e.g. skip and fail info.
====================

Signed-off-by: Alexei Starovoitov <ast@kernel.org>