]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Make get_cqe routine not ethernet-specific
authorIlan Tayari <ilant@mellanox.com>
Mon, 19 Jun 2017 09:53:25 +0000 (12:53 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 27 Jun 2017 13:36:47 +0000 (16:36 +0300)
commit82d6f7672a732dea7cf0a0c9d76c233fd262ede2
tree4759daa30d702b713d476f6311ae95623511ff16
parentab9237a9f4e1a35900f47ed7aa86662c7b2a7c3d
net/mlx5: Make get_cqe routine not ethernet-specific

Move mlx5e_get_cqe routine to wq.h and rename it to
mlx5_cqwq_get_cqe.

This allows it to be used by other CQ users outside of the
ethernet driver code.

A later patch in this patchset will make use of it from
FPGA code for the FPGA high-speed connection.

Signed-off-by: Ilan Tayari <ilant@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c
drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c
drivers/net/ethernet/mellanox/mlx5/core/wq.h