DPDK usage discussions
 help / color / mirror / Atom feed
* DMA Transfers to PCIe Bar Memory
@ 2024-11-06 15:50 Wieckowski, Jacob
  2024-11-06 17:46 ` Dmitry Kozlyuk
  0 siblings, 1 reply; 2+ messages in thread
From: Wieckowski, Jacob @ 2024-11-06 15:50 UTC (permalink / raw)
  To: users

[-- Attachment #1: Type: text/plain, Size: 221 bytes --]

Hello,

Is DMA access to the bar memory of a PCIe device with DPDK possible?
If so, which example project could be used as a reference to gain a better understanding of this topic?

Kind regards
Jakob Wieckowski


[-- Attachment #2: Type: text/html, Size: 2084 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: DMA Transfers to PCIe Bar Memory
  2024-11-06 15:50 DMA Transfers to PCIe Bar Memory Wieckowski, Jacob
@ 2024-11-06 17:46 ` Dmitry Kozlyuk
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Kozlyuk @ 2024-11-06 17:46 UTC (permalink / raw)
  To: Wieckowski, Jacob; +Cc: users

2024-11-06 15:50 (UTC+0000), Wieckowski, Jacob:
> Is DMA access to the bar memory of a PCIe device with DPDK possible?
> If so, which example project could be used as a reference to gain a better understanding of this topic?

Hi,

BAR (base address register) is a place in PCI configuration space,
so one really doesn't "DMA transfers to PCIe BAR memory" to be precise.
Read https://wiki.osdev.org/PCI_Express to explore the topic.

DPDK drivers write to BARs to configure devices,
specifically to setup memory-mapped IO which is used for DMA.
Take a look at this project, which is a toy version of DPDK,
and thus it is easier to grasp:
https://github.com/ixy-languages/ixy-languages

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-06 17:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-06 15:50 DMA Transfers to PCIe Bar Memory Wieckowski, Jacob
2024-11-06 17:46 ` Dmitry Kozlyuk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).