* [dpdk-users] How DPDK initialize PCIe DMA engine?
@ 2019-09-01 13:29 Yuan Kevin
2019-09-02 9:31 ` Van Haaren, Harry
0 siblings, 1 reply; 2+ messages in thread
From: Yuan Kevin @ 2019-09-01 13:29 UTC (permalink / raw)
To: users
Dear DPDK Community members,
I am new to DPDK. After reading through the documentation and doing web search a couple of days, I am still not clear how DPDK initialize PCIe DMA engine.
As far as I know, the PCIe scan / probe / intialization is pretty standardized, but the DMA engines along with the PCIe are very different from vendor to vendor.
My question is, what's the best place to implement the DMA initilization code within the DPDK framework and how?
Could you give me an example ?
Best regards.
Thanks,
Kevin Yuan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-users] How DPDK initialize PCIe DMA engine?
2019-09-01 13:29 [dpdk-users] How DPDK initialize PCIe DMA engine? Yuan Kevin
@ 2019-09-02 9:31 ` Van Haaren, Harry
0 siblings, 0 replies; 2+ messages in thread
From: Van Haaren, Harry @ 2019-09-02 9:31 UTC (permalink / raw)
To: Yuan Kevin, users; +Cc: Richardson, Bruce
> -----Original Message-----
> From: users [mailto:users-bounces@dpdk.org] On Behalf Of Yuan Kevin
> Sent: Sunday, September 1, 2019 2:29 PM
> To: users@dpdk.org
> Subject: [dpdk-users] How DPDK initialize PCIe DMA engine?
>
> Dear DPDK Community members,
Hi Kevin!
> I am new to DPDK. After reading through the documentation and doing web search
> a couple of days, I am still not clear how DPDK initialize PCIe DMA engine.
>
> As far as I know, the PCIe scan / probe / intialization is pretty
> standardized, but the DMA engines along with the PCIe are very different from
> vendor to vendor.
>
> My question is, what's the best place to implement the DMA initilization code
> within the DPDK framework and how?
>
> Could you give me an example ?
There is a DMA engine driver which has been upstreamed in the 19.08 release,
please see the patchset cover-letter here; http://patches.dpdk.org/cover/55872/
The cover letter gives lots of details, and the 9 patches following it enable
the device itself. Patch 2/9 is the patch that enables a new PCI device to register
as a rawdev, which is probably the best way to enable your device:
http://patches.dpdk.org/patch/55874/
> Best regards.
>
> Thanks,
> Kevin Yuan
Hope that helps, -Harry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-09-02 9:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-01 13:29 [dpdk-users] How DPDK initialize PCIe DMA engine? Yuan Kevin
2019-09-02 9:31 ` Van Haaren, Harry
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).