net/mlx5: fix external memory registration
authorYongseok Koh <yskoh@mellanox.com>
Mon, 1 Apr 2019 21:17:53 +0000 (14:17 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 5 Apr 2019 15:45:22 +0000 (17:45 +0200)
commit207fe7ac72ad4a136a68fb979b7b7525161e4235
tree5c9cdffc1438b1c17af8ce85dd586d164a83a05e
parent3d1f3c7c8343b43bbb78368cfca7f329b54a19f0
net/mlx5: fix external memory registration

Secondary process is not allowed to register MR due to a restriction of
library and kernel driver.

Fixes: 7e43a32ee060 ("net/mlx5: support externally allocated static memory")
Cc: stable@dpdk.org
Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
doc/guides/nics/mlx5.rst
drivers/net/mlx5/mlx5_mr.c