numam-dpdk/drivers
Michael Baum 71304b5c7b common/mlx5: fix redundant field in MR control structure
Inside the MR control structure there is a pointer to the common device.
This pointer enables access to the global cache as well as hardware
objects that may be required in case a new MR needs to be created.

The purpose of adding this pointer into the MR control structure was to
avoid its transfer as a parameter to all the functions of searching MR
in the caches.
However, adding it to this structure increased the Rx and Tx data-path
structures, all the fields that followed it were slightly moved away
which caused to a reduction in performance.

This patch removes the pointer from the structure. It can be accessed
through the "dev_gen_ptr" existing field using the "container_of"
operator.

Fixes: 334ed198ab ("common/mlx5: remove redundant parameter in MR search")

Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2021-11-17 10:42:20 +01:00
..
baseband drivers: remove direct access to interrupt handle 2021-10-25 21:20:12 +02:00
bus bus/fslmc: remove unused device count 2021-11-16 13:01:52 +01:00
common common/mlx5: fix redundant field in MR control structure 2021-11-17 10:42:20 +01:00
compress common/mlx5: fix redundant field in MR control structure 2021-11-17 10:42:20 +01:00
crypto common/mlx5: fix redundant field in MR control structure 2021-11-17 10:42:20 +01:00
dma dma/dpaa: support statistics 2021-11-10 13:48:38 +01:00
event event/dlb2: fix delayed pop test in selftest 2021-11-16 08:02:13 +01:00
gpu gpu/cuda: introduce CUDA driver 2021-11-16 17:47:52 +01:00
mempool mempool/cnxk: postpone devargs parsing 2021-10-29 16:09:25 +02:00
net common/mlx5: fix redundant field in MR control structure 2021-11-17 10:42:20 +01:00
raw raw/cnxk_bphy: add header includes 2021-11-03 16:15:13 +01:00
regex common/mlx5: fix redundant field in MR control structure 2021-11-17 10:42:20 +01:00
vdpa vdpa/mlx5: workaround guest MR registrations 2021-11-10 15:50:35 +01:00
meson.build gpudev: introduce GPU device class library 2021-11-08 17:20:52 +01:00