net/mlx5: Move CQ completion and event forwarding logic to eq.c
authorSaeed Mahameed <saeedm@mellanox.com>
Thu, 1 Feb 2018 12:37:07 +0000 (04:37 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 15 Feb 2018 08:30:02 +0000 (00:30 -0800)
commit3ac7afdbcf243d6c79c1569d9e29aef0096e4743
tree2c06e76ba2670c5996c848fa81cc25582301cf3d
parentf105b45bf77ced96e516e1cd771c41bb7e8c830b
net/mlx5: Move CQ completion and event forwarding logic to eq.c

Since CQ tree is now per EQ, CQ completion and event forwarding became
specific implementation of EQ logic, this patch moves that logic to eq.c
and makes those functions static.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Gal Pressman <galp@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/cq.c
drivers/net/ethernet/mellanox/mlx5/core/eq.c
include/linux/mlx5/driver.h