Lines Matching defs:napi
487 struct napi_struct napi;
519 struct napi_struct napi;
1870 struct netdev_queue *nq, bool napi)
1899 if (napi && buf->type == MVNETA_TYPE_XDP_TX)
2425 static int mvneta_rx_swbm(struct napi_struct *napi,
2514 napi_gro_receive(napi, skb);
2538 static int mvneta_rx_hwbm(struct napi_struct *napi,
2602 napi_gro_receive(napi, skb);
2652 napi_gro_receive(napi, skb);
3242 napi_schedule(&pp->napi);
3253 napi_schedule(&port->napi);
3272 static int mvneta_poll(struct napi_struct *napi, int budget)
3277 struct mvneta_port *pp = netdev_priv(napi->dev);
3281 napi_complete(napi);
3313 rx_done = mvneta_rx_hwbm(napi, pp, budget,
3316 rx_done = mvneta_rx_swbm(napi, pp, budget,
3322 napi_complete_done(napi, rx_done);
3763 napi_enable(&port->napi);
3766 napi_enable(&pp->napi);
3802 napi_disable(&port->napi);
3805 napi_disable(&pp->napi);
4399 * We have to synchronise on tha napi of each CPU except the one
4407 napi_synchronize(&other_port->napi);
4413 napi_enable(&port->napi);
4452 napi_synchronize(&port->napi);
4453 napi_disable(&port->napi);
4989 /* We have to synchronise on the napi of each CPU */
4994 napi_synchronize(&pcpu_port->napi);
4995 napi_disable(&pcpu_port->napi);
4998 napi_synchronize(&pp->napi);
4999 napi_disable(&pp->napi);
5017 /* We have to synchronise on the napi of each CPU */
5022 napi_enable(&pcpu_port->napi);
5025 napi_enable(&pp->napi);
5676 netif_napi_add(dev, &pp->napi, mvneta_poll);
5682 netif_napi_add(dev, &port->napi, mvneta_poll);