diff options
author | Bart Van Assche <[email protected]> | 2016-02-11 11:05:38 -0800 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2016-02-29 17:12:35 -0500 |
commit | f130c2205dba8f02372c794c6c4e6cc4906376f4 (patch) | |
tree | ca3b7390ed3896ba3586aeb58b834057b5b7ae4b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e1dd413ccff7a35c4d8b14781668ed27bae64823 (diff) |
IB/srpt: Simplify channel state management
The only allowed channel state changes are those that change
the channel state into a state with a higher numerical value.
This allows to merge the functions srpt_set_ch_state() and
srpt_test_and_set_ch_state() into a single function.
Signed-off-by: Bart Van Assche <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Cc: Alex Estrin <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions