diff options
author | Michal Wilczynski <[email protected]> | 2023-01-25 12:37:40 +0100 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2023-02-13 09:47:51 -0800 |
commit | 3e6dc119a37bceb06e1d595b1d41b52f3e99132d (patch) | |
tree | 04e01bba1eea6bf6a4fc1e6e19596894adbc2f99 /drivers/usb/cdns3/cdns3-imx.c | |
parent | 2038cc592811209de20c4e094ca08bfb1e6fbc6c (diff) |
ice: Fix check for weight and priority of a scheduling node
Currently checks for weight and priority ranges don't check incoming value
from the devlink. Instead it checks node current weight or priority. This
makes those checks useless.
Change range checks in ice_set_object_tx_priority() and
ice_set_object_tx_weight() to check against incoming priority an weight.
Fixes: 42c2eb6b1f43 ("ice: Implement devlink-rate API")
Signed-off-by: Michal Wilczynski <[email protected]>
Acked-by: Jesse Brandeburg <[email protected]>
Reviewed-by: Paul Menzel <[email protected]>
Tested-by: Gurucharan G <[email protected]> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions