Golang package gopcie implements data transfer to/from a PCIExpress hardware device on a Linux-based system. Data can be transferred via:
- PCIExpress Direct Memory Access (DMA) transfers (requires kernel-space device driver) or
- PCIExpress Base Address Register (BAR) accesses.
The BAR resource file identification is based on Andre Richter's easy-pci-mmap.
pcie_bar_read
: Command-line utility to read data from PCIExpress Base Address Registerpcie_bar_write
: Command-line utility to write data to PCIExpress Base Address Registerpcie_dma_read
: Command-line utility to read data from PCIExpress device via Direct Memory Access transferpcie_dma_write
: Command-line utility to write data to PCIExpress device via Direct Memory Access transfer