aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTyrel Datwyler <[email protected]>2016-02-10 19:32:23 -0600
committerMartin K. Petersen <[email protected]>2016-02-23 21:27:02 -0500
commit55c9b1e539900ab8ad99744ca8ae827e2e6e5f82 (patch)
tree264863eb03a55af3097b06455e729bca38844d2f /tools/perf/scripts/python
parent5de5f1f67060d61669a177bebab980ca913c0b8c (diff)
ibmvscsi: Add and use enums for valid CRQ header values
The PAPR defines four valid header values for the first byte of a CRQ message. Namely, an unused/empty message (0x00), a valid command/response entry (0x80), a valid initialization entry (0xC0), and a valid transport event (0xFF). Further, initialization responses have two formats namely initialize (0x01) and initialize complete (0x02). Define these values as enums and use them in the code in place of their magic number equivalents. Signed-off-by: Tyrel Datwyler <[email protected]> Reported-by: Johannes Thumshirn <[email protected]> Reviewed-by: Manoj Kumar <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions