Lines Matching refs:napi
507 * enabled before using the private data napi structure.
512 if (napi_schedule_prep(&pdata->napi)) {
517 __napi_schedule(&pdata->napi);
622 * channel napi structure and not the private data napi structure
624 if (napi_schedule_prep(&channel->napi)) {
632 __napi_schedule_irqoff(&channel->napi);
648 struct napi_struct *napi;
652 napi = (pdata->per_channel_irq) ? &channel->napi : &pdata->napi;
654 if (napi_schedule_prep(napi)) {
665 __napi_schedule(napi);
968 netif_napi_add(pdata->netdev, &channel->napi,
971 napi_enable(&channel->napi);
975 netif_napi_add(pdata->netdev, &pdata->napi,
978 napi_enable(&pdata->napi);
990 napi_disable(&channel->napi);
993 netif_napi_del(&channel->napi);
996 napi_disable(&pdata->napi);
999 netif_napi_del(&pdata->napi);
2352 struct napi_struct *napi,
2359 skb = napi_alloc_skb(napi, rdata->rx.hdr.dma_len);
2494 struct napi_struct *napi;
2511 napi = (pdata->per_channel_irq) ? &channel->napi : &pdata->napi;
2579 skb = xgbe_create_skb(pdata, napi, rdata,
2666 napi_gro_receive(napi, skb);
2686 static int xgbe_one_poll(struct napi_struct *napi, int budget)
2688 struct xgbe_channel *channel = container_of(napi, struct xgbe_channel,
2689 napi);
2702 if ((processed < budget) && napi_complete_done(napi, processed)) {
2715 static int xgbe_all_poll(struct napi_struct *napi, int budget)
2717 struct xgbe_prv_data *pdata = container_of(napi, struct xgbe_prv_data,
2718 napi);
2745 if ((processed < budget) && napi_complete_done(napi, processed)) {