aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorArthur Kiyanovski <[email protected]>2020-05-03 09:52:10 +0000
committerDavid S. Miller <[email protected]>2020-05-03 15:59:29 -0700
commit80f8443fcdaa27871a233d08e9142612e6ade77c (patch)
tree5dabd3ebb42698edb8910ca8547df1b00f6917ad /tools/perf/scripts/python/stackcollapse.py
parent5889a62b93bd577ace12adace5743e6929bd1dce (diff)
net: ena: avoid unnecessary admin command when RSS function set fails
Currently when ena_set_hash_function() fails the hash function is restored to the previous value by calling an admin command to get the hash function from the device. In this commit we avoid the admin command, by saving the previous hash function before calling ena_set_hash_function() and using this previous value to restore the hash function in case of failure of ena_set_hash_function(). Signed-off-by: Sameeh Jubran <[email protected]> Signed-off-by: Arthur Kiyanovski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions