diff options
author | Naveen Mamindlapalli <[email protected]> | 2023-05-13 14:21:36 +0530 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-05-15 09:31:07 +0100 |
commit | 12e7789ad5b476e945aba8edb1161c633cb7db31 (patch) | |
tree | 43787023adafbc1fe413fcca965a95745c4c1267 /tools/perf/scripts/python/intel-pt-events.py | |
parent | b2cbac9b9b28730e9e53be20b6cdf979d3b9f27e (diff) |
sch_htb: Allow HTB priority parameter in offload mode
The current implementation of HTB offload returns the EINVAL error
for unsupported parameters like prio and quantum. This patch removes
the error returning checks for 'prio' parameter and populates its
value to tc_htb_qopt_offload structure such that driver can use the
same.
Add prio parameter check in mlx5 driver, as mlx5 devices are not capable
of supporting the prio parameter when htb offload is used. Report error
if prio parameter is set to a non-default value.
Signed-off-by: Naveen Mamindlapalli <[email protected]>
Co-developed-by: Rahul Rameshbabu <[email protected]>
Signed-off-by: Rahul Rameshbabu <[email protected]>
Signed-off-by: Hariprasad Kelam <[email protected]>
Signed-off-by: Sunil Kovvuri Goutham <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions