diff options
author | Eli Cohen <[email protected]> | 2021-01-11 23:05:25 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-01-13 15:45:51 -0800 |
commit | 21bad8da1e7728eb69bb4f4558058872cbf6b06e (patch) | |
tree | 3ac3385737b20f8c07e6e83fbd8d398f2c4cd6cc /tools/perf/scripts/python/syscall-counts.py | |
parent | 838b00a2260ab6ec104a2a5696e619c19e8cd9be (diff) |
net/mlx5e: Simplify condition on esw_vport_enable_qos()
esw->qos.enabled will only be true if both MLX5_CAP_GEN(dev, qos) and
MLX5_CAP_QOS(dev, esw_scheduling) are true. Therefore, remove them from
the condition in and rely only on esw->qos.enabled.
Signed-off-by: Eli Cohen <[email protected]>
Reviewed-by: Roi Dayan <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions