Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/hw/hfi1/
Dnetdev_rx.c191 struct net_device *dev = rx->rx_napi; in hfi1_netdev_rxq_init()
363 rx->rx_napi = alloc_netdev_dummy(0); in hfi1_alloc_rx()
364 if (!rx->rx_napi) { in hfi1_alloc_rx()
381 free_netdev(dd->netdev_rx->rx_napi); in hfi1_free_rx()
Dnetdev.h52 struct net_device *rx_napi; member
/linux-6.12.1/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()
664 netif_napi_add(sdma->napi_dev, &sdma->rx_napi, prestera_sdma_rx_poll); in prestera_sdma_switch_init()
665 napi_enable(&sdma->rx_napi); in prestera_sdma_switch_init()
686 napi_disable(&sdma->rx_napi); in prestera_sdma_switch_fini()
687 netif_napi_del(&sdma->rx_napi); in prestera_sdma_switch_fini()
/linux-6.12.1/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.h141 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()
2084 napi_id = ch->rx_napi.napi_id; in __alloc_dma_rx_desc_resources()
2888 struct napi_struct *rx_napi; in stmmac_napi_check() local
2892 rx_napi = rx_q->xsk_pool ? &ch->rxtx_napi : &ch->rx_napi; in stmmac_napi_check()
2896 if (napi_schedule_prep(rx_napi)) { in stmmac_napi_check()
2900 __napi_schedule(rx_napi); in stmmac_napi_check()
5599 skb = napi_alloc_skb(&ch->rx_napi, buf1_len); in stmmac_rx()
5665 napi_gro_receive(&ch->rx_napi, skb); in stmmac_rx()
5699 container_of(napi, struct stmmac_channel, rx_napi); in stmmac_napi_poll_rx()
[all …]
Dstmmac_selftests.c805 napi_schedule(&ch->rx_napi); in stmmac_test_flowctrl()
/linux-6.12.1/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.12.1/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()
1650 netif_napi_add(ndev, &priv->rx_napi, mtk_star_rx_poll); in mtk_star_probe()
Dmtk_eth_soc.c1729 eth->rx_napi.napi_id, PAGE_SIZE); in mtk_create_page_pool()
2432 struct mtk_eth *eth = container_of(napi, struct mtk_eth, rx_napi); in mtk_napi_rx()
3197 if (likely(napi_schedule_prep(&eth->rx_napi))) { in mtk_handle_irq_rx()
3199 __napi_schedule(&eth->rx_napi); in mtk_handle_irq_rx()
3422 napi_enable(&eth->rx_napi); in mtk_open()
3511 napi_disable(&eth->rx_napi); in mtk_stop()
5045 netif_napi_add(eth->dummy_dev, &eth->rx_napi, mtk_napi_rx); in mtk_probe()
5089 netif_napi_del(&eth->rx_napi); in mtk_remove()
Dmtk_eth_soc.h1256 struct napi_struct rx_napi; member
/linux-6.12.1/drivers/net/ethernet/broadcom/asp2/
Dbcmasp_intf.c382 napi_enable(&intf->rx_napi); in bcmasp_netif_start()
508 container_of(napi, struct bcmasp_intf, rx_napi); in bcmasp_rx_poll()
606 napi_complete_done(&intf->rx_napi, processed); in bcmasp_rx_poll()
906 napi_disable(&intf->rx_napi); in bcmasp_netif_deinit()
914 netif_napi_del(&intf->rx_napi); in bcmasp_netif_deinit()
1072 netif_napi_add(intf->ndev, &intf->rx_napi, bcmasp_rx_poll); in bcmasp_netif_init()
Dbcmasp.h326 struct napi_struct rx_napi; member
Dbcmasp.c84 if (likely(napi_schedule_prep(&intf->rx_napi))) { in bcmasp_intr2_handling()
86 __napi_schedule_irqoff(&intf->rx_napi); in bcmasp_intr2_handling()
/linux-6.12.1/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()