diff options
author | Coco Li <[email protected]> | 2023-12-04 20:12:30 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-12-05 20:16:05 -0800 |
commit | 43a71cd66b9c0a4af3d15d8644359fde35bdbed0 (patch) | |
tree | b41dbe519b999a23ed3bd12fdc0e97d61b4ef744 /tools/perf/scripts/python/gecko.py | |
parent | 5aa00e9e41f2742223fe4ca89d94410d2477118d (diff) |
net-device: reorganize net_device fast path variables
Reorganize fast path variables on tx-txrx-rx order
Fastpath variables end after npinfo.
Below data generated with pahole on x86 architecture.
Fast path variables span cache lines before change: 12
Fast path variables span cache lines after change: 4
Suggested-by: Eric Dumazet <[email protected]>
Signed-off-by: Coco Li <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions