diff options
author | Eric Dumazet <[email protected]> | 2021-04-02 11:07:46 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-04-02 14:31:44 -0700 |
commit | 7f040aa322617acf1978b8de140f1bf9ff916617 (patch) | |
tree | 82d259adf9ef3321854dfa69a639acb2241d58fd /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | ca4d4c34ae9aa5c3c0da76662c5e549d2fc0cc86 (diff) |
net: reorganize fields in netns_mib
Order fields to increase locality for most used protocols.
udplite and icmp are moved at the end.
Same for proc_net_devsnmp6 which is not used in fast path.
This potentially saves one cache line miss for typical TCP/UDP over IPv4/IPv6.
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions