net/mlx5: EQ, Move all EQ logic to eq.c
authorSaeed Mahameed <saeedm@mellanox.com>
Mon, 19 Nov 2018 18:52:35 +0000 (10:52 -0800)
committerLeon Romanovsky <leonro@mellanox.com>
Tue, 20 Nov 2018 18:06:37 +0000 (20:06 +0200)
commitca828cb4686f1aece8d30541e11b8e21de1a7b0e
treeb398be7c171293d8a5a4fd48ed7c7ab3260df7a6
parentaaa553a64438640ee4e41a2c1027c3435a75c0e7
net/mlx5: EQ, Move all EQ logic to eq.c

Move completion EQs flows from main.c to eq.c, reasons:
1) It is where this logic belongs.
2) It will help centralize the EQ logic in one file for downstream
refactoring, and future extensions/updates.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eq.c
drivers/net/ethernet/mellanox/mlx5/core/main.c
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h