Home
last modified time | relevance | path

Searched refs:rx_q_entries (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlxbf_gige/
H A Dmlxbf_gige_rx.c132 wq_size = MLXBF_GIGE_RX_WQE_SZ * priv->rx_q_entries; in mlxbf_gige_rx_init()
145 for (i = 0; i < priv->rx_q_entries; i++) { in mlxbf_gige_rx_init()
156 cq_size = MLXBF_GIGE_RX_CQE_SZ * priv->rx_q_entries; in mlxbf_gige_rx_init()
163 for (i = 0; i < priv->rx_q_entries; i++) in mlxbf_gige_rx_init()
170 writeq(priv->rx_q_entries, priv->base + MLXBF_GIGE_RX_WQE_PI); in mlxbf_gige_rx_init()
183 writeq(ilog2(priv->rx_q_entries), in mlxbf_gige_rx_init()
231 for (i = 0; i < priv->rx_q_entries; i++) { in mlxbf_gige_rx_deinit()
238 size = MLXBF_GIGE_RX_WQE_SZ * priv->rx_q_entries; in mlxbf_gige_rx_deinit()
242 size = MLXBF_GIGE_RX_CQE_SZ * priv->rx_q_entries; in mlxbf_gige_rx_deinit()
269 rx_pi_rem = rx_pi % priv->rx_q_entries; in mlxbf_gige_rx_packet()
[all …]
H A Dmlxbf_gige_ethtool.c44 ering->rx_pending = priv->rx_q_entries; in mlxbf_gige_get_ringparam()
H A Dmlxbf_gige.h106 u16 rx_q_entries; member
H A Dmlxbf_gige_main.c428 priv->rx_q_entries = MLXBF_GIGE_DEFAULT_RXQ_SZ; in mlxbf_gige_probe()
/linux/drivers/net/ethernet/faraday/
H A Dftgmac100.c69 unsigned int rx_q_entries; member
434 if (entry == (priv->rx_q_entries - 1)) in ftgmac100_alloc_rx_buf()
445 return (pointer + 1) & (priv->rx_q_entries - 1); in ftgmac100_next_rx_pointer()
887 for (i = 0; i < priv->rx_q_entries; i++) { in ftgmac100_free_buffers()
979 priv->rx_q_entries = priv->new_rx_q_entries; in ftgmac100_init_rings()
982 if (WARN_ON(priv->rx_q_entries < MIN_RX_QUEUE_ENTRIES)) in ftgmac100_init_rings()
986 for (i = 0; i < priv->rx_q_entries; i++) { in ftgmac100_init_rings()
1009 for (i = 0; i < priv->rx_q_entries; i++) { in ftgmac100_alloc_rx_buffers()
1107 ering->rx_pending = priv->rx_q_entries; in ftgmac100_get_ringparam()
2001 priv->rx_q_entries = priv->new_rx_q_entries = DEF_RX_QUEUE_ENTRIES; in ftgmac100_probe()