Commit 433e301f authored by Jialin Zhang's avatar Jialin Zhang
Browse files

PCI/IOV: Improve performance of creating VFs concurrently

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I9J08D



--------------------------------

Previous commit 700a05bd ("PCI/IOV: Add pci_sriov_numvfs_lock
to support enable pci sriov concurrently")
reduce performance of creating VFs belongs to different PFs.
Fix it by checking whether a new bus will be created.

Fixes: 700a05bd ("PCI/IOV: Add pci_sriov_numvfs_lock to support enable pci sriov concurrently")
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parent e1f95954
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment