mbox series

[rdma-core,0/2] Support for no port mapping requirements

Message ID cover.1548789085.git.swise@opengridcomputing.com (mailing list archive)
Headers show
Series Support for no port mapping requirements | expand

Message

Steve Wise Jan. 29, 2019, 7:11 p.m. UTC
A soft iwarp driver that uses the host TCP stack via a kernel mode
socket does not need port mapping.  In fact, if the port map daemon,
iwpmd, is running, then iwpmd must not try and create/bind a socket to
the actual port for a soft iwarp connection, since the driver already
has that socket bound.

Yet if the soft iwarp driver wants to interoperate with hard iwarp
devices that -are- using port mapping, then the soft iwarp driver's
mappings still need to be maintained and advertised by the iwpm protocol.

This series updates iwpmd V4 of the IWPM ABI to support soft iwarp.

The ABI version define has been created in rdma_netlink.h so both kernel
and user code can share it.  The iwcm and iwpmd negotiate the ABI version
to use with a new HELLO netlink message.

This patch series can also be viewed at:

https://github.com/larrystevenwise/rdma-core/tree/topic/no-port-map-v1

The corresponding kernel changes are at:

https://github.com/larrystevenwise/linux/tree/topic/no-port-map-v1
https://www.spinics.net/lists/linux-rdma/msg73884.html

Steve Wise (2):
  Refresh rdma_netlink.h
  iwpmd: add NO_PORT_MAP support

 iwpmd/iwarp_pm.h                   |   8 +-
 iwpmd/iwarp_pm_helper.c            |  26 +++--
 iwpmd/iwarp_pm_server.c            | 229 +++++++++++++++++++++++++++----------
 kernel-headers/rdma/rdma_netlink.h |  45 +++++++-
 4 files changed, 235 insertions(+), 73 deletions(-)