summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/cadence
diff options
context:
space:
mode:
authorKarsten Graul <kgraul@linux.ibm.com>2020-10-31 19:19:38 +0100
committerJakub Kicinski <kuba@kernel.org>2020-10-31 15:44:13 -0700
commit3752404a68e86d82b97a61aba78f6d6afae48549 (patch)
tree6b73ef2ea707b1d3a8ab572b04a7d1570d46c6fd /drivers/net/ethernet/cadence
parentcfb2cffafa2aa2f5bccb382138157866c6e767ce (diff)
net/smc: improve return codes for SMC-Dv2
To allow better problem diagnosis the return codes for SMC-Dv2 are improved by this patch. A few more CLC DECLINE codes are defined and sent to the peer when an SMC connection cannot be established. There are now multiple SMC variations that are offered by the client and the server may encounter problems to initialize all of them. Because only one diagnosis code can be sent to the client the decision was made to send the first code that was encountered. Because the server tries the variations in the order of importance (SMC-Dv2, SMC-D, SMC-R) this makes sure that the diagnosis code of the most important variation is sent. v2: initialize rc in smc_listen_v2_check(). Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Link: https://lore.kernel.org/r/20201031181938.69903-1-kgraul@linux.ibm.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/cadence')
0 files changed, 0 insertions, 0 deletions