diff options
author | Huazhong Tan <tanhuazhong@huawei.com> | 2018-11-09 17:07:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-10 03:47:35 +0300 |
commit | 6ff3cf0783e9343297ef7af2d03c42cbb664ed9b (patch) | |
tree | a6679956826fec65b320d2a52287f62edeb2a761 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 862d969a3a4dcd80e92fdb09d6eab2c3149eb582 (diff) | |
download | linux-6ff3cf0783e9343297ef7af2d03c42cbb664ed9b.tar.xz |
net: hns3: add PCIe FLR support for VF
This patch implements the .reset_prepare and .reset_done
ops from pci framework to support the VF FLR.
This patch uses hclgevf_set_def_reset_request() and
hclgevf_reset_event() to handle FLR, so when
hdev->default_reset_request is non zero, it means there is
some reset requseted by hclgevf_set_def_reset_request() need
to be processed. Also get the hdev from the ae_dev because
hclgevf_reset_event is called with handle being NULL.
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions