1. 20 2月, 2019 7 次提交
  2. 19 2月, 2019 5 次提交
  3. 16 2月, 2019 5 次提交
  4. 15 2月, 2019 1 次提交
  5. 09 2月, 2019 16 次提交
  6. 08 2月, 2019 2 次提交
  7. 06 2月, 2019 2 次提交
  8. 05 2月, 2019 2 次提交
    • S
      RDMA/IWPM: Support no port mapping requirements · b0bad9ad
      Steve Wise 提交于
      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 patch enhances the rdma driver<->iwcm interface to allow an iwarp
      driver to specify that it does not want port mapping.  The iwpm
      kernel<->iwpmd interface is also enhanced to pass up this information on
      map requests.
      
      Care is taken to interoperate with the current iwpmd version (ABI version
      3) and only use the new NL attributes if iwpmd supports ABI version 4.
      
      The ABI version define has also 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.
      Signed-off-by: NSteve Wise <swise@opengridcomputing.com>
      Reviewed-by: NTatyana Nikolova <Tatyana.E.Nikolova@intel.com>
      Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
      b0bad9ad
    • S
      RDMA/IWPM: refactor the IWPM message attribute names · f76903d5
      Steve Wise 提交于
      In order to add new IWPM_NL attributes, the enums for the IWPM commands
      attributes are refactored such that a new attribute can be added without
      breaking ABI version 3. Instead of sharing nl attribute enums for both
      request and response messages, we create separate enums for each IWPM
      message request and reply.  This allows us to extend any given IWPM
      message by adding new attributes for just that message.  These new enums
      are created, though, in a way to avoid breaking ABI version 3.
      Signed-off-by: NSteve Wise <swise@opengridcomputing.com>
      Reviewed-by: NTatyana Nikolova <Tatyana.E.Nikolova@intel.com>
      Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
      f76903d5