OSDN Git Service

net/mlx5: E-Switch, move QoS specific fields to existing qos struct
authorParav Pandit <parav@nvidia.com>
Wed, 3 Feb 2021 13:32:50 +0000 (15:32 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 2 Apr 2021 23:13:04 +0000 (16:13 -0700)
commite591605f801ecfa2202b2682bf7af96e1d3129df
tree2c406fd38842f70a93a177be1e1f78a08dc74ba4
parentcadb129ffdfecd2aada3b590cd3132060e665e33
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>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h