net/smc: remember PNETID of IB device for later device matching
authorKarsten Graul <kgraul@linux.ibm.com>
Fri, 1 May 2020 10:48:06 +0000 (12:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 May 2020 23:20:04 +0000 (16:20 -0700)
commit35dcf7ec02dcff16504bc52a368822254f889f00
treee62d69278d6d9f7b9c3ec29b30fea3650861cfcc
parentd550066776aae3bb31e0240cab24f62e33c47fd3
net/smc: remember PNETID of IB device for later device matching

The PNETID is needed to find an alternate link for a link group.
Save the PNETID of the link that is used to create the link group for
later device matching.

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