commit | c78b5b6cdc8fd8a305b26ba59fe5fad6a0acbe6e | [log] [tgz] |
---|---|---|
author | Huazhong Tan <tanhuazhong@huawei.com> | Fri Jan 18 16:13:08 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Jan 18 15:10:21 2019 -0800 |
tree | 695abe221f300a867464265217fdd6b4af2450f4 | |
parent | 73fc9c4882439b3ea4f185264e1c6d969d61b067 [diff] |
net: hns3: modify parameter checks in the hns3_set_channels The number of queues for each enabled TC should range from 1 to the maximum available value, and return directly if the value is same as the current one. Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>