[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211115170554.3645322-1-eric.dumazet@gmail.com>
Date: Mon, 15 Nov 2021 09:05:50 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>
Cc: netdev <netdev@...r.kernel.org>,
Eric Dumazet <edumazet@...gle.com>,
Eric Dumazet <eric.dumazet@...il.com>
Subject: [PATCH net-next 0/4] gro: get out of core files
From: Eric Dumazet <edumazet@...gle.com>
Move GRO related content into net/core/gro.c
and include/net/gro.h.
This reduces GRO scope to where it is really needed,
and shrinks too big files (include/linux/netdevice.h
and net/core/dev.c)
Eric Dumazet (4):
net: move gro definitions to include/net/gro.h
net: gro: move skb_gro_receive_list to udp_offload.c
net: gro: move skb_gro_receive into net/core/gro.c
net: gro: populate net/core/gro.c
.../net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 1 +
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 1 +
.../net/ethernet/hisilicon/hns3/hns3_enet.c | 1 +
.../net/ethernet/mellanox/mlx5/core/en_rx.c | 1 +
drivers/net/ethernet/qlogic/qede/qede_fp.c | 1 +
drivers/net/geneve.c | 1 +
drivers/net/vxlan.c | 1 +
include/linux/netdevice.h | 351 +-------
include/net/gro.h | 420 +++++++++-
include/net/ip.h | 8 -
include/net/ip6_checksum.h | 8 -
include/net/udp.h | 24 -
net/core/Makefile | 2 +-
net/core/dev.c | 668 +--------------
net/core/gro.c | 766 ++++++++++++++++++
net/core/skbuff.c | 142 ----
net/ipv4/af_inet.c | 1 +
net/ipv4/esp4_offload.c | 1 +
net/ipv4/fou.c | 1 +
net/ipv4/gre_offload.c | 1 +
net/ipv4/tcp_offload.c | 1 +
net/ipv4/udp_offload.c | 28 +
net/ipv6/esp6_offload.c | 1 +
net/ipv6/tcpv6_offload.c | 1 +
net/ipv6/udp_offload.c | 1 +
25 files changed, 1230 insertions(+), 1202 deletions(-)
create mode 100644 net/core/gro.c
--
2.34.0.rc1.387.gb447b232ab-goog
Powered by blists - more mailing lists