mbox series

[net-next,0/4] gro: get out of core files

Message ID 20211115170554.3645322-1-eric.dumazet@gmail.com (mailing list archive)
Headers show
Series gro: get out of core files | expand

Message

Eric Dumazet Nov. 15, 2021, 5:05 p.m. UTC
From: Eric Dumazet <edumazet@google.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

Comments

patchwork-bot+netdevbpf@kernel.org Nov. 16, 2021, 1:30 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

On Mon, 15 Nov 2021 09:05:50 -0800 you wrote:
> From: Eric Dumazet <edumazet@google.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)
> 
> [...]

Here is the summary with links:
  - [net-next,1/4] net: move gro definitions to include/net/gro.h
    https://git.kernel.org/netdev/net-next/c/4721031c3559
  - [net-next,2/4] net: gro: move skb_gro_receive_list to udp_offload.c
    https://git.kernel.org/netdev/net-next/c/0b935d7f8c07
  - [net-next,3/4] net: gro: move skb_gro_receive into net/core/gro.c
    https://git.kernel.org/netdev/net-next/c/e456a18a390b
  - [net-next,4/4] net: gro: populate net/core/gro.c
    https://git.kernel.org/netdev/net-next/c/587652bbdd06

You are awesome, thank you!