summaryrefslogtreecommitdiffstats
path: root/Documentation/networking
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2023-12-21 15:07:47 +0100
committerDavid S. Miller <davem@davemloft.net>2024-01-02 13:35:42 +0100
commit993498e537af9260e697219ce41b41b22b6199cc (patch)
treedb733023b275e6831827131a3012a9f7cb2f811f /Documentation/networking
parentptp: ocp: Use DEFINE_RES_*() in place (diff)
downloadlinux-993498e537af9260e697219ce41b41b22b6199cc.tar.xz
linux-993498e537af9260e697219ce41b41b22b6199cc.zip
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>
Diffstat (limited to 'Documentation/networking')
-rw-r--r--Documentation/networking/net_cachelines/net_device.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/networking/net_cachelines/net_device.rst b/Documentation/networking/net_cachelines/net_device.rst
index 6cab1b797739..2dd8d8f20da2 100644
--- a/Documentation/networking/net_cachelines/net_device.rst
+++ b/Documentation/networking/net_cachelines/net_device.rst
@@ -38,7 +38,7 @@ netdev_features_t wanted_features
netdev_features_t vlan_features
netdev_features_t hw_enc_features - - netif_skb_features
netdev_features_t mpls_features
-netdev_features_t gso_partial_features
+netdev_features_t gso_partial_features read_mostly gso_features_check
unsigned_int min_mtu
unsigned_int max_mtu
unsigned_short type