On 5/3/2018 11:58 AM, Tan, Jianfeng wrote:
I have a question, hope you can clarify it a little bit. As I understand, this FPGA bus are used for AFU device enumeration, and each device on this bus needs a AFU driver to drive. But now we register AFU drivers, but enumerate rte_ifpga_device. Why? The reason I can think of, we need to maintain the relationship of fpga devices and afu devices. But I think similar problem would exist in dpaa and fslmc bus too. It is interesting to know the best practice on this.
After offline discussion with Tianfei, I got that current implementation is to add a bus for afu devices and afu drivers. As for the bus name, ifpga bus or afu bus, I'm OK to both; only if you clarify the purpose of this bus is to manage afu devices and afu drivers.
Thanks, Jianfeng