]> git.ipfire.org Git - thirdparty/linux.git/commit
crypto: hisilicon/qm - clear all VF configurations in the hardware
authorWeili Qian <qianweili@huawei.com>
Sat, 13 Sep 2025 10:57:53 +0000 (18:57 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 20 Sep 2025 12:21:04 +0000 (20:21 +0800)
commit64b9642fc29a14e1fe67842be9c69c7b90a3bcd6
tree5624517e4bd1880cc91f80c356dac22c42f666d3
parent80736a97cf94eeb02da6de6cfbc5a74514c85a16
crypto: hisilicon/qm - clear all VF configurations in the hardware

When disabling SR-IOV, clear the configuration of each VF
in the hardware. Do not exit the configuration clearing process
due to the failure of a single VF. Additionally, Clear the VF
configurations before decrementing the PM counter.

Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Chenghai Huang <huangchenghai2@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c