net/smc: allow pnetid-less configuration
authorUrsula Braun <ubraun@linux.ibm.com>
Thu, 28 Feb 2019 14:10:08 +0000 (15:10 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Feb 2019 20:49:44 +0000 (12:49 -0800)
commit54903572c23c3ecda6bbfde350b104f31bdb3f58
treed717a2a3234d84fb489487327ee52867e4e49025
parent6c97da141528097eb8e1d532dc0dbe3501f4c8ff
net/smc: allow pnetid-less configuration

Without hardware pnetid support there must currently be a pnet
table configured to determine the IB device port to be used for SMC
RDMA traffic. This patch enables a setup without pnet table, if
the used handshake interface belongs already to a RoCE port.

Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_pnet.c