Merge branch 'net-smc-improve-peer-ID-in-CLC-decline'
authorDavid S. Miller <davem@davemloft.net>
Thu, 27 Feb 2020 04:27:06 +0000 (20:27 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Feb 2020 04:27:06 +0000 (20:27 -0800)
Hans Wippel says:

====================
net/smc: improve peer ID in CLC decline

The following two patches improve the peer ID in CLC decline messages if
RoCE devices are present in the host but no suitable device is found for
a connection. The first patch reworks the peer ID initialization. The
second patch contains the actual changes of the CLC decline messages.

Changes v1 -> v2:
* make smc_ib_is_valid_local_systemid() static in first patch
* changed if in smc_clc_send_decline() to remove curly braces

Changes RFC -> v1:
* split the patch into two parts
* removed zero assignment to global variable (thanks Leon)

Thanks to Leon Romanovsky and Karsten Graul for the feedback!
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge