Home
last modified time | relevance | path

Searched refs:napi (Results 1 – 20 of 20) sorted by relevance

/device/soc/rockchip/rk3588/kernel/drivers/net/ethernet/realtek/r8168/
Dr8168.h137 #define RTL_ALLOC_SKB_INTR(tp, length) napi_alloc_skb(&tp->napi, length)
536 #define napi dev macro
545 #define RTL_NETIF_RX_COMPLETE(dev, napi, work_done) netif_rx_complete(dev) argument
546 #define RTL_NETIF_RX_SCHEDULE_PREP(dev, napi) netif_rx_schedule_prep(dev) argument
547 #define __RTL_NETIF_RX_SCHEDULE(dev, napi) __netif_rx_schedule(dev) argument
549 #define RTL_NAPI_ENABLE(dev, napi) netif_poll_enable(dev) argument
550 #define RTL_NAPI_DISABLE(dev, napi) netif_poll_disable(dev) argument
556 #define RTL_NAPI_CONFIG(ndev, priv, function, weight) netif_napi_add(ndev, &priv->napi, function,…
563 #define RTL_NETIF_RX_COMPLETE(dev, napi, work_done) netif_rx_complete(dev, napi) argument
564 #define RTL_NETIF_RX_SCHEDULE_PREP(dev, napi) netif_rx_schedule_prep(dev, napi) argument
[all …]
Dr8168_n.c583 static int rtl8168_poll(napi_ptr napi, napi_budget budget);
25810 RTL_NAPI_ENABLE(dev, &tp->napi); in rtl8168_open()
27054 RTL_NAPI_ENABLE(dev, &tp->napi); in rtl8168_change_mtu()
27368 RTL_NAPI_DISABLE(dev, &tp->napi); in rtl8168_wait_for_quiescence()
27376 RTL_NAPI_ENABLE(dev, &tp->napi); in rtl8168_wait_for_quiescence()
28052 napi_gro_receive(&tp->napi, skb);
28314 if (likely(RTL_NETIF_RX_SCHEDULE_PREP(dev, &tp->napi)))
28315 __RTL_NETIF_RX_SCHEDULE(dev, &tp->napi);
28357 static int rtl8168_poll(napi_ptr napi, napi_budget budget) argument
28359 struct rtl8168_private *tp = RTL_GET_PRIV(napi, struct rtl8168_private);
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/linux/
Drecv_linux.c410 rtw_napi_gro_receive(&padapter->napi, pskb); in napi_recv()
413 if (rtw_napi_gro_receive(&padapter->napi, pskb) != GRO_DROP) in napi_recv()
435 int rtw_recv_napi_poll(struct napi_struct *napi, int budget) in rtw_recv_napi_poll() argument
437 _adapter *padapter = container_of(napi, _adapter, napi); in rtw_recv_napi_poll()
445 napi_complete_done(napi, work_done); in rtw_recv_napi_poll()
447 napi_complete(napi); in rtw_recv_napi_poll()
450 napi_schedule(napi); in rtw_recv_napi_poll()
601 napi_schedule(&padapter->napi); in rtw_os_recv_indicate_pkt()
Dos_intfs.c2213 netif_napi_add(ndev, &adapter->napi, rtw_recv_napi_poll, RTL_NAPI_WEIGHT); in rtw_os_ndev_register()
2266 netif_napi_del(&adapter->napi); in rtw_os_ndev_register()
2308 napi_disable(&adapter->napi); in rtw_os_ndev_unregister()
2311 netif_napi_del(&adapter->napi); in rtw_os_ndev_unregister()
3341 napi_enable(&padapter->napi);
3366 napi_disable(&padapter->napi);
4001 napi_enable(&padapter->napi);
4032 napi_disable(&padapter->napi);
4098 napi_enable(&padapter->napi);
4176 napi_disable(&padapter->napi);
Drtw_proc.c4069 u8 napi = 0, gro = 0; in proc_get_napi_info() local
4077 napi = 1; in proc_get_napi_info()
4087 if (napi) { in proc_get_napi_info()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/gmac/
Dsunxi-gmac.c433 struct napi_struct napi; member
1605 napi_disable(&chip->napi); in sunxi_gmac_stop()
1743 napi_enable(&chip->napi); in sunxi_gmac_open()
1978 if (likely(napi_schedule_prep(&chip->napi))) { in sunxi_gmac_schedule()
1980 __napi_schedule(&chip->napi); in sunxi_gmac_schedule()
2211 napi_gro_receive(&chip->napi, skb); in sunxi_gmac_rx()
2228 static int sunxi_gmac_poll(struct napi_struct *napi, int budget) in sunxi_gmac_poll() argument
2230 struct sunxi_gmac *chip = container_of(napi, struct sunxi_gmac, napi); in sunxi_gmac_poll()
2237 napi_complete(napi); in sunxi_gmac_poll()
2879 netif_napi_add(ndev, &chip->napi, sunxi_gmac_poll, SUNXI_GMAC_BUDGET); in sunxi_gmac_probe()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/
Dosdep_service.h181 gro_result_t dbg_rtw_napi_gro_receive(struct napi_struct *napi, struct sk_buff *skb, const enum mst…
224 #define rtw_napi_gro_receive(napi, skb) dbg_rtw_napi_gro_receive(napi, skb, MSTAT_TYPE_SKB, __FUNCT… argument
257 gro_result_t _rtw_napi_gro_receive(struct napi_struct *napi, struct sk_buff *skb);
301 #define rtw_napi_gro_receive(napi, skb) _rtw_napi_gro_receive(napi, skb) argument
Ddrv_types.h1755 struct napi_struct napi; member
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Ddhd_linux_priv.h400 int dhd_napi_poll(struct napi_struct *napi, int budget);
Ddhd_linux_lb.c986 int dhd_napi_poll(struct napi_struct *napi, int budget) in dhd_napi_poll() argument
1001 dhd = container_of(napi, struct dhd_info, rx_napi_struct); in dhd_napi_poll()
1030 napi_complete(napi); in dhd_napi_poll()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Ddhd_linux_priv.h395 int dhd_napi_poll(struct napi_struct *napi, int budget);
Ddhd_linux_lb.c972 dhd_napi_poll(struct napi_struct *napi, int budget) in dhd_napi_poll() argument
987 dhd = container_of(napi, struct dhd_info, rx_napi_struct); in dhd_napi_poll()
1016 napi_complete(napi); in dhd_napi_poll()
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Ddhd_linux_lb.c967 dhd_napi_poll(struct napi_struct *napi, int budget) in dhd_napi_poll() argument
982 dhd = container_of(napi, struct dhd_info, rx_napi_struct); in dhd_napi_poll()
1042 napi_complete(napi); in dhd_napi_poll()
Ddhd_linux_priv.h470 int dhd_napi_poll(struct napi_struct *napi, int budget);
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/
Drx.c2489 if (rx->napi) in ieee80211_deliver_skb_to_local_stack()
2490 napi_gro_receive(rx->napi, skb); in ieee80211_deliver_skb_to_local_stack()
3767 .napi = NULL, /* must be NULL to not have races */ in ieee80211_release_reorder_timeout()
4378 if (rx->napi) in ieee80211_invoke_fast_rx()
4379 napi_gro_receive(rx->napi, skb); in ieee80211_invoke_fast_rx()
4450 struct napi_struct *napi) in __ieee80211_rx_handle_packet() argument
4465 rx.napi = napi; in __ieee80211_rx_handle_packet()
4574 struct sk_buff *skb, struct napi_struct *napi) in mac80211_rx_napi() argument
4688 __ieee80211_rx_handle_packet(hw, pubsta, skb, napi); in mac80211_rx_napi()
Dieee80211_i.h223 struct napi_struct *napi; member
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/
Dosdep_service.c560 inline gro_result_t _rtw_napi_gro_receive(struct napi_struct *napi, struct sk_buff *skb) in _rtw_napi_gro_receive() argument
563 return napi_gro_receive(napi, skb); in _rtw_napi_gro_receive()
995 inline gro_result_t dbg_rtw_napi_gro_receive(struct napi_struct *napi, struct sk_buff *skb, const e… in dbg_rtw_napi_gro_receive() argument
1003 ret = _rtw_napi_gro_receive(napi, skb); in dbg_rtw_napi_gro_receive()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/rtl8822c/sdio/
Drtl8822cs_recv.c537 napi_schedule(&a->napi); in rtl8822cs_recv_hdl()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/include/net/
Dmac80211.h4341 struct sk_buff *skb, struct napi_struct *napi);
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Ddhd_linux.c2907 dhd_napi_poll(struct napi_struct *napi, int budget) in dhd_napi_poll() argument
2922 dhd = container_of(napi, struct dhd_info, rx_napi_struct); in dhd_napi_poll()
2951 napi_complete(napi); in dhd_napi_poll()