[RFC PATCH v2 net-next 0/6] net/smc: several features's implementation for smc v2.1

From: Guangguan Wang
Date: Mon Aug 07 2023 - 02:27:35 EST


This patch set implement several new features in SMC v2.1(https://
www.ibm.com/support/pages/node/7009315), including vendor unique
experimental options, max connections per lgr negotiation, max links
per lgr negotiation.

v1 - v2:
- Remove ini pointer NULL check and fix code style in
smc_clc_send_confirm_accept.
- Optimize the max_conns check in smc_clc_xxx_v2x_features_validate.

Guangguan Wang (6):
net/smc: support smc release version negotiation in clc handshake
net/smc: add vendor unique experimental options area in clc handshake
net/smc: support smc v2.x features validate
net/smc: support max connections per lgr negotiation
net/smc: support max links per lgr negotiation in clc handshake
net/smc: Extend SMCR v2 linkgroup netlink attribute

include/uapi/linux/smc.h | 2 +
net/smc/af_smc.c | 87 +++++++++++++++++------
net/smc/smc.h | 5 +-
net/smc/smc_clc.c | 149 ++++++++++++++++++++++++++++++++-------
net/smc/smc_clc.h | 53 ++++++++++++--
net/smc/smc_core.c | 13 +++-
net/smc/smc_core.h | 11 +++
net/smc/smc_llc.c | 21 ++++--
8 files changed, 286 insertions(+), 55 deletions(-)

--
2.24.3 (Apple Git-128)