[dpdk-dev] [RFC] librte_pmd_packet: add PMD for AF_PACKET-based virtual devices

Richardson, Bruce bruce.richardson at intel.com
Fri Jun 6 22:04:54 CEST 2014



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of John W. Linville
> Sent: Friday, June 06, 2014 12:57 PM
> To: Chris Wright
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [RFC] librte_pmd_packet: add PMD for AF_PACKET-
> based virtual devices
> 
> On Fri, Jun 06, 2014 at 12:47:48PM -0700, Chris Wright wrote:
> > * John W. Linville (linville at tuxdriver.com) wrote:
> > > This is a Linux-specific virtual PMD driver backed by an AF_PACKET
> > > socket.  The current implementation uses mmap'ed ring buffers to
> > > limit copying and user/kernel transitions.  The intent is also to take
> > > advantage of fanout and any future AF_PACKET optimizations as well.
> > >
> > > This is intended to provide a means for using DPDK on a broad range
> > > of hardware without hardware-specifi PMDs and hopefully with better
> > > performance than what PCAP offers in Linux.  This might be useful
> > > as a development platform for DPDK applications when DPDK-supported
> > > hardware is expensive or unavailable.
> >
> > Nice, have you compared yet w/ PCAP numbers?

Agreed. Nice to have generic PMD options for those NICs that don't have specially optimized PMDs.

> 
> No, sorry -- definitely needs more testing, including performance numbers...
> 
Looking forward to seeing those when you have them. :-)



More information about the dev mailing list