summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorHuazhong Tan <tanhuazhong@huawei.com>2019-08-09 05:31:17 +0300
committerDavid S. Miller <davem@davemloft.net>2019-08-09 23:44:33 +0300
commit427a7bff66c8a9f8cf68384e24093fc4bf7763a1 (patch)
tree364aa6bb40ac4f1f5414ba1e6049e9c572fdaed2 /tools/perf/scripts/python/export-to-sqlite.py
parent615466ce415a8a94d3c2cbd5ac35aa29bd189ebe (diff)
downloadlinux-427a7bff66c8a9f8cf68384e24093fc4bf7763a1.tar.xz
net: hns3: add handshake with VF for PF reset
Before PF asserting function reset, it should make sure that all its VFs have been ready, otherwise, it will cause some hardware errors. So this patch adds function hclge_func_reset_sync_vf() to synchronize VF before asserting PF function reset. For new firmware which supports command HCLGE_OPC_QUERY_VF_RST_RDY, we will try to query VFs' ready status within 30 seconds. And keep the old implementation for compatible with firmware which does not support this command. Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Reviewed-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions