gro_cells.h 443 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _NET_GRO_CELLS_H
  3. #define _NET_GRO_CELLS_H
  4. #include <linux/skbuff.h>
  5. #include <linux/slab.h>
  6. #include <linux/netdevice.h>
  7. struct gro_cell;
  8. struct gro_cells {
  9. struct gro_cell __percpu *cells;
  10. };
  11. int gro_cells_receive(struct gro_cells *gcells, struct sk_buff *skb);
  12. int gro_cells_init(struct gro_cells *gcells, struct net_device *dev);
  13. void gro_cells_destroy(struct gro_cells *gcells);
  14. #endif