commit | db68cc569eecff7dea5e346a217ce9ca5d2a0ede | [log] [tgz] |
---|---|---|
author | Bodong Wang <bodong@mellanox.com> | Fri Jun 28 22:36:20 2019 +0000 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Mon Jul 01 16:40:31 2019 -0700 |
tree | 59e42530fff10ccbc0a2b5e1cdf92eeb604564c6 | |
parent | 16fff98a7e827396eb68f9243636b7240f511f10 [diff] |
net/mlx5: E-Switch, Use iterator for vlan and min-inline setups Use the defined iterators to traversal VF reps/vport. Also, rely on num of VFs rather than the counter of enabled vports as PF will also be enabled from ECPF side, and the counter will be different from num of VFs. Signed-off-by: Bodong Wang <bodong@mellanox.com> Reviewed-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>