summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorHuazhong Tan <tanhuazhong@huawei.com>2019-01-18 16:13:08 +0800
committerDavid S. Miller <davem@davemloft.net>2019-01-18 15:10:21 -0800
commitc78b5b6cdc8fd8a305b26ba59fe5fad6a0acbe6e (patch)
tree695abe221f300a867464265217fdd6b4af2450f4 /include/linux
parent73fc9c4882439b3ea4f185264e1c6d969d61b067 (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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions