Home
last modified time | relevance | path

Searched refs:num_rx (Results 1 – 7 of 7) sorted by relevance

/drivers/net/ethernet/
Dethoc.c211 unsigned int num_rx; member
333 for (i = 0; i < dev->num_rx; i++) { in ethoc_init_ring()
334 if (i == dev->num_rx - 1) in ethoc_init_ring()
474 if (++priv->cur_rx == priv->num_rx) in ethoc_rx()
950 ring->rx_pending = priv->num_rx; in ethoc_get_ringparam()
975 priv->num_rx = ring->rx_pending; in ethoc_set_ringparam()
1130 priv->num_rx = num_bd - priv->num_tx; in ethoc_probe()
1133 priv->num_tx, priv->num_rx); in ethoc_probe()
/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c468 for (i = 0; i < bnad->num_rx; i++) { in bnad_set_ringparam()
622 for (i = 0; i < bnad->num_rx; i++) { in bnad_get_strings()
648 for (i = 0; i < bnad->num_rx; i++) { in bnad_get_strings()
749 for (i = 0; i < bnad->num_rx; i++) { in bnad_get_stats_count_locked()
776 for (i = 0; i < bnad->num_rx; i++) { in bnad_per_q_stats_fill()
801 for (i = 0; i < bnad->num_rx; i++) { in bnad_per_q_stats_fill()
Dbnad.h107 #define BNAD_NUM_RXP (bnad->num_rx * bnad->num_rxp_per_rx)
305 u32 num_rx; member
Dbnad.c848 for (i = 0; i < bnad->num_rx; i++) { in bnad_isr()
1770 for (i = 0; i < bnad->num_rx; i++) { in bnad_dim_timeout()
2126 for (rx_id = 0; rx_id < bnad->num_rx; rx_id++) { in bnad_reinit_rx()
2137 for (rx_id = 0; rx_id < bnad->num_rx; rx_id++) { in bnad_reinit_rx()
2330 for (i = 0; i < bnad->num_rx; i++) { in bnad_rx_coalescing_timeo_set()
2407 for (i = 0; i < bnad->num_rx; i++) { in bnad_netdev_qstats_fill()
2552 bnad->num_rx = 1; in bnad_q_num_init()
3422 for (i = 0; i < bnad->num_rx; i++) { in bnad_netpoll()
3517 (bnad->num_rx * bnad->num_rxp_per_rx) + in bnad_init()
/drivers/net/ethernet/freescale/
Dfec_main.c3278 fec_enet_get_queue_num(struct platform_device *pdev, int *num_tx, int *num_rx) in fec_enet_get_queue_num() argument
3283 *num_tx = *num_rx = 1; in fec_enet_get_queue_num()
3293 err = of_property_read_u32(np, "fsl,num-rx-queues", num_rx); in fec_enet_get_queue_num()
3295 *num_rx = 1; in fec_enet_get_queue_num()
3304 if (*num_rx < 1 || *num_rx > FEC_ENET_MAX_RX_QS) { in fec_enet_get_queue_num()
3306 *num_rx); in fec_enet_get_queue_num()
3307 *num_rx = 1; in fec_enet_get_queue_num()
/drivers/net/ethernet/ti/
Dcpsw.c816 int num_rx; in cpsw_rx_poll() local
818 num_rx = cpdma_chan_process(priv->rxch, budget); in cpsw_rx_poll()
819 if (num_rx < budget) { in cpsw_rx_poll()
828 if (num_rx) in cpsw_rx_poll()
829 cpsw_dbg(priv, intr, "poll %d rx pkts\n", num_rx); in cpsw_rx_poll()
831 return num_rx; in cpsw_rx_poll()
/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h1521 u32 num_rx; member