Re: [PATCH net-next 03/15] net/smc: introduce virtual ISM device loopback-ism

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 2024/2/16 22:11, Wenjia Zhang wrote:


On 11.01.24 13:00, Wen Gu wrote:
This introduces a kind of virtual ISM device loopback-ism for SMCDv2.1.
loopback-ism is implemented by software and serves inter-process or
inter-container SMC communication in the same OS instance. It is created
during SMC module loading and destroyed upon unloading. The support for
loopback-ism can be configured via CONFIG_SMC_LO.

Signed-off-by: Wen Gu <guwen@xxxxxxxxxxxxxxxxx>
---
  net/smc/Kconfig        |  13 +++
  net/smc/Makefile       |   2 +-
  net/smc/af_smc.c       |  12 ++-
  net/smc/smc_loopback.c | 181 +++++++++++++++++++++++++++++++++++++++++
  net/smc/smc_loopback.h |  33 ++++++++
  5 files changed, 239 insertions(+), 2 deletions(-)
  create mode 100644 net/smc/smc_loopback.c
  create mode 100644 net/smc/smc_loopback.h

diff --git a/net/smc/Kconfig b/net/smc/Kconfig
index 746be3996768..e191f78551f4 100644
--- a/net/smc/Kconfig
+++ b/net/smc/Kconfig
@@ -20,3 +20,16 @@ config SMC_DIAG
        smcss.
        if unsure, say Y.
+
+config SMC_LO
+    bool "SMC_LO: virtual ISM loopback-ism for SMC"
+    depends on SMC
+    default n
+    help
+      SMC_LO provides a kind of virtual ISM device called loopback-ism
Don't forget to update "s/virtual/emulated/" later. ;-)

<...>

Yes, new version will change all virtual ISM to Emulated-ISM. Thank you.




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux