Skip to content
Commit 5024fa95 authored by Saeed Mahameed's avatar Saeed Mahameed
Browse files

net/mlx5e: Remove mlx5e dependency from E-Switch sample



mlx5/esw/sample.c doesn't really need mlx5e_priv object, we can remove
this redundant dependency by passing the eswitch object directly to
the sample object constructor.

Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
Reviewed-by: default avatarRoi Dayan <roid@nvidia.com>
parent f444fea7
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