xref: /linux/include/net/gro_cells.h (revision 3d0fe49454652117522f60bfbefb978ba0e5300b)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _NET_GRO_CELLS_H
3 #define _NET_GRO_CELLS_H
4 
5 #include <linux/skbuff.h>
6 #include <linux/slab.h>
7 #include <linux/netdevice.h>
8 
9 struct gro_cell;
10 
11 struct gro_cells {
12 	struct gro_cell __percpu	*cells;
13 };
14 
15 int gro_cells_receive(struct gro_cells *gcells, struct sk_buff *skb);
16 int gro_cells_init(struct gro_cells *gcells, struct net_device *dev);
17 void gro_cells_destroy(struct gro_cells *gcells);
18 
19 #endif
20