]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Move MACsec initialization from profile init stage to profile enable stage
authorEmeel Hakim <ehakim@nvidia.com>
Wed, 21 Sep 2022 18:10:52 +0000 (11:10 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 23 Sep 2022 01:01:33 +0000 (18:01 -0700)
commit6b1e83c45a23ab6013f5c008f9d50a23735b2cc3
treebe5de81bb217bdcf0b12ddb42a56b4421bba67df
parent5f0b138ee960e925c6b9f46c9735b3aae5b41a72
net/mlx5e: Move MACsec initialization from profile init stage to profile enable stage

Postpone MACsec initialization to the mlx5e profile enable stage to have
user access region (UAR) pages and other resources ready before MACsec
initialization to initialize advanced steering operation (ASO) hardware
resources.

Reviewed-by: Raed Salem <raeds@nvidia.com>
Signed-off-by: Emeel Hakim <ehakim@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c