diff options
author | Artemy Kovalyov <artemyko@mellanox.com> | 2017-01-02 11:37:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-02 15:51:20 -0500 |
commit | c438fde1c288a754aa5d22e3668f03a1dde18335 (patch) | |
tree | 50a2a9c5595098f5315068505e1e25312f60d345 /drivers/infiniband/hw/mlx5/mlx5_ib.h | |
parent | 3161625589c1d7c54e949d462f4d0c327664881a (diff) | |
download | linux-stable-c438fde1c288a754aa5d22e3668f03a1dde18335.tar.gz linux-stable-c438fde1c288a754aa5d22e3668f03a1dde18335.tar.bz2 linux-stable-c438fde1c288a754aa5d22e3668f03a1dde18335.zip |
IB/mlx5: Add support for big MRs
Make use of extended UMR translation offset.
Signed-off-by: Artemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/mlx5_ib.h')
-rw-r--r-- | drivers/infiniband/hw/mlx5/mlx5_ib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mlx5/mlx5_ib.h b/drivers/infiniband/hw/mlx5/mlx5_ib.h index d79580dcf20f..73bff77ab20c 100644 --- a/drivers/infiniband/hw/mlx5/mlx5_ib.h +++ b/drivers/infiniband/hw/mlx5/mlx5_ib.h @@ -634,6 +634,7 @@ struct mlx5_ib_dev { int fill_delay; #ifdef CONFIG_INFINIBAND_ON_DEMAND_PAGING struct ib_odp_caps odp_caps; + u64 odp_max_size; /* * Sleepable RCU that prevents destruction of MRs while they are still * being used by a page fault handler. |