mbox series

[net-next,0/2] net/smc: improve peer ID in CLC decline

Message ID 20200224235901.304311-1-ndev@hwipl.net
Headers show
Series net/smc: improve peer ID in CLC decline | expand

Message

Hans Wippel Feb. 24, 2020, 11:58 p.m. UTC
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 since the RFC version:
* split the patch into two parts
* removed zero assignment to global variable (thanks Leon)

Thanks to Leon Romanovsky and Karsten Graul for the feedback!

Hans Wippel (2):
  net/smc: rework peer ID handling
  net/smc: improve peer ID in CLC decline for SMC-R

 net/smc/smc_clc.c |  9 ++++++---
 net/smc/smc_ib.c  | 19 ++++++++++++-------
 net/smc/smc_ib.h  |  1 +
 3 files changed, 19 insertions(+), 10 deletions(-)