drm/ast: Fix ast_dp connection status
[drm/drm-misc.git] / net / core / hotdata.c
blobd0aaaaa556f229ded4e1997bf814a2b690b46920
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 #include <linux/cache.h>
3 #include <linux/jiffies.h>
4 #include <linux/list.h>
5 #include <net/hotdata.h>
6 #include <net/proto_memory.h>
8 struct net_hotdata net_hotdata __cacheline_aligned = {
9 .offload_base = LIST_HEAD_INIT(net_hotdata.offload_base),
10 .ptype_all = LIST_HEAD_INIT(net_hotdata.ptype_all),
11 .gro_normal_batch = 8,
13 .netdev_budget = 300,
14 /* Must be at least 2 jiffes to guarantee 1 jiffy timeout */
15 .netdev_budget_usecs = 2 * USEC_PER_SEC / HZ,
17 .tstamp_prequeue = 1,
18 .max_backlog = 1000,
19 .dev_tx_weight = 64,
20 .dev_rx_weight = 64,
21 .sysctl_max_skb_frags = MAX_SKB_FRAGS,
22 .sysctl_skb_defer_max = 64,
23 .sysctl_mem_pcpu_rsv = SK_MEMORY_PCPU_RESERVE
25 EXPORT_SYMBOL(net_hotdata);