net: move dev_tx_weight to net_hotdata
dev_tx_weight is used in tx fast path. 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-9-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 0 additions, 1 deletionnet/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
- net/sched/sch_generic.c 2 additions, 1 deletionnet/sched/sch_generic.c
Please register or sign in to comment