aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPeng Li <lipeng321@huawei.com>2021-10-19 22:16:35 +0800
committerDavid S. Miller <davem@davemloft.net>2021-10-20 11:38:11 +0100
commit0dd8a25f355b4df2d41c08df1716340854c7d4c5 (patch)
tree47b2703cf71786c652730ba4e29e2bd7e67b142f /tools/perf/scripts/python/exported-sql-viewer.py
parent1385cc81baeb3bd8cbbbcdc1557f038ac1712529 (diff)
net: hns3: disable sriov before unload hclge layer
HNS3 driver includes hns3.ko, hnae3.ko and hclge.ko. hns3.ko includes network stack and pci_driver, hclge.ko includes HW device action, algo_ops and timer task, hnae3.ko includes some register function. When SRIOV is enable and hclge.ko is removed, HW device is unloaded but VF still exists, PF will not reply VF mbx messages, and cause errors. This patch fix it by disable SRIOV before remove hclge.ko. Fixes: e2cb1dec9779 ("net: hns3: Add HNS3 VF HCL(Hardware Compatibility Layer) Support") Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Guangbin Huang <huangguangbin2@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