]> www.infradead.org Git - users/hch/misc.git/commit
net-device: move gso_partial_features to net_device_read_tx
authorEric Dumazet <edumazet@google.com>
Thu, 21 Dec 2023 14:07:47 +0000 (14:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jan 2024 12:35:42 +0000 (12:35 +0000)
commit993498e537af9260e697219ce41b41b22b6199cc
treedb733023b275e6831827131a3012a9f7cb2f811f
parent07938d774f189c47b3117c332b0e3d1d1bb50813
net-device: move gso_partial_features to net_device_read_tx

dev->gso_partial_features is read from tx fast path for GSO packets.

Move it to appropriate section to avoid a cache line miss.

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: David Ahern <dsahern@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/net_cachelines/net_device.rst
include/linux/netdevice.h
net/core/dev.c