29 Sep, 2020

2 commits


09 Jul, 2020

1 commit

  • The similar smc_ib_devices spinlock has been converted to a mutex.
    Protecting the smcd_dev_list by a mutex is possible as well. This
    patch converts the smcd_dev_list spinlock to a mutex.

    Fixes: c6ba7c9ba43d ("net/smc: add base infrastructure for SMC-D and ISM")
    Signed-off-by: Ursula Braun
    Signed-off-by: Karsten Graul
    Signed-off-by: David S. Miller

    Ursula Braun
     

22 Nov, 2018

1 commit

  • When a SMC-D link group is freed, a shutdown signal should be sent to
    the peer to indicate that the link group is invalid. This patch adds the
    shutdown signal to the SMC code.

    Signed-off-by: Hans Wippel
    Signed-off-by: Ursula Braun
    Signed-off-by: David S. Miller

    Hans Wippel
     

30 Jun, 2018

1 commit

  • SMC supports two variants: SMC-R and SMC-D. For data transport, SMC-R
    uses RDMA devices, SMC-D uses so-called Internal Shared Memory (ISM)
    devices. An ISM device only allows shared memory communication between
    SMC instances on the same machine. For example, this allows virtual
    machines on the same host to communicate via SMC without RDMA devices.

    This patch adds the base infrastructure for SMC-D and ISM devices to
    the existing SMC code. It contains the following:

    * ISM driver interface:
    This interface allows an ISM driver to register ISM devices in SMC. In
    the process, the driver provides a set of device ops for each device.
    SMC uses these ops to execute SMC specific operations on or transfer
    data over the device.

    * Core SMC-D link group, connection, and buffer support:
    Link groups, SMC connections and SMC buffers (in smc_core) are
    extended to support SMC-D.

    * SMC type checks:
    Some type checks are added to prevent using SMC-R specific code for
    SMC-D and vice versa.

    To actually use SMC-D, additional changes to pnetid, CLC, CDC, etc. are
    required. These are added in follow-up patches.

    Signed-off-by: Hans Wippel
    Signed-off-by: Ursula Braun
    Suggested-by: Thomas Richter
    Signed-off-by: David S. Miller

    Hans Wippel