Blame view

include/net/gro_cells.h 443 Bytes
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  /* SPDX-License-Identifier: GPL-2.0 */
c9e6bc644   Eric Dumazet   net: add gro_cell...
2
3
4
5
6
7
  #ifndef _NET_GRO_CELLS_H
  #define _NET_GRO_CELLS_H
  
  #include <linux/skbuff.h>
  #include <linux/slab.h>
  #include <linux/netdevice.h>
97e219b7c   Eric Dumazet   gro_cells: move t...
8
  struct gro_cell;
c9e6bc644   Eric Dumazet   net: add gro_cell...
9
10
  
  struct gro_cells {
88340160f   Martin KaFai Lau   ip_tunnel: Create...
11
  	struct gro_cell __percpu	*cells;
c9e6bc644   Eric Dumazet   net: add gro_cell...
12
  };
97e219b7c   Eric Dumazet   gro_cells: move t...
13
14
15
  int gro_cells_receive(struct gro_cells *gcells, struct sk_buff *skb);
  int gro_cells_init(struct gro_cells *gcells, struct net_device *dev);
  void gro_cells_destroy(struct gro_cells *gcells);
c9e6bc644   Eric Dumazet   net: add gro_cell...
16
17
  
  #endif