diff options
author | Wen Gu <guwen@linux.alibaba.com> | 2024-04-28 09:07:34 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-04-30 14:24:48 +0300 |
commit | 04791343d858242dc2bd25e05be480ad1591e900 (patch) | |
tree | fc45aba41690b4c90e020b1353ae6f5b1d2e911a /net/smc/smc_ism.h | |
parent | c8df2d449f645f90a67aaa05a617e6e86c3f1c5e (diff) | |
download | linux-04791343d858242dc2bd25e05be480ad1591e900.tar.xz |
net/smc: register loopback-ism into SMC-D device list
After the loopback-ism device is ready, add it to the SMC-D device list
as an ISMv2 device, and always keep it at the beginning to ensure it is
preferred for providing a shortcut for data transfer within the same
kernel.
Signed-off-by: Wen Gu <guwen@linux.alibaba.com>
Reviewed-by: Wenjia Zhang <wenjia@linux.ibm.com>
Reviewed-and-tested-by: Jan Karcher <jaka@linux.ibm.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/smc/smc_ism.h')
-rw-r--r-- | net/smc/smc_ism.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/smc/smc_ism.h b/net/smc/smc_ism.h index 322973527c61..e6f57e5e1ef9 100644 --- a/net/smc/smc_ism.h +++ b/net/smc/smc_ism.h @@ -52,6 +52,7 @@ int smc_ism_signal_shutdown(struct smc_link_group *lgr); void smc_ism_get_system_eid(u8 **eid); u16 smc_ism_get_chid(struct smcd_dev *dev); bool smc_ism_is_v2_capable(void); +void smc_ism_set_v2_capable(void); int smc_ism_init(void); void smc_ism_exit(void); int smcd_nl_get_device(struct sk_buff *skb, struct netlink_callback *cb); |