diff options
author | Naveen Mamindlapalli <naveenm@marvell.com> | 2023-05-13 14:21:36 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-05-15 09:31:07 +0100 |
commit | 12e7789ad5b476e945aba8edb1161c633cb7db31 (patch) | |
tree | 43787023adafbc1fe413fcca965a95745c4c1267 /tools/leds | |
parent | b2cbac9b9b28730e9e53be20b6cdf979d3b9f27e (diff) | |
download | linux-12e7789ad5b476e945aba8edb1161c633cb7db31.tar.gz linux-12e7789ad5b476e945aba8edb1161c633cb7db31.tar.bz2 linux-12e7789ad5b476e945aba8edb1161c633cb7db31.zip |
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 <naveenm@marvell.com>
Co-developed-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Signed-off-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/leds')
0 files changed, 0 insertions, 0 deletions