common/mlx5: glue null memory region allocation
authorMatan Azrad <matan@mellanox.com>
Wed, 29 Jan 2020 12:38:33 +0000 (12:38 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 5 Feb 2020 08:51:20 +0000 (09:51 +0100)
commite3b8dabebe3c910592b6b8d979a8c03a0cac5ac9
treed17996166fca5d3dc2c8b9e22fd8c8cf13d0a2c5
parentba1768c4186f6b16109eb96798e25dbc0eb5f6ac
common/mlx5: glue null memory region allocation

Add support for rdma-core API to allocate NULL MR.

When the device HW get a NULL MR address, it will do nothing with the
address, no read and no write.

Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/common/mlx5/mlx5_glue.c
drivers/common/mlx5/mlx5_glue.h