summaryrefslogtreecommitdiff
path: root/net/smc/smc_llc.c
diff options
context:
space:
mode:
authorGuangguan Wang <guangguan.wang@linux.alibaba.com>2023-08-17 16:20:29 +0300
committerDavid S. Miller <davem@davemloft.net>2023-08-19 14:46:52 +0300
commit6ac1e6563f5915cd38b6bc6a8b26964b2252f751 (patch)
tree2665c53f4e3983ee3346c7ffc556d8fd53d2918c /net/smc/smc_llc.c
parent7290178a82fcc71694816ffe3c0c56453f0cf59c (diff)
downloadlinux-6ac1e6563f5915cd38b6bc6a8b26964b2252f751.tar.xz
net/smc: support smc v2.x features validate
Support SMC v2.x features validate for SMC v2.1. This is the frame code for SMC v2.x features validate, and will take effects only when the negotiated release version is v2.1 or later. For Server, v2.x features' validation should be done in smc_clc_srv_ v2x_features_validate when receiving v2.1 or later CLC Proposal Message, such as max conns, max links negotiation, the decision of the final value of max conns and max links should be made in this function. And final check for server when receiving v2.1 or later CLC Confirm Message should be done in smc_clc_v2x_features_confirm_check. For client, v2.x features' validation should be done in smc_clc_clnt_ v2x_features_validate when receiving v2.1 or later CLC Accept Message, for example, the decision to accpt the accepted value or to decline should be made in this function. Signed-off-by: Guangguan Wang <guangguan.wang@linux.alibaba.com> Reviewed-by: Tony Lu <tonylu@linux.alibaba.com> Reviewed-by: Jan Karcher <jaka@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_llc.c')
0 files changed, 0 insertions, 0 deletions