net: move ptype_all into net_hotdata
ptype_all is used in rx/tx fast paths. Move it to net_hotdata for better cache locality. Signed-off-by:Eric Dumazet <edumazet@google.com> Acked-by:
Soheil Hassas Yeganeh <soheil@google.com> Reviewed-by:
David Ahern <dsahern@kernel.org> Link: https://lore.kernel.org/r/20240306160031.874438-5-edumazet@google.com Signed-off-by:
Jakub Kicinski <kuba@kernel.org>
Showing
- include/linux/netdevice.h 0 additions, 1 deletioninclude/linux/netdevice.h
- include/net/hotdata.h 1 addition, 0 deletionsinclude/net/hotdata.h
- net/core/dev.c 7 additions, 9 deletionsnet/core/dev.c
- net/core/hotdata.c 1 addition, 0 deletionsnet/core/hotdata.c
- net/core/net-procfs.c 4 additions, 3 deletionsnet/core/net-procfs.c
Please register or sign in to comment