net/mlx5: Simplify eswitch mode check
Provide mlx5_core device instead of "priv" pointer while checking eswith mode. Reviewed-by:Roi Dayan <roid@nvidia.com> Signed-off-by:
Leon Romanovsky <leonro@nvidia.com>
Loading
Please register or sign in to comment