]> 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)
commitb36ac445340b29c8f6597fdb4a4cd7039e3155a6
treebe5de81bb217bdcf0b12ddb42a56b4421bba67df
parent166a0c23fe87fc67e24f7f3c2c7e960d60808905
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