blob: 596688b67a2a898a513e0e6e85bf349ad2a1ba2c [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001/* 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
9struct gro_cell;
10
11struct gro_cells {
12 struct gro_cell __percpu *cells;
13};
14
15int gro_cells_receive(struct gro_cells *gcells, struct sk_buff *skb);
16int gro_cells_init(struct gro_cells *gcells, struct net_device *dev);
17void gro_cells_destroy(struct gro_cells *gcells);
18
19#endif