diff options
author | Matan Barak <matanb@mellanox.com> | 2014-07-31 11:01:29 +0300 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-08-01 15:11:13 -0700 |
commit | e630664c8383f300c4146d7613d61e5a8eb1f8e3 (patch) | |
tree | e3ec77b2c8b34bc022d0014622e4d392a33aed43 /drivers/infiniband/hw/mlx4/mr.c | |
parent | 7e6edb9b2e0bcfb2a588db390c44d120213c57ae (diff) |
mlx4_core: Add helper functions to support MR re-registration
Add few helper functions to support a mechanism of getting an MPT,
modifying it and updating the HCA with the modified object.
The code takes 2 paths, one for directly changing the MPT (and
sometimes its related MTTs) and another one which queries the MPT and
updates the HCA via fw command SW2HW_MPT. The first path is used in
native mode; the second path is slower and is used only in SRIOV.
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/mr.c')
0 files changed, 0 insertions, 0 deletions