mlx5_wol_mode
u8 mlx5_wol_mode;
err = mlx5_query_port_wol(mdev, &mlx5_wol_mode);
wol->wolopts = mlx5e_reformat_wol_mode_mlx5_to_linux(mlx5_wol_mode);
u32 mlx5_wol_mode;
mlx5_wol_mode = mlx5e_reformat_wol_mode_linux_to_mlx5(wol->wolopts);
return mlx5_set_port_wol(mdev, mlx5_wol_mode);