diff options
author | Eric Dumazet <edumazet@google.com> | 2024-03-06 16:00:18 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-03-07 21:12:42 -0800 |
commit | edbc666cdcbf4a80ada4311c272a2078af87b880 (patch) | |
tree | 61104dd905b4d0eb4e81c7b88e56fc6be31f3f21 /include/net/hotdata.h | |
parent | 0b91fa4bfb1caedd01cb6eb3b733cbc77c9edb0e (diff) |
net: move netdev_max_backlog to net_hotdata
netdev_max_backlog is used in rx fat path.
Move it to net_hodata 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-6-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/hotdata.h')
-rw-r--r-- | include/net/hotdata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/hotdata.h b/include/net/hotdata.h index d462cb8f16ba..dc50b200a94b 100644 --- a/include/net/hotdata.h +++ b/include/net/hotdata.h @@ -12,6 +12,7 @@ struct net_hotdata { int netdev_budget; int netdev_budget_usecs; int tstamp_prequeue; + int max_backlog; }; extern struct net_hotdata net_hotdata; |