]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/mlx5e: CT: extract a memcmp from a spinlock section
authorCosmin Ratiu <cratiu@nvidia.com>
Tue, 8 Jul 2025 21:16:24 +0000 (00:16 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 10 Jul 2025 02:47:43 +0000 (19:47 -0700)
commit122d86aa2a0c8950ea958a3d258eccbb5872bd68
tree45ea4d883717d06872d763352d37a218d515bd17
parentade89d1f2486e5189b3a3f0a9e917defa4ff0779
net/mlx5e: CT: extract a memcmp from a spinlock section

This reduces the time the lock is held and reduces contention.

Signed-off-by: Cosmin Ratiu <cratiu@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/1752009387-13300-3-git-send-email-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c