Commit 3a780271 authored by Zhushuai Yin's avatar Zhushuai Yin Committed by Greg Kroah-Hartman
Browse files

crypto: hisilicon/qm - check whether the input function and PF are on the same device



[ Upstream commit 6a2c9164 ]

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: 22d7a6c3 ("crypto: hisilicon/qm - add pci bdf number check")
Signed-off-by: default avatarZhushuai Yin <yinzhushuai@huawei.com>
Signed-off-by: default avatarChenghai Huang <huangchenghai2@huawei.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c9035e9b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment