net/mlx5: E-Switch, move QoS specific fields to existing qos struct

Function QoS related fields are already defined in qos related struct.
min and max rate are left out to mlx5_vport_info struct.

Move them to existing qos struct.

Signed-off-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
This commit is contained in:
Parav Pandit 2021-02-03 15:32:50 +02:00 committed by Saeed Mahameed
parent b47e105625
commit 233dd7d656

View file

@ -120,8 +120,6 @@ struct mlx5_vport_info {
u16 vlan;
u64 node_guid;
int link_state;
u32 min_rate;
u32 max_rate;
u8 qos;
u8 spoofchk: 1;
u8 trusted: 1;