net-device: move xdp_prog to net_device_read_rx
authorEric Dumazet <edumazet@google.com>
Tue, 2 Jan 2024 16:22:20 +0000 (16:22 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 4 Jan 2024 02:09:14 +0000 (18:09 -0800)
commitd3d344a1ca69d8fb2413e29e6400f3ad58a05c06
tree0ff7a8e3d53bf9ecb64cbe5a444e5e4d858ff1a1
parenta562a0272ccec75191001fb138956fd1bf2c5f93
net-device: move xdp_prog to net_device_read_rx

xdp_prog is used in receive path, both from XDP enabled drivers
and from netif_elide_gro().

This patch also removes two 4-bytes holes.

Fixes: 43a71cd66b9c ("net-device: reorganize net_device fast path variables")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Coco Li <lixiaoyan@google.com>
Cc: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240102162220.750823-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/networking/net_cachelines/net_device.rst
include/linux/netdevice.h
net/core/dev.c