Commit 0630b376 authored by Wen Gu's avatar Wen Gu Committed by Zhengchao Shao
Browse files

net/smc: introduce virtual ISM device support feature

mainline inclusion
from mainline-v6.8-rc1
commit 00e006a2571824b2ec26b45b089ed8523ec89b73
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/IACM52

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=00e006a2571824b2ec26b45b089ed8523ec89b73



--------------------------------

This introduces virtual ISM device support feature to SMCv2.1 as the
first supplemental feature.

Signed-off-by: default avatarWen Gu <guwen@linux.alibaba.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarZhengchao Shao <shaozhengchao@huawei.com>
parent 3f04d7ab
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -58,9 +58,12 @@ enum smc_state { /* possible states of an SMC socket */
	SMC_PROCESSABORT	= 27,
};

#define SMC_FEATURE_MASK	0	/* bitmask of
					 * supported supplemental features
					 */
enum smc_supplemental_features {
	SMC_SPF_VIRT_ISM_DEV	= 0,
};

#define SMC_FEATURE_MASK \
	(BIT(SMC_SPF_VIRT_ISM_DEV))

struct smc_link_group;