summaryrefslogtreecommitdiff
path: root/net/core/hotdata.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/core/hotdata.c')
-rw-r--r--net/core/hotdata.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/core/hotdata.c b/net/core/hotdata.c
new file mode 100644
index 000000000000..abb8ad19d59a
--- /dev/null
+++ b/net/core/hotdata.c
@@ -0,0 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+#include <net/hotdata.h>
+#include <linux/cache.h>
+#include <linux/list.h>
+
+struct net_hotdata net_hotdata __cacheline_aligned = {
+ .offload_base = LIST_HEAD_INIT(net_hotdata.offload_base),
+ .gro_normal_batch = 8,
+};