OSDN Git Service

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)
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>

Trivial merge