IB/mlx5: Keep mlx5 MRs in a radix tree under device
authorSagi Grimberg <sagig@mellanox.com>
Sun, 23 Feb 2014 12:19:10 +0000 (14:19 +0200)
committerRoland Dreier <roland@purestorage.com>
Fri, 7 Mar 2014 19:26:49 +0000 (11:26 -0800)
commit3bcdb17a5e88288ead90be3c107e754a6075a5b0
tree622f8951b185bc090d4b0943786e5cb504f105e6
parent2ac45934f8700e0c2a579f6ee85a56c6e9ea89d5
IB/mlx5: Keep mlx5 MRs in a radix tree under device

This will be useful when processing signature errors on a specific
key.  The mlx5 driver will lookup the matching mlx5 memory region
structure and mark it as dirty (contains signature errors).

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/net/ethernet/mellanox/mlx5/core/main.c
drivers/net/ethernet/mellanox/mlx5/core/mr.c
include/linux/mlx5/driver.h