Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PCI-E / Linux : How to capture TLP packet?

Tags:

pci

Is it possible that linux software capture TLP packet of PCI-E?

I want to know debugging pci-e card.

Thanks

like image 965
myj Avatar asked Oct 29 '25 10:10

myj


2 Answers

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.

like image 198
Jerry Coffin Avatar answered Oct 31 '25 11:10

Jerry Coffin


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.

http://www.internationaltestinstruments.com/products/100-itic-2500a-x4-25-gbps-pci-express-protocol-analyzer.aspx

like image 38
John Avatar answered Oct 31 '25 12:10

John



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!