net/smc: Extend SMCR v2 linkgroup netlink attribute
Add SMC_NLA_LGR_R_V2_MAX_CONNS and SMC_NLA_LGR_R_V2_MAX_LINKS to SMCR v2 linkgroup netlink attribute SMC_NLA_LGR_R_V2 for linkgroup's detail info showing. Signed-off-by: Guangguan Wang <guangguan.wang@linux.alibaba.com> Reviewed-by: Jan Karcher <jaka@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
69b888e3bb
commit
bbed596c74
2 changed files with 6 additions and 0 deletions
|
|
@ -107,6 +107,8 @@ enum {
|
|||
enum {
|
||||
SMC_NLA_LGR_R_V2_UNSPEC,
|
||||
SMC_NLA_LGR_R_V2_DIRECT, /* u8 */
|
||||
SMC_NLA_LGR_R_V2_MAX_CONNS, /* u8 */
|
||||
SMC_NLA_LGR_R_V2_MAX_LINKS, /* u8 */
|
||||
__SMC_NLA_LGR_R_V2_MAX,
|
||||
SMC_NLA_LGR_R_V2_MAX = __SMC_NLA_LGR_R_V2_MAX - 1
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue