diff options
author | Eric Dumazet <edumazet@google.com> | 2021-11-15 09:05:54 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-16 13:16:54 +0000 |
commit | 587652bbdd06ab38a4c1b85e40f933d2cf4a1147 (patch) | |
tree | a5ce4facf54cc2ecedad1c80888191cede81087f /include/linux/netdevice.h | |
parent | net: gro: move skb_gro_receive into net/core/gro.c (diff) | |
download | linux-dev-587652bbdd06ab38a4c1b85e40f933d2cf4a1147.tar.xz linux-dev-587652bbdd06ab38a4c1b85e40f933d2cf4a1147.zip |
net: gro: populate net/core/gro.c
Move gro code and data from net/core/dev.c to net/core/gro.c
to ease maintenance.
gro_normal_list() and gro_normal_one() are inlined
because they are called from both files.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 93d397db9ec4..31a7e6b27681 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -3657,6 +3657,7 @@ int netif_rx_ni(struct sk_buff *skb); int netif_rx_any_context(struct sk_buff *skb); int netif_receive_skb(struct sk_buff *skb); int netif_receive_skb_core(struct sk_buff *skb); +void netif_receive_skb_list_internal(struct list_head *head); void netif_receive_skb_list(struct list_head *head); gro_result_t napi_gro_receive(struct napi_struct *napi, struct sk_buff *skb); void napi_gro_flush(struct napi_struct *napi, bool flush_old); |