Commit 993498e
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: 43a71cd ("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>1 parent 07938d7 commit 993498e
File tree
3 files changed
+4
-3
lines changed- Documentation/networking/net_cachelines
- include/linux
- net/core
3 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2115 | 2115 | | |
2116 | 2116 | | |
2117 | 2117 | | |
| 2118 | + | |
2118 | 2119 | | |
2119 | 2120 | | |
2120 | 2121 | | |
| |||
2211 | 2212 | | |
2212 | 2213 | | |
2213 | 2214 | | |
2214 | | - | |
2215 | 2215 | | |
2216 | 2216 | | |
2217 | 2217 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11629 | 11629 | | |
11630 | 11630 | | |
11631 | 11631 | | |
| 11632 | + | |
11632 | 11633 | | |
11633 | 11634 | | |
11634 | 11635 | | |
| |||
11642 | 11643 | | |
11643 | 11644 | | |
11644 | 11645 | | |
11645 | | - | |
| 11646 | + | |
11646 | 11647 | | |
11647 | 11648 | | |
11648 | 11649 | | |
| |||
0 commit comments