aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJian Shen <[email protected]>2019-08-01 11:55:37 +0800
committerDavid S. Miller <[email protected]>2019-08-01 13:32:12 -0400
commita723fb8efe29d3912d2be41edcf38b76f8d6ed36 (patch)
treee82dd1253b8d2cb1e1dc72abbac3994a2f0f4cc4 /tools/perf/scripts/python
parent3f0f325309aca23cb241c1aded0056d78d7366a1 (diff)
net: hns3: refine for set ring parameters
Previously, when changing the ring parameters, we free the old ring resources firstly, and then setup the new ring resources. In some case of an memory allocation fail, there will be no resources to use. This patch refines it by setup new ring resources and free the old ring resources in order. Also reduce the max ring BD number to 32760 according to UM. Signed-off-by: Jian Shen <[email protected]> Reviewed-by: Peng Li <[email protected]> Signed-off-by: Huazhong Tan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions