Skip to content

Commit 00e006a

Browse files
Wen Gudavem330
authored andcommitted
net/smc: introduce virtual ISM device support feature
This introduces virtual ISM device support feature to SMCv2.1 as the first supplemental feature. Signed-off-by: Wen Gu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent ece60db commit 00e006a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

net/smc/smc.h

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,12 @@ enum smc_state { /* possible states of an SMC socket */
5858
SMC_PROCESSABORT = 27,
5959
};
6060

61-
#define SMC_FEATURE_MASK 0 /* bitmask of
62-
* supported supplemental features
63-
*/
61+
enum smc_supplemental_features {
62+
SMC_SPF_VIRT_ISM_DEV = 0,
63+
};
64+
65+
#define SMC_FEATURE_MASK \
66+
(BIT(SMC_SPF_VIRT_ISM_DEV))
6467

6568
struct smc_link_group;
6669

0 commit comments

Comments
 (0)