]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/net/gro_cells.h
net/mlx5e: Rx, Fix checksum calculation for new hardware
[mirror_ubuntu-bionic-kernel.git] / include / net / gro_cells.h
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