Re: How to use dpdk ring and mem lib in kernel level?
From: GongJinrong <hidden>
Date: 2014-08-19 02:14:13
Thanks, Bruce, it's a good sample. -----Original Message----- From: Richardson, Bruce [mailto:bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org] Sent: Monday, August 18, 2014 8:10 PM To: GongJinrong; dev-VfR2kkLFssw@public.gmane.org Subject: RE: [dpdk-dev] How to use dpdk ring and mem lib in kernel level?
-----Original Message----- From: dev [mailto:dev-bounces-VfR2kkLFssw@public.gmane.org] On Behalf Of GongJinrong Sent: Sunday, August 17, 2014 7:10 AM To: dev-VfR2kkLFssw@public.gmane.org Subject: [dpdk-dev] How to use dpdk ring and mem lib in kernel level? Hi, guys Can dpdk support allocate mempool and create ring in kernel level? I know dpdk is user space driver, but many application need a channel to transmit data from kernel to user space without any hardware dependency(just like pf ring)? Anyone has a sample like this? Best Regards John Gong
Have you looked at the KNI kernel module and library, it might provide what you need? It is documented in the programmers guide, if you want to read up about it. Regards, /Bruce