Add the kernel option in Kconfig to control rxe udp dual port feature. Now the default is off. CC: Srinivas Eeda <srinivas.eeda@xxxxxxxxxx> CC: Junxiao Bi <junxiao.bi@xxxxxxxxxx> Reviewed-by: Yuval Shaia <yuval.shaia@xxxxxxxxxx> Signed-off-by: Zhu Yanjun <yanjun.zhu@xxxxxxxxxx> --- drivers/infiniband/sw/rxe/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/infiniband/sw/rxe/Kconfig b/drivers/infiniband/sw/rxe/Kconfig index bad4a57..7ca4448 100644 --- a/drivers/infiniband/sw/rxe/Kconfig +++ b/drivers/infiniband/sw/rxe/Kconfig @@ -24,3 +24,13 @@ config RDMA_RXE following wiki page under "configure Soft-RoCE (RXE)" section: https://github.com/linux-rdma/rdma-core/blob/master/Documentation/rxe.md + +config RDMA_RXE_DUAL_PORT + tristate "Enable dual udp ports in Soft RoCE" + depends on RDMA_RXE + default n + help + When the udp port 4791 fails, the new udp port 4891 is used to resume. + + Say Y here if you want to enable dual ports in Soft RoCE. + Say N here if you are unsure. -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html