Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlxbf_gige/
H A Dmlxbf_gige_rx.c258 u16 rx_pi_rem, rx_ci_rem; in mlxbf_gige_rx_packet() local
269 rx_pi_rem = rx_pi % priv->rx_q_entries; in mlxbf_gige_rx_packet()
271 rx_wqe_addr = priv->rx_wqe_base + rx_pi_rem; in mlxbf_gige_rx_packet()
272 rx_cqe_addr = priv->rx_cqe_base + rx_pi_rem; in mlxbf_gige_rx_packet()
284 skb = priv->rx_skb[rx_pi_rem]; in mlxbf_gige_rx_packet()
291 priv->rx_skb[rx_pi_rem] = rx_skb; in mlxbf_gige_rx_packet()
324 rx_pi_rem = rx_pi % priv->rx_q_entries; in mlxbf_gige_rx_packet()
325 if (rx_pi_rem == 0) in mlxbf_gige_rx_packet()
331 return rx_pi_rem != rx_ci_rem; in mlxbf_gige_rx_packet()