From: Parav Pandit Date: Wed, 3 Feb 2021 13:32:50 +0000 (+0200) Subject: net/mlx5: E-Switch, move QoS specific fields to existing qos struct X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=233dd7d6565e5f4a691e33306eda2d047e98a4bb;p=linux.git 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 Signed-off-by: Saeed Mahameed --- diff --git a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h index 5d50b127f81ae..64db903068c11 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h +++ b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h @@ -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;