FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6360 Discussions

How can the user logic obtain the bus number and device number from the Agilex R-tile AVST PCIe IP?

jeff_zhu
Employee
748 Views

The user logic needs to obtain the bus number and device number to generate TLPs for mem-read request, but there isn't TL interface as in P-tile IP to get the enumerated bus number and device number. I can't find them in configuration space either

0 Kudos
1 Solution
wchiah
Employee
668 Views

Hi Jeff,

 

The device must capture the destination address from the first config transaction it receives and store it for use in outgoing transactions. Since PCIe is actually point-to-point, not a bus, a device only receives config transactions that are intended for it.
Means when RP send the configuration first read or write transaction to endpoint, the endpoint save the bdf set in config read/write transaction and use it later. 


In P-tile, the bdf is available in tlp config, but not in R-tile.
the RTL is encrypted, Hence not much information I can obtain from that.

What I get from the official release document for R-tile AVST will be.
https://www.intel.com/content/www/us/en/docs/programmable/683501/22-3-7-0-0/about-the-r-tile-streaming-fpga-ip-for.html

bus#, device# are discovered by RP during enumeration process, only the RP host side can read the bus#, device#

Detail, you may refer to B. Root Port Enumeration

 

Hope this answer your question.

Regards,

Wincent_Intel

View solution in original post

0 Kudos
7 Replies
wchiah
Employee
735 Views

Hi,


Thank you for reaching out.

Just to let you know that Intel has received your support request and I am assigned to work on it.

Allow me some time to look into your issue. I shall come back to you with findings.


Thank you for your patience.


Best regards,

Wincent_intel


0 Kudos
wchiah
Employee
711 Views

Hi,

 

Can you clarify more about what you trying to look at?

If you need to obtain the bus and device number you can try the command $ lspci -vt

 

For the R-tile configuration space register you may refer link below

https://www.intel.com/content/www/us/en/docs/programmable/683501/21-3-3-0-0/configuration-space-registers-50453.html

 

Hope this answers your question

Regards,

Wincent_Intel


0 Kudos
wchiah
Employee
701 Views

Hi,

 

I wish to follow up with you about this case.

Do you have any further questions on this matter ?

​​​​​​​Else I would like to have your permission to close this forum ticket

 

Regards,

Wincent_Intel


0 Kudos
jeff_zhu
Employee
692 Views

Hi, Wincent,

What I want to know is how to get the bus and device number is the FPGA user logic, from the IP interfaces of AVST for R-tile PCIe. In PCIe TLP, these numbers are needed. I'm not asking how to get them with linux command.

0 Kudos
wchiah
Employee
669 Views

Hi Jeff,

 

The device must capture the destination address from the first config transaction it receives and store it for use in outgoing transactions. Since PCIe is actually point-to-point, not a bus, a device only receives config transactions that are intended for it.
Means when RP send the configuration first read or write transaction to endpoint, the endpoint save the bdf set in config read/write transaction and use it later. 


In P-tile, the bdf is available in tlp config, but not in R-tile.
the RTL is encrypted, Hence not much information I can obtain from that.

What I get from the official release document for R-tile AVST will be.
https://www.intel.com/content/www/us/en/docs/programmable/683501/22-3-7-0-0/about-the-r-tile-streaming-fpga-ip-for.html

bus#, device# are discovered by RP during enumeration process, only the RP host side can read the bus#, device#

Detail, you may refer to B. Root Port Enumeration

 

Hope this answer your question.

Regards,

Wincent_Intel

0 Kudos
jeff_zhu
Employee
634 Views

Hi, Wincent,

 

Thanks for the reply. Please close this ticket.

 

Best regards,

Jeff

0 Kudos
wchiah
Employee
659 Views

Hi,

 

I wish to follow up with you about this case.

Do you have any further questions on this matter ?

​​​​​​​Else I would like to have your permission to close this forum ticket

 

Regards,

Wincent_Intel


0 Kudos
Reply