projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b47e105
)
net/mlx5: E-Switch, move QoS specific fields to existing qos struct
author
Parav Pandit
<parav@nvidia.com>
Wed, 3 Feb 2021 13:32:50 +0000
(15:32 +0200)
committer
Saeed Mahameed
<saeedm@nvidia.com>
Fri, 2 Apr 2021 23:13:07 +0000
(16:13 -0700)
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.h
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
index 5d50b127f81aef788d7c0005b3ca12ac99298e8d..64db903068c112c442f640b63c30e9c80c91a01c 100644
(file)
--- 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;