summaryrefslogtreecommitdiff
path: root/include/linux/netdev_features.h
diff options
context:
space:
mode:
authorJason Xing <kernelxing@tencent.com>2026-01-04 04:21:24 +0300
committerPaolo Abeni <pabeni@redhat.com>2026-01-15 12:07:44 +0300
commitcee715d907d0f93411542f19a4eb9161450e782b (patch)
tree5c7ac52b4e0320c5cf389c709a7a399423587567 /include/linux/netdev_features.h
parent3b194343c25084a8d2fa0c0f2c9e80f3080fd732 (diff)
downloadlinux-cee715d907d0f93411542f19a4eb9161450e782b.tar.xz
xsk: advance cq/fq check when shared umem is used
In the shared umem mode with different queues or devices, either uninitialized cq or fq is not allowed which was previously done in xp_assign_dev_shared(). The patch advances the check at the beginning so that 1) we can avoid a few memory allocation and stuff if cq or fq is NULL, 2) it can be regarded as preparation for the next patch in the series. Signed-off-by: Jason Xing <kernelxing@tencent.com> Link: https://patch.msgid.link/20260104012125.44003-2-kerneljasonxing@gmail.com Acked-by: Stanislav Fomichev <sdf@fomichev.me> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/netdev_features.h')
0 files changed, 0 insertions, 0 deletions