]> Gentwo Git Trees - linux/.git/commit
crypto: hisilicon/qm - check whether the input function and PF are on the same device
authorZhushuai Yin <yinzhushuai@huawei.com>
Thu, 21 Aug 2025 01:38:07 +0000 (09:38 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 30 Aug 2025 07:43:26 +0000 (15:43 +0800)
commit6a2c9164b52e6bc134127fd543461fdef95cc8ec
treef26e8cc7d065fec7c85cbabaf16e1e63e23d238c
parent1f9128f121a872f27251be60ccccfd98c136d72e
crypto: hisilicon/qm - check whether the input function and PF are on the same device

Function rate limiting is set through physical function driver.
Users configure by providing function information and rate limit values.
Before configuration, it is necessary to check whether the
provided function and PF belong to the same device.

Fixes: 22d7a6c39cab ("crypto: hisilicon/qm - add pci bdf number check")
Signed-off-by: Zhushuai Yin <yinzhushuai@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