aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorHarshitha Ramamurthy <[email protected]>2024-04-01 23:45:26 +0000
committerDavid S. Miller <[email protected]>2024-04-03 11:11:15 +0100
commit4cbc70f6ec5e06f93e617d3f2d7f8dc47c0c9067 (patch)
treeecc6843f5f7e5239480eaf3ea0cac41949807259 /tools/perf/scripts/python/libxed.py
parent4c6ce450a8bb4bdf71959fd226414b079f0f0e02 (diff)
gve: simplify setting decriptor count defaults
Combine the gve_set_desc_cnt and gve_set_desc_cnt_dqo into one function which sets the counts after checking the queue format. Both the functions in the previous code and the new combined function never return an error so make the new function void and remove the goto on error. Also rename the new function to gve_set_default_desc_cnt to be clearer about its intention. Reviewed-by: Praveen Kaligineedi <[email protected]> Reviewed-by: Willem de Bruijn <[email protected]> Signed-off-by: Harshitha Ramamurthy <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions