]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit6254adeb1f6943a66cbed892a5f683400b9db194
tree39258dbbb716e31c52223c97d104f8d04929a243
parentfe206c209314f3cebe232518db9b5ad2606e34f1
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