Ursula Braun 5da7e4d355 net/smc: return active RoCE port only
SMC requires an active ib port on the RoCE device.
smc_pnet_find_roce_resource() determines the matching RoCE device port
according to the configured PNET table. Do not return the found
RoCE device port, if it is not flagged active.

Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Reviewed-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-04-11 23:01:14 -04:00
..
2017-01-09 16:07:41 -05:00
2017-04-11 23:01:14 -04:00
2017-01-09 16:07:40 -05:00
2017-01-09 16:07:40 -05:00
2017-01-09 16:07:40 -05:00
2017-01-09 16:07:40 -05:00
2017-01-09 16:07:40 -05:00
2017-01-09 16:07:40 -05:00
2017-01-09 16:07:41 -05:00