Lines Matching defs:napi
450 struct napi_struct napi;
482 struct napi_struct napi;
1834 struct netdev_queue *nq, bool napi)
1857 if (napi && buf->type == MVNETA_TYPE_XDP_TX)
2028 struct xdp_buff *xdp, int sync_len, bool napi)
2035 skb_frag_page(&sinfo->frags[i]), napi);
2037 sync_len, napi);
2336 static int mvneta_rx_swbm(struct napi_struct *napi,
2426 napi_gro_receive(napi, skb);
2451 static int mvneta_rx_hwbm(struct napi_struct *napi,
2515 napi_gro_receive(napi, skb);
2566 napi_gro_receive(napi, skb);
3096 napi_schedule(&pp->napi);
3107 napi_schedule(&port->napi);
3126 static int mvneta_poll(struct napi_struct *napi, int budget)
3131 struct mvneta_port *pp = netdev_priv(napi->dev);
3135 napi_complete(napi);
3167 rx_done = mvneta_rx_hwbm(napi, pp, budget,
3170 rx_done = mvneta_rx_swbm(napi, pp, budget,
3176 napi_complete_done(napi, rx_done);
3620 napi_enable(&port->napi);
3623 napi_enable(&pp->napi);
3659 napi_disable(&port->napi);
3662 napi_disable(&pp->napi);
4210 * We have to synchronise on tha napi of each CPU except the one
4218 napi_synchronize(&other_port->napi);
4224 napi_enable(&port->napi);
4263 napi_synchronize(&port->napi);
4264 napi_disable(&port->napi);
4757 /* We have to synchronise on the napi of each CPU */
4762 napi_synchronize(&pcpu_port->napi);
4763 napi_disable(&pcpu_port->napi);
4766 napi_synchronize(&pp->napi);
4767 napi_disable(&pp->napi);
4785 /* We have to synchronise on the napi of each CPU */
4790 napi_enable(&pcpu_port->napi);
4793 napi_enable(&pp->napi);
5249 netif_napi_add(dev, &pp->napi, mvneta_poll, NAPI_POLL_WEIGHT);
5255 netif_napi_add(dev, &port->napi, mvneta_poll,