diff options
| author | 2022-08-27 18:27:56 +0800 | |
|---|---|---|
| committer | 2022-09-02 18:38:07 +0800 | |
| commit | fa2bf6e35091e66fc83af1aebea06a78a5a2fde4 (patch) | |
| tree | c37b1b43c3b24a8ff1bce7045137bfa19761953d /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | crypto: hisilicon/qm - fix missing put dfx access (diff) | |
| download | linux-dev-fa2bf6e35091e66fc83af1aebea06a78a5a2fde4.tar.xz linux-dev-fa2bf6e35091e66fc83af1aebea06a78a5a2fde4.zip | |
crypto: hisilicon/qm - return failure if vfs_num exceeds total VFs
The accelerator drivers supports users to enable VFs through the
module parameter 'vfs_num'. If the number of VFs to be enabled
exceeds the total VFs, all VFs are enabled. Change it to the same
as enabling VF through the 'sriov_numvfs' file. Returns -ERANGE
if the number of VFs to be enabled exceeds total VFs.
Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
