^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #ifndef _NET_GRO_CELLS_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #define _NET_GRO_CELLS_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #include <linux/skbuff.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) #include <linux/slab.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) #include <linux/netdevice.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) struct gro_cell;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) struct gro_cells {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) struct gro_cell __percpu *cells;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) int gro_cells_receive(struct gro_cells *gcells, struct sk_buff *skb);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) int gro_cells_init(struct gro_cells *gcells, struct net_device *dev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) void gro_cells_destroy(struct gro_cells *gcells);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #endif