summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorEli Cohen <elic@nvidia.com>2021-01-12 10:05:25 +0300
committerJakub Kicinski <kuba@kernel.org>2021-01-14 02:45:51 +0300
commit21bad8da1e7728eb69bb4f4558058872cbf6b06e (patch)
tree3ac3385737b20f8c07e6e83fbd8d398f2c4cd6cc /tools/perf/scripts/python/bin/stackcollapse-record
parent838b00a2260ab6ec104a2a5696e619c19e8cd9be (diff)
downloadlinux-21bad8da1e7728eb69bb4f4558058872cbf6b06e.tar.xz
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 <elic@nvidia.com> Reviewed-by: Roi Dayan <roid@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions