Skip to content

net/smc: several features's implementation for smc v2.1

Guangguan Wang linux-s390 lkml netdev 3 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/26 patches 6 repliesApplied 6/6
  2. v2 RFC posting 1/26 patches 12 repliesSuperseded
  3. v1 RFC6 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- rename field fce_v20 to fce_v2_base in struct smc_clc_first_contact_ext_v2x
- use smc_get_clc_first_contact_ext in smc_connect _rdma_v2_prepare
- adding comment about field vendor_oui in struct smc_clc_msg_smcd
- remove comment about SMC_CONN_PER_LGR_MAX in smc_ clc_srv_v2x_features_validate
- rename smc_clc_clnt_v2x_features_validate

Patches in v2 posting 2/2 All 6 applied

#Subject and filesSizeRepliesApplied
1/6net/smc: support smc release version negotiation in clc handshakenet/smc/af_smc.c net/smc/smc.h net/smc/smc_clc.c +2 more+51 -131 replyApplied
2/6net/smc: add vendor unique experimental options area in clc handshakenet/smc/af_smc.c net/smc/smc_clc.c net/smc/smc_clc.h+37 -241 replyApplied
3/6net/smc: support smc v2.x features validatenet/smc/af_smc.c net/smc/smc_clc.c net/smc/smc_clc.h+71 -01 replyApplied
4/6net/smc: support max connections per lgr negotiationnet/smc/af_smc.c net/smc/smc_clc.c net/smc/smc_clc.h +3 more+62 -61 replyApplied
5/6net/smc: support max links per lgr negotiation in clc handshakenet/smc/af_smc.c net/smc/smc_clc.c net/smc/smc_clc.h +3 more+82 -241 replyApplied
6/6net/smc: Extend SMCR v2 linkgroup netlink attributeinclude/uapi/linux/smc.h net/smc/smc_core.c+6 -01 replyApplied

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchTony LuJan Karcher
1/6R-b R-b
2/6R-b R-b
3/6R-b R-b
4/6R-b R-b
5/6R-b R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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:
- rename field fce_v20 to fce_v2_base in struct smc_clc_first_contact_ext_v2x
- use smc_get_clc_first_contact_ext in smc_connect _rdma_v2_prepare
- adding comment about field vendor_oui in struct smc_clc_msg_smcd
- remove comment about SMC_CONN_PER_LGR_MAX in smc_ clc_srv_v2x_features_validate
- rename smc_clc_clnt_v2x_features_validate

RFC v2 - v1:
- more description in commit message
- modify SMC_CONN_PER_LGR_xxx and SMC_LINKS_ADD_LNK_xxx macro defination and usage
- rename field release_ver to release_nr
- remove redundant release version check in client
- explicitly set the rc value in smc_llc_cli/srv_add_link

RFC v1 - RFC 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         |  86 +++++++++++++++++------
 net/smc/smc.h            |   5 +-
 net/smc/smc_clc.c        | 147 ++++++++++++++++++++++++++++++++-------
 net/smc/smc_clc.h        |  53 ++++++++++++--
 net/smc/smc_core.c       |  13 +++-
 net/smc/smc_core.h       |  25 +++++++
 net/smc/smc_llc.c        |  25 +++++--
 8 files changed, 299 insertions(+), 57 deletions(-)
Signature · 1 line
2.24.3 (Apple Git-128)