]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bnxt_en: Implement XDP RSS hash metadata extraction for V3_CMP
authorChris J Arges <carges@cloudflare.com>
Wed, 25 Mar 2026 20:09:50 +0000 (15:09 -0500)
committerJakub Kicinski <kuba@kernel.org>
Sun, 29 Mar 2026 21:09:08 +0000 (14:09 -0700)
commit5ec22d5f2afcf2f9d7d631dcc2f848dda64a4933
tree760e67f168ad6d0a6532a7ff1810ef95bcbdba94
parent4a037aeb6bc8e1fbf4d131d4d06544a9857ad604
bnxt_en: Implement XDP RSS hash metadata extraction for V3_CMP

This adds another conditional when cmp_type is CMP_TYPE_RX_L2_V3_CMP for
drivers that support this completion format.

This re-uses bnxt_rss_ext_op to provide similar functionality. One
limitation is for L4 hash-types, protocol-specific bits can't be
determined.

Reviewed-by: Joe Damato <joe@dama.to>
Signed-off-by: Chris J Arges <carges@cloudflare.com>
Link: https://patch.msgid.link/20260325201139.2501937-5-carges@cloudflare.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c