aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/qib
diff options
context:
space:
mode:
authorShay Drory <shayd@nvidia.com>2021-03-14 14:54:18 +0200
committerJason Gunthorpe <jgg@nvidia.com>2021-03-23 17:00:14 -0300
commitad50294d4d6b573654cddf09a689592414b28b45 (patch)
tree98e50b34df225914b6c9d9a69eae89cacd405997 /drivers/infiniband/hw/qib
parentRDMA/hns: Fix memory corruption when allocating XRCDN (diff)
downloadlinux-dev-ad50294d4d6b573654cddf09a689592414b28b45.tar.xz
linux-dev-ad50294d4d6b573654cddf09a689592414b28b45.zip
RDMA/mlx5: Create ODP EQ only when ODP MR is created
There is no need to create the ODP EQ if the user doesn't use ODP MRs. Hence, create it only when the first ODP MR is created. This EQ will be destroyed only when the device is unloaded. This will decrease the number of EQs created per device. for example: If we creates 1K devices (SF/VF/etc'), than we will decrease the num of EQs by 1K. Link: https://lore.kernel.org/r/20210314125418.179716-1-leon@kernel.org Signed-off-by: Shay Drory <shayd@nvidia.com> Reviewed-by: Maor Gottlieb <maorg@nvidia.com> Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/qib')
0 files changed, 0 insertions, 0 deletions