qed: Conserve RDMA resources when !QEDR
authorRam Amrani <Ram.Amrani@Cavium.com>
Sun, 1 Jan 2017 11:57:10 +0000 (13:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Jan 2017 02:02:14 +0000 (21:02 -0500)
commit1fe582ecade714e90e71c67c32edb7b5b809d651
treeebf9db04e42cfca601459d4d96aaf52071dd359d
parent8806787609dea02c333b187f94c1556798ac8897
qed: Conserve RDMA resources when !QEDR

If qedr isn't part of the kernel then don't allocate RDMA resources
for it in qed.

Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_mcp.c