diff options
author | Chenghai Huang <huangchenghai2@huawei.com> | 2024-06-01 10:51:49 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-06-07 19:46:40 +0800 |
commit | 13e21e0ba44f5fad02a3b7b34987ff3845718198 (patch) | |
tree | d792819437045a96b753042cf693fcff5d23ff0e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 46b3ff73afc815f1feb844e6b57e43cc13051544 (diff) |
crypto: hisilicon/qm - adjust the internal processing sequence of the vf enable and disable
When the vf is enabled, the value of vfs_num must be assigned
after the VF configuration is complete. Otherwise, the device
may be accessed before the virtual configuration is complete,
causing an error.
When the vf is disabled, clear vfs_num and execute
qm_pm_put_sync before hisi_qm_sriov_disable is return.
Otherwise, if qm_clear_vft_config fails, users may access the
device when the PCI virtualization is disabled, resulting in an
error.
Signed-off-by: Chenghai Huang <huangchenghai2@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions