net: move dev_rx_weight to net_hotdata
dev_rx_weight is read from process_backlog(). 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-10-edumazet@google.com Signed-off-by:
Jakub Kicinski <kuba@kernel.org>
Showing
- include/linux/netdevice.h 0 additions, 2 deletionsinclude/linux/netdevice.h
- include/net/hotdata.h 1 addition, 0 deletionsinclude/net/hotdata.h
- net/core/dev.c 1 addition, 2 deletionsnet/core/dev.c
- net/core/hotdata.c 1 addition, 0 deletionsnet/core/hotdata.c
- net/core/sysctl_net_core.c 1 addition, 1 deletionnet/core/sysctl_net_core.c
Please register or sign in to comment