net/smc: create improved SMC-R link_uid
authorKarsten Graul <kgraul@linux.ibm.com>
Mon, 4 May 2020 12:18:47 +0000 (14:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2020 17:54:39 +0000 (10:54 -0700)
commit45fa8da0bf5cb447fcf835d184e2d3b745376e69
tree830260f960f618058d5681c179a007d17fa2922e
parenta52bcc919b14c9d78f03b2b4ff604e5ca69c7e6d
net/smc: create improved SMC-R link_uid

The link_uid of an SMC-R link is exchanged between SMC peers and its
value can be used for debugging purposes. Create a unique link_uid
during link initialization and use it in communication with SMC-R peers.

Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Reviewed-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_core.c
net/smc/smc_core.h
net/smc/smc_llc.c
net/smc/smc_llc.h