mlx5_core: Re-add MLX5_DEV_CAP_FLAG_ON_DMND_PG flag
authorRoland Dreier <roland@purestorage.com>
Tue, 16 Dec 2014 02:17:17 +0000 (18:17 -0800)
committerRoland Dreier <roland@purestorage.com>
Tue, 16 Dec 2014 02:18:58 +0000 (18:18 -0800)
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>
include/linux/mlx5/device.h

index fa07bfda0e157346db6a845b5f7b2dc349a3796a..096abe543d2c2a80cebdf9494c534a40e58c616f 100644 (file)
@@ -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,