aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJoshua Washington <[email protected]>2025-02-14 22:43:59 +0000
committerJakub Kicinski <[email protected]>2025-02-19 02:01:24 +0000
commit415cadd505464d9a11ff5e0f6e0329c127849da5 (patch)
tree29769b04c518dd51f96bad33d82e86e51e2a87b3 /net/unix/af_unix.c
parenttcp: adjust rcvq_space after updating scaling ratio (diff)
downloadkernel-415cadd505464d9a11ff5e0f6e0329c127849da5.tar.gz
kernel-415cadd505464d9a11ff5e0f6e0329c127849da5.zip
gve: set xdp redirect target only when it is available
Before this patch the NETDEV_XDP_ACT_NDO_XMIT XDP feature flag is set by default as part of driver initialization, and is never cleared. However, this flag differs from others in that it is used as an indicator for whether the driver is ready to perform the ndo_xdp_xmit operation as part of an XDP_REDIRECT. Kernel helpers xdp_features_(set|clear)_redirect_target exist to convey this meaning. This patch ensures that the netdev is only reported as a redirect target when XDP queues exist to forward traffic. Fixes: 39a7f4aa3e4a ("gve: Add XDP REDIRECT support for GQI-QPL format") Cc: [email protected] Reviewed-by: Praveen Kaligineedi <[email protected]> Reviewed-by: Jeroen de Borst <[email protected]> Signed-off-by: Joshua Washington <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions