commit | b5f814cc7381e58877ebc9178283e28725c1b4f0 | [log] [tgz] |
---|---|---|
author | Eli Cohen <eli@mellanox.com> | Sun Mar 01 15:31:49 2020 +0200 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Tue Mar 17 19:41:32 2020 -0700 |
tree | 3124c08c40b5e283359284524c7990097a5a592a | |
parent | 31e87b39ba9d47cf31f5a91dd3cc9680f5987d12 [diff] |
net/mlx5: Avoid configuring eswitch QoS if not supported Check if QoS is enabled for the eswitch before attempting to configure QoS parameters and emit a netlink error if not supported. Introduce an API to check if QoS is supported for the eswitch. Signed-off-by: Eli Cohen <eli@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Reviewed-by: Paul Blakey <paulb@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>