[dpdk-dev] Having troubles binding an SR-IOV VF to uio_pci_generic on Amazon instance

Stephen Hemminger stephen at networkplumber.org
Thu Oct 1 17:01:00 CEST 2015


On Thu, 1 Oct 2015 14:32:19 +0300
Avi Kivity <avi at scylladb.com> wrote:

> On 10/01/2015 02:27 PM, Michael S. Tsirkin wrote:
> > On Thu, Oct 01, 2015 at 02:20:37PM +0300, Avi Kivity wrote:
> >> People will just use out of tree drivers (dpdk has several already).  It's a
> >> pain, but nowhere near what you are proposing.
> > What's the issue with that?
> 
> Out of tree drivers have to be compiled on the target system (cannot 
> ship a binary package), and occasionally break.
> 
> dkms helps with that, as do distributions that promise binary 
> compatibility, but it is still a pain, compared to just shipping a 
> userspace package.
> 
> >   We already agreed this kernel
> > is going to be tainted, and unsupportable.
> 
> Yes.  So your only motivation in rejecting the patch is to get the 
> author to write the ring translation patch and port it to all relevant 
> drivers instead?

The per-driver ring method is what netmap did.
The problem with that is that it forces infrastructure into already
complex network driver. It never was accepted. There were also still
security issues like time of check/time of use with the ring.


More information about the dev mailing list