aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx4/alias_GUID.c
diff options
context:
space:
mode:
authorShay Drory <[email protected]>2021-03-14 12:54:18 +0000
committerJason Gunthorpe <[email protected]>2021-03-23 20:00:14 +0000
commitad50294d4d6b573654cddf09a689592414b28b45 (patch)
tree98e50b34df225914b6c9d9a69eae89cacd405997 /drivers/infiniband/hw/mlx4/alias_GUID.c
parentRDMA/hns: Fix memory corruption when allocating XRCDN (diff)
downloadkernel-ad50294d4d6b573654cddf09a689592414b28b45.tar.gz
kernel-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/[email protected] Signed-off-by: Shay Drory <[email protected]> Reviewed-by: Maor Gottlieb <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/alias_GUID.c')
0 files changed, 0 insertions, 0 deletions