Skip to content
Commit e8711402 authored by Leon Romanovsky's avatar Leon Romanovsky
Browse files

net/mlx5: Simplify eswitch mode check



Provide mlx5_core device instead of "priv" pointer while checking
eswith mode.

Reviewed-by: default avatarRoi Dayan <roid@nvidia.com>
Signed-off-by: default avatarLeon Romanovsky <leonro@nvidia.com>
parent 601c10c8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment