Lines Matching refs:napi
733 napi_gro_receive(&rdev->napi, skb); in rswitch_rx()
798 static int rswitch_poll(struct napi_struct *napi, int budget) in rswitch_poll() argument
800 struct net_device *ndev = napi->dev; in rswitch_poll()
821 if (napi_complete_done(napi, budget - quota)) { in rswitch_poll()
832 napi_complete(napi); in rswitch_poll()
841 if (napi_schedule_prep(&rdev->napi)) { in rswitch_queue_interrupt()
846 __napi_schedule(&rdev->napi); in rswitch_queue_interrupt()
1453 napi_enable(&rdev->napi); in rswitch_open()
1495 napi_disable(&rdev->napi); in rswitch_stop()
1739 netif_napi_add(ndev, &rdev->napi, rswitch_poll); in rswitch_device_alloc()
1774 netif_napi_del(&rdev->napi); in rswitch_device_alloc()
1787 netif_napi_del(&rdev->napi); in rswitch_device_free()