Make SMC-R can work with rxe devices. This allows us to easily test and learn the SMC-R protocol without relying on a physical RoCE NIC. Liu Jian (4): rdma/device: export ib_device_get_netdev() net/smc: use ib_device_get_netdev() helper to get netdev info net/smc: fix one NULL pointer dereference in smc_ib_is_sg_need_sync() RDMA/rxe: Set queue pair cur_qp_state when being queried drivers/infiniband/core/core_priv.h | 3 --- drivers/infiniband/core/device.c | 1 + drivers/infiniband/sw/rxe/rxe_verbs.c | 2 ++ include/rdma/ib_verbs.h | 2 ++ net/smc/smc_ib.c | 10 +++++----- net/smc/smc_pnet.c | 6 +----- 6 files changed, 11 insertions(+), 13 deletions(-) -- 2.34.1