net/mlx5e: Remove duplicate mkey from SHAMPO header
authorLama Kayal <lkayal@nvidia.com>
Mon, 21 Jul 2025 07:13:19 +0000 (10:13 +0300)
committerJakub Kicinski <kuba@kernel.org>
Wed, 23 Jul 2025 01:20:14 +0000 (18:20 -0700)
commiteeaf11464f38db9307b7d9ed6c7750b83c344ff8
tree13336049813f36433fd19c10591d7ce3f16aa7c8
parenteee529c0044e06959a40c6dba6d85df493f54fc3
net/mlx5e: Remove duplicate mkey from SHAMPO header

SHAMPO structure holds two variations of the mkey, which is unnecessary,
a duplication that's repeated per rq.

Remove duplicate mkey information and keep only one version, the one
used in the fast path, rename field to reflect field type clearly.

Signed-off-by: Lama Kayal <lkayal@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/1753081999-326247-4-git-send-email-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c