OFS / opae-sdk

Open Programmable Acceleration Engine
https://ofs.github.io
BSD 3-Clause "New" or "Revised" License
251 stars 84 forks source link

host_exerciser:support no FPGA mgmt PF instances #3108

Closed anandaravuri closed 6 months ago

anandaravuri commented 6 months ago

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

coveralls commented 6 months ago

Pull Request Test Coverage Report for Build 8007037196

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
libraries/afu-test/afu_test.h 22 28 78.57%
<!-- Total: 22 28 78.57% -->
Totals Coverage Status
Change from base Build 7981504925: 0.03%
Covered Lines: 15820
Relevant Lines: 24456

💛 - Coveralls