Home
last modified time | relevance | path

Searched refs:pkts_polled (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfd3/
H A Dxsk.c123 int pkts_polled = 0; in nfp_nfd3_xsk_rx() local
128 while (pkts_polled < budget) { in nfp_nfd3_xsk_rx()
142 pkts_polled++; in nfp_nfd3_xsk_rx()
264 return pkts_polled; in nfp_nfd3_xsk_rx()
391 unsigned int pkts_polled, skbs = 0; in nfp_nfd3_xsk_poll() local
393 pkts_polled = nfp_nfd3_xsk_rx(r_vec->rx_ring, budget, &skbs); in nfp_nfd3_xsk_poll()
395 if (pkts_polled < budget) { in nfp_nfd3_xsk_poll()
400 pkts_polled = budget; in nfp_nfd3_xsk_poll()
404 if (pkts_polled < budget && napi_complete_done(napi, skbs)) in nfp_nfd3_xsk_poll()
408 return pkts_polled; in nfp_nfd3_xsk_poll()
H A Ddp.c909 int idx, pkts_polled = 0; in nfp_nfd3_rx() local
921 while (pkts_polled < budget) { in nfp_nfd3_rx()
946 pkts_polled++; in nfp_nfd3_rx()
1139 pkts_polled = budget; in nfp_nfd3_rx()
1142 return pkts_polled; in nfp_nfd3_rx()
1156 unsigned int pkts_polled = 0; in nfp_nfd3_poll() local
1161 pkts_polled = nfp_nfd3_rx(r_vec->rx_ring, budget); in nfp_nfd3_poll()
1163 if (pkts_polled < budget) in nfp_nfd3_poll()
1164 if (napi_complete_done(napi, pkts_polled)) in nfp_nfd3_poll()
1197 return pkts_polled; in nfp_nfd3_poll()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfdk/
H A Ddp.c1033 int pkts_polled = 0; in nfp_nfdk_rx() local
1043 while (pkts_polled < budget) { in nfp_nfdk_rx()
1068 pkts_polled++; in nfp_nfdk_rx()
1249 pkts_polled = budget; in nfp_nfdk_rx()
1252 return pkts_polled; in nfp_nfdk_rx()
1266 unsigned int pkts_polled = 0; in nfp_nfdk_poll() local
1271 pkts_polled = nfp_nfdk_rx(r_vec->rx_ring, budget); in nfp_nfdk_poll()
1273 if (pkts_polled < budget) in nfp_nfdk_poll()
1274 if (napi_complete_done(napi, pkts_polled)) in nfp_nfdk_poll()
1307 return pkts_polled; in nfp_nfdk_poll()