SR-IOV capabilities not detecting for INTEL QAT Crypto PCI device

SR-IOV capabilities not detecting for INTEL QAT Crypto PCI device

I am using Intel Corporation Atom processor C2000 chip based linux machine. Loaded with ubuntu with kernel 4.4.x version. from lspci i could see SR-IOV (single root I/O virtualization) capability has been detected for Ethernet ports but not for QAT PCI.

root@test-Mohan-Peak:~# lspci       
00:00.0 Host bridge: Intel Corporation Atom processor C2000 SoC Transaction Router (rev 02)
00:01.0 PCI bridge: Intel Corporation Atom processor C2000 PCIe Root Port 1 (rev 02)       
00:02.0 PCI bridge: Intel Corporation Atom processor C2000 PCIe Root Port 2 (rev 02)       
00:03.0 PCI bridge: Intel Corporation Atom processor C2000 PCIe Root Port 3 (rev 02)       
00:0b.0 Co-processor: Intel Corporation Atom processor C2000 QAT (rev 02)                  
00:0e.0 Host bridge: Intel Corporation Atom processor C2000 RAS (rev 02)                   
00:0f.0 IOMMU: Intel Corporation Atom processor C2000 RCEC (rev 02)
00:13.0 System peripheral: Intel Corporation Atom processor C2000 SMBus 2.0 (rev 02)
00:14.0 Ethernet controller: Intel Corporation Ethernet Connection I354 (rev 02)
00:14.1 Ethernet controller: Intel Corporation Ethernet Connection I354 (rev 02)
00:14.2 Ethernet controller: Intel Corporation Ethernet Connection I354 (rev 02)
00:14.3 Ethernet controller: Intel Corporation Ethernet Connection I354 (rev 02)

..............
/s) Switch [ExpressLane] (rev bb)
07:00.0 Ethernet controller: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 (rev 01)
07:00.1 Ethernet controller: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 (rev 01)

From above 00:0b.0 is for QAT and 07.00.0/1 for eth devices.
output for 07.00.0 using lspci -vvd:1528

root@test-Mohan-Peak:~# lspci -vvd:1528 | grep Capa
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
        Capabilities: [70] MSI-X: Enable+ Count=64 Masked-
        Capabilities: [a0] Express (v2) Endpoint, MSI 00
        Capabilities: [100 v2] Advanced Error Reporting
        Capabilities: [150 v1] Alternative Routing-ID Interpretation (ARI)
        Capabilities: [160 v1] Single Root I/O Virtualization (SR-IOV)
        Capabilities: [1d0 v1] Access Control Services
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
        Capabilities: [70] MSI-X: Enable+ Count=64 Masked-
        Capabilities: [a0] Express (v2) Endpoint, MSI 00
        Capabilities: [100 v2] Advanced Error Reporting
        Capabilities: [150 v1] Alternative Routing-ID Interpretation (ARI)
        Capabilities: [160 v1] Single Root I/O Virtualization (SR-IOV)
        Capabilities: [1d0 v1] Access Control Services

snippte for SR-IOV capabilities alone

        Capabilities: [160 v1] Single Root I/O Virtualization (SR-IOV)
                IOVCap: Migration-, Interrupt Message Number: 000
                IOVCtl: Enable- Migration- Interrupt- MSE- ARIHierarchy-
                IOVSta: Migration-
                Initial VFs: 64, Total VFs: 64, Number of VFs: 0, Function Dependency Link: 01
                VF offset: 128, stride: 2, Device ID: 1515
                Supported Page Size: 00000553, System Page Size: 00000001
                Region 0: Memory at 0000000084900000 (64-bit, non-prefetchable)
                Region 3: Memory at 0000000084a00000 (64-bit, non-prefetchable)
                VF Migration: offset: 00000000, BIR: 0
        Capabilities: [1d0 v1] Access Control Services
                ACSCap: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-
                ACSCtl: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-

Capabilities for QAT as mentioned below.
root@test-Mohan-Peak:~# lspci -vvd:1f18 | grep Capa
        Capabilities: [b0] MSI: Enable- Count=1/1 Maskable+ 64bit+
        Capabilities: [60] MSI-X: Enable+ Count=17 Masked-
        Capabilities: [6c] Power Management version 3
        Capabilities: [74] Express (v2) Root Complex Integrated Endpoint, MSI 00
        Capabilities: [100 v1] Advanced Error Reporting

no SR-IOV capability displayed.

tried multiple options on grub file, BIOS settings (nothing displayed for Virtualization).
Badly need help on how to get this capability for the QAT chip, please provide whether anything i need to in grub file, BIOS settings or any drivers required for the same?. 
Stuck my testing work because of this issue.

Zone: 

Thread Topic: 

Question
1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.