Commit 58264367 authored by Fushuai Wang's avatar Fushuai Wang Committed by Jakub Kicinski
Browse files

sfc: eliminate xdp_rxq_info_valid using XDP base API



Commit eb9a36be ("sfc: perform XDP processing on received packets")
use xdp_rxq_info_valid to track failures of xdp_rxq_info_reg().
However, this driver-maintained state becomes redundant since the XDP
framework already provides xdp_rxq_info_is_reg() for checking registration
status.

Signed-off-by: default avatarFushuai Wang <wangfushuai@baidu.com>
Acked-by: default avatarEdward Cree <ecree.xilinx@gmail.com>
Reviewed-by: default avatarLarysa Zaremba <larysa.zaremba@intel.com>
Link: https://patch.msgid.link/20250628051016.51022-1-wangfushuai@baidu.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 21deb2d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment