[dpdk-dev] [PATCH v3] kni: allow per-net instances

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Nov 4 02:29:12 CET 2015


> > There is a global variable 'device_in_use' which is used to make sure only one
> > instance is using /dev/kni device. If you were using LXC, you will find there is only
> > one instance of KNI example could be run even different namespaces were
> > created.
> > 
> > In order to have /dev/kni used simultaneously in different namespaces, making
> > all of global variables as per network namespace variables.
> > 
> > With regard to single kernel thread mode, there will be one kernel thread for
> > each of network namespace.
> > 
> > Signed-off-by: Dex Chen <dex.chen at ruckuswireless.com>
> Acked-by: Helin Zhang <helin.zhang at intel.com>
> 
> And make sure checkpatch check has been done.

Applied, thanks


More information about the dev mailing list