xref: /linux-6.15/include/net/hotdata.h (revision edbc666c)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 #ifndef _NET_HOTDATA_H
3 #define _NET_HOTDATA_H
4 
5 #include <linux/types.h>
6 
7 /* Read mostly data used in network fast paths. */
8 struct net_hotdata {
9 	struct list_head	offload_base;
10 	struct list_head	ptype_all;
11 	int			gro_normal_batch;
12 	int			netdev_budget;
13 	int			netdev_budget_usecs;
14 	int			tstamp_prequeue;
15 	int			max_backlog;
16 };
17 
18 extern struct net_hotdata net_hotdata;
19 
20 #endif /* _NET_HOTDATA_H */
21