blob: fcaf8f47913054543e97d606518f78eabf0659e1 [file] [log] [blame]
Eric Dumazetc9e6bc62012-09-27 19:29:05 +00001#ifndef _NET_GRO_CELLS_H
2#define _NET_GRO_CELLS_H
3
4#include <linux/skbuff.h>
5#include <linux/slab.h>
6#include <linux/netdevice.h>
7
Eric Dumazet97e219b2017-02-07 15:37:15 -08008struct gro_cell;
Eric Dumazetc9e6bc62012-09-27 19:29:05 +00009
10struct gro_cells {
Martin KaFai Lau88340162015-01-16 10:11:00 -080011 struct gro_cell __percpu *cells;
Eric Dumazetc9e6bc62012-09-27 19:29:05 +000012};
13
Eric Dumazet97e219b2017-02-07 15:37:15 -080014int gro_cells_receive(struct gro_cells *gcells, struct sk_buff *skb);
15int gro_cells_init(struct gro_cells *gcells, struct net_device *dev);
16void gro_cells_destroy(struct gro_cells *gcells);
Eric Dumazetc9e6bc62012-09-27 19:29:05 +000017
18#endif