net/mlx5: split mlx5_cmd_init() to probe and reload routines
[ Upstream commit 06cd555f ] There is no need to destroy and allocate cmd SW structs during reload, this is time consuming for no reason. Hence, split mlx5_cmd_init() to probe and reload routines. Signed-off-by:Shay Drory <shayd@nvidia.com> Reviewed-by:
Moshe Shemesh <moshe@nvidia.com> Signed-off-by:
Saeed Mahameed <saeedm@nvidia.com> Stable-dep-of: d62b1404 ("net/mlx5: Fix command bitmask initialization") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please sign in to comment