aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2014-12-15 18:17:17 -0800
committerRoland Dreier <roland@purestorage.com>2014-12-15 18:18:58 -0800
commit6cb7ff3dcfe6aad6a36a0fd0e928b5bea4fabdd5 (patch)
treeee3aaa01d7b05cfd86e1ff9892470d1d80fcbf22 /include/linux/mlx5
parentIB/core: Implement support for MMU notifiers regarding on demand paging regions (diff)
downloadlinux-dev-6cb7ff3dcfe6aad6a36a0fd0e928b5bea4fabdd5.tar.xz
linux-dev-6cb7ff3dcfe6aad6a36a0fd0e928b5bea4fabdd5.zip
mlx5_core: Re-add MLX5_DEV_CAP_FLAG_ON_DMND_PG flag
In commit 0c7aac854f52 ("net/mlx5_core: Remove unused dev cap enum fields"), the flag MLX5_DEV_CAP_FLAG_ON_DMND_PG was removed. Unfortunately the on-demand paging changes actually use it, so re-add the missing flag. Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include/linux/mlx5')
-rw-r--r--include/linux/mlx5/device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/device.h b/include/linux/mlx5/device.h
index fa07bfda0e15..096abe543d2c 100644
--- a/include/linux/mlx5/device.h
+++ b/include/linux/mlx5/device.h
@@ -234,6 +234,7 @@ enum {
MLX5_DEV_CAP_FLAG_APM = 1LL << 17,
MLX5_DEV_CAP_FLAG_ATOMIC = 1LL << 18,
MLX5_DEV_CAP_FLAG_BLOCK_MCAST = 1LL << 23,
+ MLX5_DEV_CAP_FLAG_ON_DMND_PG = 1LL << 24,
MLX5_DEV_CAP_FLAG_CQ_MODER = 1LL << 29,
MLX5_DEV_CAP_FLAG_RESIZE_CQ = 1LL << 30,
MLX5_DEV_CAP_FLAG_DCT = 1LL << 37,