diff options
author | Shay Drory <[email protected]> | 2021-03-18 15:52:59 +0200 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2021-03-26 11:57:38 -0300 |
commit | e5dc370bd9d6ea1c692c83f2b64a4204c0fa48fb (patch) | |
tree | 86f565c04240b6a4cebc8be2bad5806f47355dfe /tools/perf/scripts/python/intel-pt-events.py | |
parent | c73700806d4e430d182c2be069d230076818a99a (diff) |
RDMA/mlx5: Set ODP caps only if device profile support ODP
Currently, ODP caps are set during the init stage of mlx5_ib_dev,
regardless of whether the device profile supports ODP or not. There is no
point in setting ODP caps if the device profile doesn't support
ODP. Hence, move setting the ODP caps to the odp_init stage.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Maor Gottlieb <[email protected]>
Signed-off-by: Shay Drory <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions