summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/Makefile
diff options
context:
space:
mode:
authorHaggai Eran <haggaie@mellanox.com>2014-12-11 17:04:20 +0200
committerRoland Dreier <roland@purestorage.com>2014-12-15 18:19:02 -0800
commit8cdd312cfed706b067d7ea952603e28cc33c40cc (patch)
treec9372550bc0430d23f87862451a405038dbf0d93 /drivers/infiniband/hw/mlx5/Makefile
parente420f0c0f3d1022789fcb59b2a0c4b979ce311ba (diff)
downloadlinux-8cdd312cfed706b067d7ea952603e28cc33c40cc.tar.bz2
IB/mlx5: Implement the ODP capability query verb
The patch adds infrastructure to query ODP capabilities in the mlx5 driver. The code will read the capabilities from the device, and enable only those capabilities that both the driver and the device supports. At this point ODP is not supported, so no capability is copied from the device, but the patch exposes the global ODP device capability bit. Signed-off-by: Shachar Raindel <raindel@mellanox.com> Signed-off-by: Haggai Eran <haggaie@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/Makefile')
-rw-r--r--drivers/infiniband/hw/mlx5/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mlx5/Makefile b/drivers/infiniband/hw/mlx5/Makefile
index 4ea0135af484..27a70159e2ea 100644
--- a/drivers/infiniband/hw/mlx5/Makefile
+++ b/drivers/infiniband/hw/mlx5/Makefile
@@ -1,3 +1,4 @@
obj-$(CONFIG_MLX5_INFINIBAND) += mlx5_ib.o
mlx5_ib-y := main.o cq.o doorbell.o qp.o mem.o srq.o mr.o ah.o mad.o
+mlx5_ib-$(CONFIG_INFINIBAND_ON_DEMAND_PAGING) += odp.o