Skip to content

Commit

Permalink
RDMA/rxe: Delete deprecated module parameters interface
Browse files Browse the repository at this point in the history
Starting from the commit 66920e1 ("rdma_rxe: Use netlink messages
to add/delete links") from the 2019, the RXE modules parameters are marked
as deprecated in favour of rdmatool. So remove the kernel code too.

Link: https://lore.kernel.org/r/c8376d7517aebe7cc851f0baaeef7b13707cf767.1641372460.git.leonro@nvidia.com
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Reviewed-by: Zhu Yanjun <zyjzyj2000@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
  • Loading branch information
Leon Romanovsky authored and Jason Gunthorpe committed Jan 5, 2022
1 parent d82e2b2 commit 36783de
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 126 deletions.
1 change: 0 additions & 1 deletion drivers/infiniband/sw/rxe/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ rdma_rxe-y := \
rxe_mcast.o \
rxe_task.o \
rxe_net.o \
rxe_sysfs.o \
rxe_hw_counters.o
4 changes: 0 additions & 4 deletions drivers/infiniband/sw/rxe/rxe.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ MODULE_AUTHOR("Bob Pearson, Frank Zago, John Groves, Kamal Heib");
MODULE_DESCRIPTION("Soft RDMA transport");
MODULE_LICENSE("Dual BSD/GPL");

bool rxe_initialized;

/* free resources for a rxe device all objects created for this device must
* have been destroyed
*/
Expand Down Expand Up @@ -290,7 +288,6 @@ static int __init rxe_module_init(void)
return err;

rdma_link_register(&rxe_link_ops);
rxe_initialized = true;
pr_info("loaded\n");
return 0;
}
Expand All @@ -301,7 +298,6 @@ static void __exit rxe_module_exit(void)
ib_unregister_driver(RDMA_DRIVER_RXE);
rxe_net_exit();

rxe_initialized = false;
pr_info("unloaded\n");
}

Expand Down
2 changes: 0 additions & 2 deletions drivers/infiniband/sw/rxe/rxe.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@

#define RXE_ROCE_V2_SPORT (0xc000)

extern bool rxe_initialized;

void rxe_set_mtu(struct rxe_dev *rxe, unsigned int dev_mtu);

int rxe_add(struct rxe_dev *rxe, unsigned int mtu, const char *ibdev_name);
Expand Down
119 changes: 0 additions & 119 deletions drivers/infiniband/sw/rxe/rxe_sysfs.c

This file was deleted.

0 comments on commit 36783de

Please sign in to comment.