diff options
author | 2021-01-30 13:04:53 +0100 | |
---|---|---|
committer | 2021-02-13 17:17:55 +0100 | |
commit | 7940eaf2e956ce3d67ac9efb5b621adbb823e049 (patch) | |
tree | 485f4f8d392a869d54a22e4628d3c6acf4c48082 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | s390/qdio: rework q->qdio_error indication (diff) | |
download | wireguard-linux-7940eaf2e956ce3d67ac9efb5b621adbb823e049.tar.xz wireguard-linux-7940eaf2e956ce3d67ac9efb5b621adbb823e049.zip |
s390/qdio: improve handling of PENDING buffers for QEBSM devices
For QEBSM devices the 'merge_pending' mechanism in get_buf_states()
doesn't apply, and we can actually get SLSB_P_OUTPUT_PENDING returned.
So for this case propagating the PENDING state to the driver via the
queue's sbal_state doesn't make sense and creates unnecessary overhead.
Instead introduce a new QDIO_ERROR_* flag that gets passed to the
driver, and triggers the same processing as if the buffers were flagged
as QDIO_OUTBUF_STATE_FLAG_PENDING.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Benjamin Block <bblock@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions