PCIe EP tp EP

Comments and questions related to the "Down to the TLP" pages

PCIe EP tp EP

Postby Guest »

Hi
How dose an EP know all others (or just one) EPs BARs (addresses/IDs)
thanks
Yotam
Guest
 

Re: PCIe EP tp EP

Postby support »

Hello,

Generally speaking, it doesn't. It's the host that assigns the addresses during enumeration, and therefore each device knows only its own addresses. If peer-to-peer communication is desired, the straightforward way is that the host passes the required information to each device, typically by writing to the device's registers.

So the device knows the addresses of its neighbors because the host supplied that info.

Regards,
Eli
support
 
Posts: 802
Joined:

Re: PCIe EP tp EP

Postby Guest »

Hi
Thanks for the fast answer.
You answered:
"the straightforward way is that the host passes the required information to each device, typically by writing to the device's registers"
1. does it have a spesific message (code) ?
2. does it have a spesific register?
Tx
Yotam
Guest
 

Re: PCIe EP tp EP

Postby support »

Hello,

A PCIe device is just an entity on the bus that can accept bus requests (reads/writes) into its allocated BAR address space, and also generate such (that is, DMA).

How the device's registers are organized, and their meaning, is a matter of implementation of the device. While there are standardized register mappings for certain device classes (USB, Ethernet, display controllers etc), I'm not aware of any such standard setting for peer-to-peer transmissions. Not saying there is none out there.

Regards,
Eli
support
 
Posts: 802
Joined:


Return to General PCIe

cron