]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Use helper to get CQE opcode
authorTariq Toukan <tariqt@mellanox.com>
Wed, 5 Dec 2018 02:03:01 +0000 (18:03 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 10 Dec 2018 02:16:16 +0000 (18:16 -0800)
commit14ffab3fa82ea57e5ce046acd4a4991a6e7dcdea
tree39258dbbb716e31c52223c97d104f8d04929a243
parent3bb67d97a8108b61512435d69a4e3eb92c6330b8
net/mlx5: Use helper to get CQE opcode

Introduce and use a 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>
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c
drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c
include/linux/mlx5/device.h