Skip to contentSkip to conversation

RDMA/nes: Report the actual address of the remote connecting peer

PATCH New Tatyana Nikolova 1 participant 1 message Oct 13, 2014 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 RDMA/nes: Report the actual address of the remote connecting peer

Get the actual (non-mapped) ip/tcp address of the remote connecting peer from the port mapper and report the address info to the user space application at the time of connection establishment

---
 drivers/infiniband/hw/nes/nes.c    |    1 +
 drivers/infiniband/hw/nes/nes_cm.c |   65 ++++++++++++++++++++++++++---------
 2 files changed, 49 insertions(+), 17 deletions(-)
drivers/infiniband/hw/nes/nes.c +1 -0
index 3b2a6dc..9f9d5c5 100644
@@ -116,6 +116,7 @@ static struct ibnl_client_cbs nes_nl_cb_table[] = {
 	[RDMA_NL_IWPM_REG_PID] = {.dump = iwpm_register_pid_cb},
 	[RDMA_NL_IWPM_ADD_MAPPING] = {.dump = iwpm_add_mapping_cb},
 	[RDMA_NL_IWPM_QUERY_MAPPING] = {.dump = iwpm_add_and_query_mapping_cb},
+	[RDMA_NL_IWPM_REMOTE_INFO] = {.dump = iwpm_remote_info_cb},
 	[RDMA_NL_IWPM_HANDLE_ERR] = {.dump = iwpm_mapping_error_cb},
 	[RDMA_NL_IWPM_MAPINFO] = {.dump = iwpm_mapping_info_cb},
 	[RDMA_NL_IWPM_MAPINFO_NUM] = {.dump = iwpm_ack_mapping_info_cb}
drivers/infiniband/hw/nes/nes_cm.c +48 -17

90 lines not on this page · raw message

Signature · 6 lines
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html