Home
last modified time | relevance | path

Searched refs:rx_napi (Results 1 – 14 of 14) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/marvell/prestera/
Dprestera_rxtx.c101 struct napi_struct rx_napi; member
290 sdma = container_of(napi, struct prestera_sdma, rx_napi); in prestera_sdma_rx_poll()
614 napi_schedule(&sdma->rx_napi); in prestera_rxtx_handle_event()
662 netif_napi_add(&sdma->napi_dev, &sdma->rx_napi, prestera_sdma_rx_poll, 64); in prestera_sdma_switch_init()
663 napi_enable(&sdma->rx_napi); in prestera_sdma_switch_init()
681 napi_disable(&sdma->rx_napi); in prestera_sdma_switch_fini()
682 netif_napi_del(&sdma->rx_napi); in prestera_sdma_switch_fini()
/linux-5.19.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_xdp.c37 napi_disable(&ch->rx_napi); in stmmac_xdp_enable_pool()
88 napi_enable(&ch->rx_napi); in stmmac_xdp_disable_pool()
Dstmmac.h120 struct napi_struct rx_napi ____cacheline_aligned_in_smp;
Dstmmac_main.c216 napi_disable(&ch->rx_napi); in __stmmac_disable_all_queues()
265 napi_enable(&ch->rx_napi); in stmmac_enable_all_queues()
1988 napi_id = ch->rx_napi.napi_id; in __alloc_dma_rx_desc_resources()
2703 struct napi_struct *rx_napi; in stmmac_napi_check() local
2707 rx_napi = rx_q->xsk_pool ? &ch->rxtx_napi : &ch->rx_napi; in stmmac_napi_check()
2711 if (napi_schedule_prep(rx_napi)) { in stmmac_napi_check()
2715 __napi_schedule(rx_napi); in stmmac_napi_check()
5229 skb = napi_alloc_skb(&ch->rx_napi, buf1_len); in stmmac_rx()
5288 napi_gro_receive(&ch->rx_napi, skb); in stmmac_rx()
5316 container_of(napi, struct stmmac_channel, rx_napi); in stmmac_napi_poll_rx()
[all …]
Dstmmac_selftests.c805 napi_reschedule(&ch->rx_napi); in stmmac_test_flowctrl()
/linux-5.19.10/drivers/net/ethernet/sunplus/
Dspl2sw_driver.c495 netif_napi_add(ndev, &comm->rx_napi, spl2sw_rx_poll, NAPI_POLL_WEIGHT); in spl2sw_probe()
496 napi_enable(&comm->rx_napi); in spl2sw_probe()
533 napi_disable(&comm->rx_napi); in spl2sw_remove()
534 netif_napi_del(&comm->rx_napi); in spl2sw_remove()
Dspl2sw_int.c19 struct spl2sw_common *comm = container_of(napi, struct spl2sw_common, rx_napi); in spl2sw_rx_poll()
242 napi_schedule(&comm->rx_napi); in spl2sw_ethernet_interrupt()
Dspl2sw_define.h247 struct napi_struct rx_napi; member
/linux-5.19.10/drivers/infiniband/hw/hfi1/
Dnetdev.h52 struct net_device rx_napi; member
Dnetdev_rx.c191 struct net_device *dev = &rx->rx_napi; in hfi1_netdev_rxq_init()
363 init_dummy_netdev(&rx->rx_napi); in hfi1_alloc_rx()
/linux-5.19.10/drivers/net/ethernet/ti/
Dnetcp.h97 struct napi_struct rx_napi; member
Dnetcp_core.c950 rx_napi); in netcp_rx_poll()
957 napi_complete_done(&netcp->rx_napi, packets); in netcp_rx_poll()
969 napi_schedule(&netcp->rx_napi); in netcp_rx_notify()
1722 napi_enable(&netcp->rx_napi); in netcp_ndo_open()
1757 napi_disable(&netcp->rx_napi); in netcp_ndo_stop()
2098 netif_napi_add(ndev, &netcp->rx_napi, netcp_rx_poll, NAPI_POLL_WEIGHT); in netcp_create_interface()
/linux-5.19.10/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c1764 struct mtk_eth *eth = container_of(napi, struct mtk_eth, rx_napi); in mtk_napi_rx()
2429 if (likely(napi_schedule_prep(&eth->rx_napi))) { in mtk_handle_irq_rx()
2430 __napi_schedule(&eth->rx_napi); in mtk_handle_irq_rx()
2577 napi_enable(&eth->rx_napi); in mtk_open()
2633 napi_disable(&eth->rx_napi); in mtk_stop()
3635 netif_napi_add(&eth->dummy_dev, &eth->rx_napi, mtk_napi_rx, in mtk_probe()
3670 netif_napi_del(&eth->rx_napi); in mtk_remove()
Dmtk_eth_soc.h1058 struct napi_struct rx_napi; member