net/mlx5: Manage ICM type of SW encap
authorShun Hao <shunh@nvidia.com>
Wed, 6 Dec 2023 14:01:36 +0000 (16:01 +0200)
committerLeon Romanovsky <leon@kernel.org>
Tue, 12 Dec 2023 07:04:00 +0000 (09:04 +0200)
commitabf8e8f29a3cb6d9c0f599d335f9ad3dcf2dcf11
tree9c1eacd0578c4d1b3234ea6b1e19c5222f20d432
parenta429ec96c07f3020af12029acefc46f42ff5c91c
net/mlx5: Manage ICM type of SW encap

Support allocate/deallocate the new SW encap ICM type memory.
The new ICM type is used for encap context allocation managed by SW,
instead FW. It can increase encap context maximum number and allocation
speed

Signed-off-by: Shun Hao <shunh@nvidia.com>
Link: https://lore.kernel.org/r/bed5121255918eb132a1334141c76a0594df8143.1701871118.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c