mlx4: Implement memory windows allocation and deallocation
authorShani Michaeli <shanim@mellanox.com>
Wed, 6 Feb 2013 16:19:14 +0000 (16:19 +0000)
committerRoland Dreier <roland@purestorage.com>
Mon, 25 Feb 2013 18:44:32 +0000 (10:44 -0800)
commit804d6a89a5c0b076317966bcbcd7a63d42241831
tree07360d8b8c6f099bfc5007b951844a133d4c43bd
parente448834e3545e02789897ab68905220aea39cd40
mlx4: Implement memory windows allocation and deallocation

Implement MW allocation and deallocation in mlx4_core and mlx4_ib.
Pass down the enable bind flag when registering memory regions.

Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Shani Michaeli <shanim@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx4/mlx4_ib.h
drivers/infiniband/hw/mlx4/mr.c
drivers/net/ethernet/mellanox/mlx4/mr.c
include/linux/mlx4/device.h