IB/mlx5: Add memory windows allocation support
authorMatan Barak <matanb@mellanox.com>
Mon, 29 Feb 2016 16:05:30 +0000 (18:05 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 1 Mar 2016 16:18:54 +0000 (11:18 -0500)
commitd2370e0a573e5c5ea9c96373558727abb3ea71f7
tree11e770e07728416ed1a26eb102b2274243b2697a
parentb2a239df4e65fe35240ddf3e5f9f31335c90589b
IB/mlx5: Add memory windows allocation support

This patch adds user-space support for memory windows allocation and
deallocation. It also exposes the supported types via
query_device_caps verb.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Tested-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/mr.c
drivers/infiniband/hw/mlx5/user.h
include/linux/mlx5/mlx5_ifc.h