Bug 112221
Summary: | Cannot enable sriov on graphics adapter with PCIE type of PCI_EXP_TYPE_LEG_END | ||
---|---|---|---|
Product: | Drivers | Reporter: | Kelly (kelly.zytaruk) |
Component: | PCI | Assignee: | drivers_pci (drivers_pci) |
Status: | NEW --- | ||
Severity: | blocking | CC: | bjorn, kelly.zytaruk, szg00000 |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | all Linux versions between 3.4.9 and 4.5.0-rc2 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
This log shows the error returned when trying to enable sriov. A test module was used to make the call to enable sriov.
Patch that removes the PCIE_TYPE check from sriov_init() dmesg log after applying the patch and enabling sriov. lspci before enabling sriov lspci after enabling sriov lspci details |
Description
Kelly
2016-02-09 14:11:22 UTC
Created attachment 203191 [details]
Patch that removes the PCIE_TYPE check from sriov_init()
As per discussions, no reason for including the check for PCIE_TYPE could be determined, therefore instead of adding a new case to check for PCI_EXP_TYPE_LEG_END the check is removed completely.
Created attachment 203201 [details]
dmesg log after applying the patch and enabling sriov.
sriov is enabled by a test module. Device at 1:0.0 is an sriov capable device. The test module enables sriov with 4 VFs and creates devices 2:0.0, 2:0.1, 2:0.1 and 2:0.3.
Created attachment 203211 [details]
lspci before enabling sriov
lspci shows only the PF device on the bus
Created attachment 203221 [details]
lspci after enabling sriov
lspci shows the VF devices on the bus after enabling sriov
Created attachment 203231 [details]
lspci details
lspci showing sriov config space and the sriov details of the PF
|