qed: Learn of RDMA capabilities per-device
Orabug:
25477939
Today, RDMA capabilities are learned from management firmware
which provides a per-device indication for all interfaces.
Newer management firmware is capable of providing a per-device
indication [would later be extended to either RoCE/iWARP].
Try using this newer learning mechanism, but fallback in case
management firmware is too old to retain current functionality.
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit
6927e82680699f7999d68c648d50574a5e4a8f37)
Signed-off-by: Brian Maly <brian.maly@oracle.com>