diff options
author | Ariel Levkovich <[email protected]> | 2019-05-05 17:07:11 +0300 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2019-05-06 12:51:50 -0300 |
commit | 3b113a1ec3d4ac7e1e621b77650ac05491f5924a (patch) | |
tree | a61b9802139d47da545402adfc483ad2216eeb90 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3a4ef2e2b5cf9a34bcc66c0d33f7eba180a14535 (diff) |
IB/mlx5: Support device memory type attribute
This patch intoruduces a new mlx5_ib driver attribute to the DM allocation
method - the DM type.
In order to allow addition of new types in downstream patches this patch
also refactors the allocation, deallocation and registration handlers to
consider the requested type and perform the necessary actions according to
it.
Since not all future device memory types will be such that are mapped to
user memory, the mandatory page index output attribute is modified to be
optional.
Signed-off-by: Ariel Levkovich <[email protected]>
Reviewed-by: Eli Cohen <[email protected]>
Reviewed-by: Mark Bloch <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions