diff options
author | Yunsheng Lin <[email protected]> | 2018-08-14 17:13:16 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-08-14 09:54:23 -0700 |
commit | 128b900de7df567ca7ca063bf5da4ed0f357db8c (patch) | |
tree | 3babadfcdcf71e81abdaee52d9bbf6528ecdcbe1 /tools/perf/util/trace-event-scripting.c | |
parent | 60081dcc4fce385ade26d3145b2479789df0b7e5 (diff) |
net: hns3: Fix desc num set to default when setting channel
When user set the channel num using "ethtool -L ethX", the desc num
of BD will set to default value, which will cause desc num set by
user lost problem.
This patch fixes it by restoring the desc num set by user when setting
channel num.
Fixes: 09f2af6405b8 ("net: hns3: add support to modify tqps number")
Signed-off-by: Yunsheng Lin <[email protected]>
Signed-off-by: Peng Li <[email protected]>
Signed-off-by: Salil Mehta <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions