diff options
| author | Huazhong Tan <tanhuazhong@huawei.com> | 2018-11-09 22:07:56 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-11-09 16:47:35 -0800 |
| commit | 6ff3cf0783e9343297ef7af2d03c42cbb664ed9b (patch) | |
| tree | a6679956826fec65b320d2a52287f62edeb2a761 /tools/perf/scripts/python/stackcollapse.py | |
| parent | net: hns3: do VF's pci re-initialization while PF doing FLR (diff) | |
| download | linux-6ff3cf0783e9343297ef7af2d03c42cbb664ed9b.tar.gz linux-6ff3cf0783e9343297ef7af2d03c42cbb664ed9b.zip | |
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
