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

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Oct 21 17:40:18 CEST 2015


Hi,
It may look strange but you have to ask for reviews of your patches.
Otherwise, people forget to check it.

Helin,
You are the KNI maintainer. Could you look at it please?

2015-07-02 18:12, Dex Chen:
> 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
> differnt 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>


More information about the dev mailing list