Since mlx4_ib supports IP based addressing, a dependency on
INET should be added. This is mandatory since mlx4_ib
registers itself to net device events.

Signed-off-by: Matan Barak <mat...@mellanox.com>
---
Hi Roland,

The mlx4_ib driver registers itself to network events.
This is mandatory for adding IP based GIDs.
Thus, we need to introduce a new dependency on INET.

Thanks,
Matan

 drivers/infiniband/hw/mlx4/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/infiniband/hw/mlx4/Kconfig 
b/drivers/infiniband/hw/mlx4/Kconfig
index 24ab11a..fc01dea 100644
--- a/drivers/infiniband/hw/mlx4/Kconfig
+++ b/drivers/infiniband/hw/mlx4/Kconfig
@@ -1,6 +1,6 @@
 config MLX4_INFINIBAND
        tristate "Mellanox ConnectX HCA support"
-       depends on NETDEVICES && ETHERNET && PCI
+       depends on NETDEVICES && ETHERNET && PCI && INET
        select NET_VENDOR_MELLANOX
        select MLX4_CORE
        ---help---
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to