net/smc: use queue pair number when matching link group
authorKarsten Graul <kgraul@linux.ibm.com>
Tue, 20 Nov 2018 15:46:40 +0000 (16:46 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Nov 2018 00:14:56 +0000 (16:14 -0800)
commitee05ff7af26509f39360534a5225ee714416cdfd
tree986949c0bf44e3269e288c385759b4a516183059
parentf07920ad9c6f5781c90ac4915f8254d999d8c1cc
net/smc: use queue pair number when matching link group

When searching for an existing link group the queue pair number is also
to be taken into consideration. When the SMC server sends a new number
in a CLC packet (keeping all other values equal) then a new link group
is to be created on the SMC client side.

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