diff options
| author | Eric Dumazet <[email protected]> | 2021-04-02 18:07:46 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-04-02 21:31:44 +0000 |
| commit | 7f040aa322617acf1978b8de140f1bf9ff916617 (patch) | |
| tree | 82d259adf9ef3321854dfa69a639acb2241d58fd /tools/testing/selftests/bpf/progs/sockmap_tcp_msg_prog.c | |
| parent | nfc: pn533: prevent potential memory corruption (diff) | |
| download | kernel-7f040aa322617acf1978b8de140f1bf9ff916617.tar.gz kernel-7f040aa322617acf1978b8de140f1bf9ff916617.zip | |
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/progs/sockmap_tcp_msg_prog.c')
0 files changed, 0 insertions, 0 deletions
