]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: move dev_tx_weight to net_hotdata
authorEric Dumazet <edumazet@google.com>
Wed, 6 Mar 2024 16:00:21 +0000 (16:00 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 8 Mar 2024 05:12:42 +0000 (21:12 -0800)
commit26722dc74bf08fd79564cbcad1e5f3e2aa3bf9cc
tree6248466ea462cdaa30d2f03e2e6001ce9110464e
parent0139806eebd6bcf6a3df98950cd0691aff216304
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>
include/linux/netdevice.h
include/net/hotdata.h
net/core/dev.c
net/core/hotdata.c
net/core/sysctl_net_core.c
net/sched/sch_generic.c