]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb72ab302b9f1b828b16ee1526f0efc237d3b15d5
treed717a2a3234d84fb489487327ee52867e4e49025
parentd80099d80c8215b41ea15191ae30ab7c37a8d581
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