summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJian Shen <shenjian15@huawei.com>2020-03-18 06:57:05 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-22 06:22:25 +0300
commit027fd5316005fd524d963fe879d5bf24eee2ab85 (patch)
tree28c0021fcc3493bd93fb69b494958dcfeac55a9a /tools/perf/scripts/python/export-to-postgresql.py
parent09984483db080b541c8242d846c30bc1e6a194e1 (diff)
downloadlinux-027fd5316005fd524d963fe879d5bf24eee2ab85.tar.xz
net: hns3: add a conversion for mailbox's response code
Currently, when mailbox handling fails, the PF driver just responds 1 to the VF driver. It is not sufficient for the VF driver to find out why its mailbox fails. So the error should be responded to VF, but the error is type int and the response field in struct hclge_mbx_pf_to_vf_cmd is type u16, a conversion is needed. Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions