[dpdk-dev] How to use dpdk ring and mem lib in kernel level?

GongJinrong jinronggong at hotmail.com
Tue Aug 19 04:14:13 CEST 2014


Thanks, Bruce, it's a good sample.

-----Original Message-----
From: Richardson, Bruce [mailto:bruce.richardson at intel.com] 
Sent: Monday, August 18, 2014 8:10 PM
To: GongJinrong; dev at dpdk.org
Subject: RE: [dpdk-dev] How to use dpdk ring and mem lib in kernel level?

> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of GongJinrong
> Sent: Sunday, August 17, 2014 7:10 AM
> To: dev at dpdk.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


More information about the dev mailing list