mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
mlx5: fix typo in "mlx5_cqwq_get_cqe_enahnced_comp"
"enahnced" looks to be a misspelling of "enhanced". Rename "mlx5_cqwq_get_cqe_enahnced_comp" to "mlx5_cqwq_get_cqe_enhanced_comp". Signed-off-by: Caleb Sander Mateos <csander@purestorage.com> Reviewed-by: Simon Horman <horms@kernel.org> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com> Link: https://patch.msgid.link/20241023164840.140535-1-csander@purestorage.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
cf57ee1601
commit
5713f9831f
|
|
@ -1126,7 +1126,7 @@ static void mlx5e_flush_rq_cq(struct mlx5e_rq *rq)
|
|||
struct mlx5_cqe64 *cqe;
|
||||
|
||||
if (test_bit(MLX5E_RQ_STATE_MINI_CQE_ENHANCED, &rq->state)) {
|
||||
while ((cqe = mlx5_cqwq_get_cqe_enahnced_comp(cqwq)))
|
||||
while ((cqe = mlx5_cqwq_get_cqe_enhanced_comp(cqwq)))
|
||||
mlx5_cqwq_pop(cqwq);
|
||||
} else {
|
||||
while ((cqe = mlx5_cqwq_get_cqe(cqwq)))
|
||||
|
|
|
|||
|
|
@ -2436,7 +2436,7 @@ static int mlx5e_rx_cq_process_enhanced_cqe_comp(struct mlx5e_rq *rq,
|
|||
struct mlx5e_cq_decomp *cqd = &rq->cqd;
|
||||
int work_done = 0;
|
||||
|
||||
cqe = mlx5_cqwq_get_cqe_enahnced_comp(cqwq);
|
||||
cqe = mlx5_cqwq_get_cqe_enhanced_comp(cqwq);
|
||||
if (!cqe)
|
||||
return work_done;
|
||||
|
||||
|
|
@ -2466,7 +2466,7 @@ static int mlx5e_rx_cq_process_enhanced_cqe_comp(struct mlx5e_rq *rq,
|
|||
rq, cqe);
|
||||
work_done++;
|
||||
} while (work_done < budget_rem &&
|
||||
(cqe = mlx5_cqwq_get_cqe_enahnced_comp(cqwq)));
|
||||
(cqe = mlx5_cqwq_get_cqe_enhanced_comp(cqwq)));
|
||||
|
||||
/* last cqe might be title on next poll bulk */
|
||||
if (title_cqe) {
|
||||
|
|
|
|||
|
|
@ -244,7 +244,7 @@ static inline struct mlx5_cqe64 *mlx5_cqwq_get_cqe(struct mlx5_cqwq *wq)
|
|||
}
|
||||
|
||||
static inline
|
||||
struct mlx5_cqe64 *mlx5_cqwq_get_cqe_enahnced_comp(struct mlx5_cqwq *wq)
|
||||
struct mlx5_cqe64 *mlx5_cqwq_get_cqe_enhanced_comp(struct mlx5_cqwq *wq)
|
||||
{
|
||||
u8 sw_validity_iteration_count = mlx5_cqwq_get_wrap_cnt(wq) & 0xff;
|
||||
u32 ci = mlx5_cqwq_get_ci(wq);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user