]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb0fd5cfe0f21c3921d68b5b1f5b04987f2431893
tree2c06e76ba2670c5996c848fa81cc25582301cf3d
parentd12e51f4b675caa70203063e0d19d1e39d996eab
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