Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tx.c798 u16 sqcc; in mlx5e_poll_tx_cq() local
818 sqcc = sq->cc; in mlx5e_poll_tx_cq()
835 last_wqe = (sqcc == wqe_counter); in mlx5e_poll_tx_cq()
837 ci = mlx5_wq_cyc_ctr2ix(&sq->wq, sqcc); in mlx5e_poll_tx_cq()
840 sqcc += wi->num_wqebbs; in mlx5e_poll_tx_cq()
885 sq->cc = sqcc; in mlx5e_poll_tx_cq()
906 u16 ci, sqcc, npkts = 0; in mlx5e_free_txqsq_descs() local
908 sqcc = sq->cc; in mlx5e_free_txqsq_descs()
911 while (sqcc != sq->pc) { in mlx5e_free_txqsq_descs()
912 ci = mlx5_wq_cyc_ctr2ix(&sq->wq, sqcc); in mlx5e_free_txqsq_descs()
[all …]
H A Den_rx.c939 u16 sqcc; in mlx5e_free_icosq_descs() local
941 sqcc = sq->cc; in mlx5e_free_icosq_descs()
943 while (sqcc != sq->pc) { in mlx5e_free_icosq_descs()
947 ci = mlx5_wq_cyc_ctr2ix(&sq->wq, sqcc); in mlx5e_free_icosq_descs()
949 sqcc += wi->num_wqebbs; in mlx5e_free_icosq_descs()
961 sq->cc = sqcc; in mlx5e_free_icosq_descs()
995 u16 sqcc; in mlx5e_poll_ico_cq() local
1008 sqcc = sq->cc; in mlx5e_poll_ico_cq()
1023 last_wqe = (sqcc == wqe_counter); in mlx5e_poll_ico_cq()
1025 ci = mlx5_wq_cyc_ctr2ix(&sq->wq, sqcc); in mlx5e_poll_ico_cq()
[all …]