diff options
author | Ira Weiny <ira.weiny@intel.com> | 2019-03-13 12:05:59 -0700 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-03-26 16:39:40 -0300 |
commit | 4ae27444100f54e6db3a046f086ba4e70e1ac22b (patch) | |
tree | 85adca1c927a4a119487a65c9e4f1261a7f3f1aa /drivers/infiniband/hw/i40iw/i40iw_main.c | |
parent | a4b7013db23e93824ac53083eeb3e4efdef4b5b0 (diff) |
IB/core: Ensure an invalidate_range callback on ODP MR
No device supports ODP MR without an invalidate_range callback.
Warn on any any device which attempts to support ODP without supplying
this callback.
Then we can remove the checks for the callback within the code.
This stems from the discussion
https://www.spinics.net/lists/linux-rdma/msg76460.html
...which concluded this code was no longer necessary.
Acked-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/i40iw/i40iw_main.c')
0 files changed, 0 insertions, 0 deletions