aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorXiang Chen <chenxiang66@hisilicon.com>2017-03-23 01:25:31 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2017-03-23 11:12:02 -0400
commit634a9585f49c7c92d6416128a18ea134eb9ac381 (patch)
treeb786b65dd3d40d0c4bf4c2c2a28adbb4cc91dc48 /tools/perf/scripts/python/export-to-postgresql.py
parentscsi: hisi_sas: remove task free'ing for timeouts (diff)
downloadlinux-634a9585f49c7c92d6416128a18ea134eb9ac381.tar.gz
linux-634a9585f49c7c92d6416128a18ea134eb9ac381.zip
scsi: hisi_sas: process error codes according to their priority
There are some rules to decide which error code has the high priority when errors happen together: (1) Error phase of CQ decides the error happens on RX or TX; (2) For TX error, when DMA/TRANS TX error happen simultaneously, the priority of DMA TX error is higher than TRANS TX error, so for the priority of TX error: DW2 (DMA TX part) > DW0; (3) For RX error, when TRANS/DMA/SIPC RX error happen simultaneously, the priority of TRANS RX error is higher than DMA and SIPC RX error, and we should also keep the rules (the priority of DW3 > DW2), so for the priority of RX error: DW1 > DW3 > DW2(SIPC RX part); (4) There are also a priority we should keep in the same error type. So, modify slot error code to handle this. In addition to this, some some error codes are modified according to recommendation from SoC designer. Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions