OSDN Git Service

IB/mlx5: Use helper to get CQE opcode
authorTariq Toukan <tariqt@mellanox.com>
Wed, 5 Dec 2018 02:03:02 +0000 (18:03 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 10 Dec 2018 02:16:16 +0000 (18:16 -0800)
commitbdefffd13bf294a5a0c16255650020bff98954c7
tree06ddaa94dd232f39be64598b2adeff1e207acb06
parent6254adeb1f6943a66cbed892a5f683400b9db194
IB/mlx5: Use helper to get CQE opcode

Use the new helper that extracts the opcode
from a CQE (completion queue entry) structure.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Acked-by: Leon Romanovsky <leonro@mellanox.com>
drivers/infiniband/hw/mlx5/cq.c