Lines Matching full:cell
15 struct gro_cell *cell; in gro_cells_receive() local
27 cell = this_cpu_ptr(gcells->cells); in gro_cells_receive()
29 if (skb_queue_len(&cell->napi_skbs) > READ_ONCE(netdev_max_backlog)) { in gro_cells_receive()
37 __skb_queue_tail(&cell->napi_skbs, skb); in gro_cells_receive()
38 if (skb_queue_len(&cell->napi_skbs) == 1) in gro_cells_receive()
39 napi_schedule(&cell->napi); in gro_cells_receive()
52 struct gro_cell *cell = container_of(napi, struct gro_cell, napi); in gro_cell_poll() local
57 skb = __skb_dequeue(&cell->napi_skbs); in gro_cell_poll()
78 struct gro_cell *cell = per_cpu_ptr(gcells->cells, i); in gro_cells_init() local
80 __skb_queue_head_init(&cell->napi_skbs); in gro_cells_init()
82 set_bit(NAPI_STATE_NO_BUSY_POLL, &cell->napi.state); in gro_cells_init()
84 netif_napi_add(dev, &cell->napi, gro_cell_poll); in gro_cells_init()
85 napi_enable(&cell->napi); in gro_cells_init()
113 struct gro_cell *cell = per_cpu_ptr(gcells->cells, i); in gro_cells_destroy() local
115 napi_disable(&cell->napi); in gro_cells_destroy()
116 __netif_napi_del(&cell->napi); in gro_cells_destroy()
117 __skb_queue_purge(&cell->napi_skbs); in gro_cells_destroy()