diff options
| author | Eric Dumazet <edumazet@google.com> | 2024-03-06 19:00:14 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2024-03-08 08:12:41 +0300 |
| commit | 2658b5a8a4eee5fad378d0bde2f221deacbc58f1 (patch) | |
| tree | 04ee99ee98634d5fb654c935b21b2fa1351ce589 /net/core/Makefile | |
| parent | d3423ed9b89d27d0fd8386dbb9bee89728c92b87 (diff) | |
| download | linux-2658b5a8a4eee5fad378d0bde2f221deacbc58f1.tar.xz | |
net: introduce struct net_hotdata
Instead of spreading networking critical fields
all over the places, add a custom net_hotdata
structure so that we can precisely control its layout.
In this first patch, move :
- gro_normal_batch used in rx (GRO stack)
- offload_base used in rx and tx (GRO and TSO stacks)
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-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/Makefile')
| -rw-r--r-- | net/core/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/Makefile b/net/core/Makefile index 821aec06abf1..6e6548011fae 100644 --- a/net/core/Makefile +++ b/net/core/Makefile @@ -18,6 +18,7 @@ obj-y += dev.o dev_addr_lists.o dst.o netevent.o \ obj-$(CONFIG_NETDEV_ADDR_LIST_TEST) += dev_addr_lists_test.o obj-y += net-sysfs.o +obj-y += hotdata.o obj-$(CONFIG_PAGE_POOL) += page_pool.o page_pool_user.o obj-$(CONFIG_PROC_FS) += net-procfs.o obj-$(CONFIG_NET_PKTGEN) += pktgen.o |
