Skip to content

net/smc: improve peer ID in CLC decline

Hans Wippel netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

* make smc_ib_is_valid_local_systemid() static in first patch
* changed if in smc_clc_send_decline() to remove curly braces

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net/smc: rework peer ID handlingnet/smc/smc_ib.c+12 -70 replies
2/2net/smc: improve peer ID in CLC decline for SMC-Rnet/smc/smc_clc.c net/smc/smc_ib.c net/smc/smc_ib.h+4 -20 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKarsten Graul
SeriesA-b
1/2
2/2

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/2] 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!

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 |  3 ++-
 net/smc/smc_ib.c  | 19 ++++++++++++-------
 net/smc/smc_ib.h  |  1 +
 3 files changed, 15 insertions(+), 8 deletions(-)
Signature · 1 line
2.25.1