summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@mellanox.com>2019-09-24 11:29:09 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2019-10-18 12:11:54 -0700
commit61ea02d2c13106116c6e4916ac5d9dd41151c959 (patch)
treef54e257fa2f726d663048d1f7c034a75e2cc97c0 /drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c
parent46a3ea98074e2a7731ab9b84ec60fc18a2f909e5 (diff)
net/mlx5e: TX, Fix consumer index of error cqe dump
The completion queue consumer index increments upon a call to mlx5_cqwq_pop(). When dumping an error CQE, the index is already incremented. Decrease one for the print command. Fixes: 16cc14d81733 ("net/mlx5e: Dump xmit error completions") Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c')
0 files changed, 0 insertions, 0 deletions