Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Cherry-pick) host_exerciser:support no FPGA mgmt PF instances (#3108) #3109

Merged
merged 1 commit into from Feb 26, 2024

Commits on Feb 23, 2024

  1. host_exerciser:support no FPGA mgmt PF instances (#3108)

    * host_exerciser:support no FPGA mgmt PF instances
    
    Issue: The host exerciser fails to execute on Devkits if it does not support FPGA management PF.
    The host exerciser enumerates FME and quits the program if the bitstream does not support it.
    
    The I series-DK and F series-DK have multiple host exerciser AFUs on separate PCIe bus, device functions.
    
    fix: If the bitstream does not support FME, perform the host exerciser tests and print message.
    
    host_exerciser --pci-address 0000:03:00.2 lpbk
    host_exerciser --pci-address 0000:04:00.2 lpbk
    
    opae.io ls
    [0000:03:00.0] (0x8086:0xbcce 0x8086:0x1771) Intel Acceleration Development Platform N6001 (Driver: dfl-pci)
    [0000:04:00.7] (0x8086:0xbccf 0x8086:0x1771) Intel Acceleration Development Platform N6001 (Driver: None)
    [0000:04:00.5] (0x8086:0xbccf 0x8086:0x1771) Intel Acceleration Development Platform N6001 (Driver: vfio-pci)
    [0000:03:00.7] (0x8086:0xbccf 0x8086:0x1771) Intel Acceleration Development Platform N6001 (Driver: vfio-pci)
    [0000:04:00.3] (0x8086:0xbcce 0x8086:0x1771) Intel Acceleration Development Platform N6001 (Driver: dfl-pci)
    [0000:03:00.5] (0x8086:0xbccf 0x8086:0x1771) Intel Acceleration Development Platform N6001 (Driver: vfio-pci)
    [0000:04:00.1] (0x8086:0xbcce 0x8086:0x1771) Intel Acceleration Development Platform N6001 (Driver: dfl-pci)
    [0000:03:00.3] (0x8086:0xbcce 0x8086:0x1771) Intel Acceleration Development Platform N6001 (Driver: dfl-pci)
    [0000:03:00.1] (0x8086:0xbcce 0x8086:0x1771) Intel Acceleration Development Platform N6001 (Driver: dfl-pci)
    [0000:04:00.6] (0x8086:0xbccf 0x8086:0x1771) Intel Acceleration Development Platform N6001 (Driver: None)
    [0000:04:00.4] (0x8086:0xbcce 0x8086:0x1771) Intel Acceleration Development Platform N6001 (Driver: dfl-pci)
    [0000:03:00.6] (0x8086:0xbccf 0x8086:0x1771) Intel Acceleration Development Platform N6001 (Driver: vfio-pci)
    [0000:04:00.2] (0x8086:0xbcce 0x8086:0x1771) Intel Acceleration Development Platform N6001 (Driver: vfio-pci)
    [0000:03:00.4] (0x8086:0xbcce 0x8086:0x1771) Intel Acceleration Development Platform N6001 (Driver: dfl-pci)
    [0000:04:00.0] (0x8086:0xbcce 0x8086:0x1771) Intel Acceleration Development Platform N6001 (Driver: dfl-pci)
    [0000:03:00.2] (0x8086:0xbcce 0x8086:0x1771) Intel Acceleration Development Platform N6001 (Driver: vfio-pci)
    
    --------
    
    Signed-off-by: anandaravuri <ananda.ravuri@intel.com>
    Co-authored-by: Peter Colberg <peter.colberg@intel.com>
    anandaravuri and pcolberg committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    e500f53 View commit details
    Browse the repository at this point in the history