Eric Dumazet | c9e6bc6 | 2012-09-27 19:29:05 +0000 | [diff] [blame] | 1 | #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 Dumazet | 97e219b | 2017-02-07 15:37:15 -0800 | [diff] [blame] | 8 | struct gro_cell; |
Eric Dumazet | c9e6bc6 | 2012-09-27 19:29:05 +0000 | [diff] [blame] | 9 | |
| 10 | struct gro_cells { |
Martin KaFai Lau | 8834016 | 2015-01-16 10:11:00 -0800 | [diff] [blame] | 11 | struct gro_cell __percpu *cells; |
Eric Dumazet | c9e6bc6 | 2012-09-27 19:29:05 +0000 | [diff] [blame] | 12 | }; |
| 13 | |
Eric Dumazet | 97e219b | 2017-02-07 15:37:15 -0800 | [diff] [blame] | 14 | int gro_cells_receive(struct gro_cells *gcells, struct sk_buff *skb); |
| 15 | int gro_cells_init(struct gro_cells *gcells, struct net_device *dev); |
| 16 | void gro_cells_destroy(struct gro_cells *gcells); |
Eric Dumazet | c9e6bc6 | 2012-09-27 19:29:05 +0000 | [diff] [blame] | 17 | |
| 18 | #endif |