OSDN Git Service

IB/mlx5: Add basic regiser/unregister representors code
authorMark Bloch <markb@mellanox.com>
Tue, 16 Jan 2018 14:34:48 +0000 (14:34 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 23 Feb 2018 20:36:39 +0000 (12:36 -0800)
commitfc385b7ac48089ed1c6866cdc0dceb4ae1fa54de
treec36186ae68ad94c19a3ed5d08e17e45036e25446
parent5e65b02c00900155833008b7992bbbbc7f0df2ac
IB/mlx5: Add basic regiser/unregister representors code

Create the basic infrastructure of registering and unregistering
IB representors. The load/unload callbacks are left empty and
proper implementation will be introduced in following patches.

Signed-off-by: Mark Bloch <markb@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/infiniband/hw/mlx5/Makefile
drivers/infiniband/hw/mlx5/ib_rep.c [new file with mode: 0644]
drivers/infiniband/hw/mlx5/ib_rep.h [new file with mode: 0644]
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h