net/mlx5: fix initialization in secondary process