Skip to content

Commit

Permalink
net/smc: introduce virtual ISM device support feature
Browse files Browse the repository at this point in the history
This introduces virtual ISM device support feature to SMCv2.1 as the
first supplemental feature.

Signed-off-by: Wen Gu <guwen@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Wen Gu authored and David S. Miller committed Dec 26, 2023
1 parent ece60db commit 00e006a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions net/smc/smc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 00e006a

Please sign in to comment.