Searched refs:num_rx (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/drivers/staging/wfx/ |
D | bh.c | 241 int num_tx, num_rx; in bh_work() local 249 num_rx = bh_work_rx(wdev, 32, &stats_cnf); in bh_work() 250 stats_ind += num_rx; in bh_work() 251 if (num_rx) in bh_work() 253 } while (num_rx || num_tx); in bh_work()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/ |
D | cpsw_priv.c | 182 int num_rx, cur_budget, ch; in cpsw_rx_mq_poll() local 188 for (ch = 0, num_rx = 0; ch_map; ch_map >>= 1, ch++) { in cpsw_rx_mq_poll() 193 if (unlikely(rxv->budget > budget - num_rx)) in cpsw_rx_mq_poll() 194 cur_budget = budget - num_rx; in cpsw_rx_mq_poll() 198 num_rx += cpdma_chan_process(rxv->ch, cur_budget); in cpsw_rx_mq_poll() 199 if (num_rx >= budget) in cpsw_rx_mq_poll() 203 if (num_rx < budget) { in cpsw_rx_mq_poll() 204 napi_complete_done(napi_rx, num_rx); in cpsw_rx_mq_poll() 208 return num_rx; in cpsw_rx_mq_poll() 214 int num_rx; in cpsw_rx_poll() local [all …]
|
D | am65-cpsw-nuss.c | 839 int num_rx = 0; in am65_cpsw_nuss_rx_poll() local 843 cur_budget = budget - num_rx; in am65_cpsw_nuss_rx_poll() 849 num_rx++; in am65_cpsw_nuss_rx_poll() 852 if (num_rx >= budget) in am65_cpsw_nuss_rx_poll() 856 dev_dbg(common->dev, "%s num_rx:%d %d\n", __func__, num_rx, budget); in am65_cpsw_nuss_rx_poll() 858 if (num_rx < budget && napi_complete_done(napi_rx, num_rx)) in am65_cpsw_nuss_rx_poll() 861 return num_rx; in am65_cpsw_nuss_rx_poll()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ |
D | ethoc.c | 208 unsigned int num_rx; member 332 for (i = 0; i < dev->num_rx; i++) { in ethoc_init_ring() 333 if (i == dev->num_rx - 1) in ethoc_init_ring() 473 if (++priv->cur_rx == priv->num_rx) in ethoc_rx() 961 ring->rx_pending = priv->num_rx; in ethoc_get_ringparam() 986 priv->num_rx = ring->rx_pending; in ethoc_set_ringparam() 1137 priv->num_rx = num_bd - priv->num_tx; in ethoc_probe() 1140 priv->num_tx, priv->num_rx); in ethoc_probe()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/ |
D | bnad_ethtool.c | 450 for (i = 0; i < bnad->num_rx; i++) { in bnad_set_ringparam() 604 for (i = 0; i < bnad->num_rx; i++) { in bnad_get_strings() 630 for (i = 0; i < bnad->num_rx; i++) { in bnad_get_strings() 731 for (i = 0; i < bnad->num_rx; i++) { in bnad_get_stats_count_locked() 758 for (i = 0; i < bnad->num_rx; i++) { in bnad_per_q_stats_fill() 783 for (i = 0; i < bnad->num_rx; i++) { in bnad_per_q_stats_fill()
|
D | bnad.h | 97 #define BNAD_NUM_RXP (bnad->num_rx * bnad->num_rxp_per_rx) 294 u32 num_rx; member
|
D | bnad.c | 833 for (i = 0; i < bnad->num_rx; i++) { in bnad_isr() 1755 for (i = 0; i < bnad->num_rx; i++) { in bnad_dim_timeout() 2109 for (rx_id = 0; rx_id < bnad->num_rx; rx_id++) { in bnad_reinit_rx() 2120 for (rx_id = 0; rx_id < bnad->num_rx; rx_id++) { in bnad_reinit_rx() 2313 for (i = 0; i < bnad->num_rx; i++) { in bnad_rx_coalescing_timeo_set() 2390 for (i = 0; i < bnad->num_rx; i++) { in bnad_netdev_qstats_fill() 2530 bnad->num_rx = 1; in bnad_q_num_init() 3391 for (i = 0; i < bnad->num_rx; i++) { in bnad_netpoll() 3490 (bnad->num_rx * bnad->num_rxp_per_rx) + in bnad_init()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/ |
D | fec_main.c | 3516 fec_enet_get_queue_num(struct platform_device *pdev, int *num_tx, int *num_rx) in fec_enet_get_queue_num() argument 3520 *num_tx = *num_rx = 1; in fec_enet_get_queue_num() 3528 of_property_read_u32(np, "fsl,num-rx-queues", num_rx); in fec_enet_get_queue_num() 3537 if (*num_rx < 1 || *num_rx > FEC_ENET_MAX_RX_QS) { in fec_enet_get_queue_num() 3539 *num_rx); in fec_enet_get_queue_num() 3540 *num_rx = 1; in fec_enet_get_queue_num()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.h | 1588 u32 num_rx; member
|