Commit 68c65287 authored by Jian Shen's avatar Jian Shen Committed by Yang Yingliang
Browse files

net: hns3: fix queue id check error when configure flow director rule by ethtool



driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

----------------------------

Currently, when configure flow director rule, the driver uses the
total queue number of each function, rather than the active queue
number, as the upper limit value. It's inconsistent with the value
query from "ethtool -u". So fixes it.

Signed-off-by: default avatarJian Shen <shenjian15@huawei.com>
Signed-off-by: default avatarYonglong Liu <liuyonglong@huawei.com>
Reviewed-by: default avatarli yongxin <liyongxin1@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 22fff1d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment