numam-dpdk/drivers/compress
Michael Baum 334ed198ab common/mlx5: remove redundant parameter in MR search
Memory region management has recently been shared between drivers,
including the search for caches in the data plane.
The initial search in the local linear cache of the queue, usually
yields a result and one should not continue searching in the next level
caches.

The function that searches in the local cache gets the pointer to a
device as a parameter, that is not necessary for its operation
but for subsequent searches (which, as mentioned, usually do not
happen).
Transferring the device to a function and maintaining it, takes some
time and causes some impact on performance.

Add the pointer to the device as a field of the mr_ctrl structure. The
field will be updated during control path and will be used only when
needed in the search.

Fixes: fc59a1ec55 ("common/mlx5: share MR mempool registration")

Signed-off-by: Michael Baum <michaelba@nvidia.com>
Reviewed-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Reviewed-by: Dmitry Kozlyuk <dkozlyuk@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2021-11-07 14:11:16 +01:00
..
isal version: 21.11-rc0 2021-08-17 08:37:52 +02:00
mlx5 common/mlx5: remove redundant parameter in MR search 2021-11-07 14:11:16 +01:00
octeontx devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
qat compress/qat: add gen-specific implementation 2021-11-04 19:46:27 +01:00
zlib version: 21.11-rc0 2021-08-17 08:37:52 +02:00
meson.build drivers: clean up build lists 2021-04-21 12:37:55 +02:00