Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/marvell/prestera/
Dprestera_rxtx.c98 struct napi_struct rx_napi; member
287 sdma = container_of(napi, struct prestera_sdma, rx_napi); in prestera_sdma_rx_poll()
611 napi_schedule(&sdma->rx_napi); in prestera_rxtx_handle_event()
659 netif_napi_add(&sdma->napi_dev, &sdma->rx_napi, prestera_sdma_rx_poll); in prestera_sdma_switch_init()
660 napi_enable(&sdma->rx_napi); in prestera_sdma_switch_init()
678 napi_disable(&sdma->rx_napi); in prestera_sdma_switch_fini()
679 netif_napi_del(&sdma->rx_napi); in prestera_sdma_switch_fini()
/linux-6.6.21/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.h128 struct napi_struct rx_napi ____cacheline_aligned_in_smp;
Dstmmac_main.c220 napi_disable(&ch->rx_napi); in __stmmac_disable_all_queues()
269 napi_enable(&ch->rx_napi); in stmmac_enable_all_queues()
2082 napi_id = ch->rx_napi.napi_id; in __alloc_dma_rx_desc_resources()
2811 struct napi_struct *rx_napi; in stmmac_napi_check() local
2815 rx_napi = rx_q->xsk_pool ? &ch->rxtx_napi : &ch->rx_napi; in stmmac_napi_check()
2819 if (napi_schedule_prep(rx_napi)) { in stmmac_napi_check()
2823 __napi_schedule(rx_napi); in stmmac_napi_check()
5474 skb = napi_alloc_skb(&ch->rx_napi, buf1_len); in stmmac_rx()
5533 napi_gro_receive(&ch->rx_napi, skb); in stmmac_rx()
5567 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-6.6.21/drivers/net/ethernet/sunplus/
Dspl2sw_driver.c495 netif_napi_add(ndev, &comm->rx_napi, spl2sw_rx_poll); 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-6.6.21/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-6.6.21/drivers/net/ethernet/mediatek/
Dmtk_star_emac.c268 struct napi_struct rx_napi; member
777 napi_schedule_prep(&priv->rx_napi); in mtk_star_handle_irq()
788 __napi_schedule(&priv->rx_napi); in mtk_star_handle_irq()
1007 napi_enable(&priv->rx_napi); in mtk_star_enable()
1028 napi_disable(&priv->rx_napi); in mtk_star_enable()
1043 napi_disable(&priv->rx_napi); in mtk_star_disable()
1346 priv = container_of(napi, struct mtk_star_priv, rx_napi); in mtk_star_rx_poll()
1649 netif_napi_add(ndev, &priv->rx_napi, mtk_star_rx_poll); in mtk_star_probe()
Dmtk_eth_soc.c1711 eth->rx_napi.napi_id, PAGE_SIZE); in mtk_create_page_pool()
2412 struct mtk_eth *eth = container_of(napi, struct mtk_eth, rx_napi); in mtk_napi_rx()
3173 if (likely(napi_schedule_prep(&eth->rx_napi))) { in mtk_handle_irq_rx()
3175 __napi_schedule(&eth->rx_napi); in mtk_handle_irq_rx()
3385 napi_enable(&eth->rx_napi); in mtk_open()
3473 napi_disable(&eth->rx_napi); in mtk_stop()
4985 netif_napi_add(&eth->dummy_dev, &eth->rx_napi, mtk_napi_rx); in mtk_probe()
5027 netif_napi_del(&eth->rx_napi); in mtk_remove()
Dmtk_eth_soc.h1261 struct napi_struct rx_napi; member
/linux-6.6.21/drivers/net/ethernet/broadcom/asp2/
Dbcmasp_intf.c381 napi_enable(&intf->rx_napi); in bcmasp_netif_start()
499 container_of(napi, struct bcmasp_intf, rx_napi); in bcmasp_rx_poll()
597 napi_complete_done(&intf->rx_napi, processed); in bcmasp_rx_poll()
706 netif_napi_add(intf->ndev, &intf->rx_napi, bcmasp_rx_poll); in bcmasp_init_rx()
908 napi_disable(&intf->rx_napi); in bcmasp_netif_deinit()
917 netif_napi_del(&intf->rx_napi); in bcmasp_netif_deinit()
Dbcmasp.h314 struct napi_struct rx_napi; member
Dbcmasp.c70 if (likely(napi_schedule_prep(&intf->rx_napi))) { in bcmasp_intr2_handling()
72 __napi_schedule_irqoff(&intf->rx_napi); in bcmasp_intr2_handling()
/linux-6.6.21/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); in netcp_create_interface()