OpenCloudOS-Kernel/drivers/net/ethernet/qlogic/qede
Yuval Mintz 0189efb8f4 qed*: Fix Kconfig dependencies with INFINIBAND_QEDR
The qedr driver would require a tristate Kconfig option [to allow
it to compile as a module], and toward that end we've added the
INFINIBAND_QEDR option. But as we've made the compilation of the
qed/qede infrastructure required for RoCE dependent on the option
we'd be facing linking difficulties in case that QED=y or QEDE=y,
and INFINIBAND_QEDR=m.

To resolve this, we seperate between the INFINIBAND_QEDR option
and the infrastructure support in qed/qede by introducing a new
QED_RDMA option which would be selected by INFINIBAND_QEDR but would
be a boolean instead of a tristate; Following that, the qed/qede is
fixed based on this new option so that all config combinations would
be supported.

Fixes: cee9fbd8e2 ("qede: add qedr framework")
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Yuval Mintz <Yuval.Mintz@caviumnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-10-14 11:07:22 -04:00
..
Makefile qed*: Fix Kconfig dependencies with INFINIBAND_QEDR 2016-10-14 11:07:22 -04:00
qede.h qede: Add qedr framework 2016-10-03 23:22:46 -04:00
qede_dcbnl.c qede: Add dcbnl support. 2016-06-08 11:11:00 -07:00
qede_ethtool.c qed*: Add support for the ethtool get_regs operation 2016-09-07 17:46:59 -07:00
qede_main.c qede: Add qedr framework 2016-10-03 23:22:46 -04:00
qede_roce.c qede: Add qedr framework 2016-10-03 23:22:46 -04:00