Reputation: 43
Is it possible that linux software capture TLP packet of PCI-E?
I want to know debugging pci-e card.
Thanks
Upvotes: 4
Views: 7518
Reputation: 490573
I don't believe so -- from a software viewpoint, PCI-E is quite well disguised to look like (fast) PCI.
As far as I know, nearly the only reasonable way to do this is with specialized hardware -- specifically a logic analyzer with a PCI-E bus probe. I've used an Agilent analyzer with a FuturePlus probe, and can recommend the combination with only a couple reservations: first, it's not cheap. Second, it can be a bit of a jump for somebody accustomed purely to software.
Upvotes: 4
Reputation: 51
The only way to debug the actual protocol items, which are called Transaction Layer Packets (TLPs) and Data Link Layer Packets (DLLPs) is to use a hardware PCI Express Protocol Analyzers. Very few are sold so the prices are high. Lots of engineering goes into capturing data at gigabit speeds and presenting it in an easy to decipher form. LeCroy's cheapest unit starts from $16,000. The lowest priced PCI Express Protocol Analyzer on the market is from ITIC ($7,995). This includes the protocol analyzer, a x4 lane slot probe, cables and software.
Upvotes: 4