Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlxbf_gige/
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 …]
Dmlxbf_gige_ethtool.c44 ering->rx_pending = priv->rx_q_entries; in mlxbf_gige_get_ringparam()
Dmlxbf_gige.h106 u16 rx_q_entries; member
Dmlxbf_gige_main.c428 priv->rx_q_entries = MLXBF_GIGE_DEFAULT_RXQ_SZ; in mlxbf_gige_probe()
/drivers/net/ethernet/faraday/
Dftgmac100.c59 unsigned int rx_q_entries; member
424 if (entry == (priv->rx_q_entries - 1)) in ftgmac100_alloc_rx_buf()
435 return (pointer + 1) & (priv->rx_q_entries - 1); in ftgmac100_next_rx_pointer()
867 for (i = 0; i < priv->rx_q_entries; i++) { in ftgmac100_free_buffers()
959 priv->rx_q_entries = priv->new_rx_q_entries; in ftgmac100_init_rings()
962 if (WARN_ON(priv->rx_q_entries < MIN_RX_QUEUE_ENTRIES)) in ftgmac100_init_rings()
966 for (i = 0; i < priv->rx_q_entries; i++) { in ftgmac100_init_rings()
989 for (i = 0; i < priv->rx_q_entries; i++) { in ftgmac100_alloc_rx_buffers()
1087 ering->rx_pending = priv->rx_q_entries; in ftgmac100_get_ringparam()
1962 priv->rx_q_entries = priv->new_rx_q_entries = DEF_RX_QUEUE_ENTRIES; in ftgmac100_probe()