Hi All:
In our system, we use a pcie switch pex817 to link six dm8168 chips. One RC and five EP and any of EP need communicate with RC or other EP.
The RC can communicate with any EP at present. But I have no idea about EP's communication.
In RC, I mapped five EPs PCIE address :
pci 0000:03:00.0: BAR Configuration - Start | Length | Flags pci 0000:03:00.0: 0x25000000 | 4096 | 0x00040200 pci 0000:03:00.0: 0x20000000 | 8388608 | 0x00042208 //-----------------EP1 BAR0 BAR1 BAR2 pci 0000:03:00.0: 0x20800000 | 8388608 | 0x00042208 pci 0000:04:00.0: BAR Configuration - Start | Length | Flags pci 0000:04:00.0: 0x25200000 | 4096 | 0x00040200 pci 0000:04:00.0: 0x21000000 | 8388608 | 0x00042208 //-------------------EP2 BAR0 BAR1 BAR2....... pci 0000:04:00.0: 0x21800000 | 8388608 | 0x00042208 pci 0000:05:00.0: BAR Configuration - Start | Length | Flags pci 0000:05:00.0: 0x25400000 | 4096 | 0x00040200 pci 0000:05:00.0: 0x22000000 | 8388608 | 0x00042208 pci 0000:05:00.0: 0x22800000 | 8388608 | 0x00042208 pci 0000:06:00.0: BAR Configuration - Start | Length | Flags pci 0000:06:00.0: 0x25500000 | 4096 | 0x00040200 pci 0000:06:00.0: 0x23000000 | 8388608 | 0x00042208 pci 0000:06:00.0: 0x23800000 | 8388608 | 0x00042208 pci 0000:07:00.0: BAR Configuration - Start | Length | Flags pci 0000:07:00.0: 0x25600000 | 4096 | 0x00040200 pci 0000:07:00.0: 0x24000000 | 8388608 | 0x00042208 pci 0000:07:00.0: 0x24800000 | 8388608 | 0x00042208
So, any idea about EP to EP communication give me?