> -----Original Message----- > From: Dex Chen [mailto:dex.chen at ruckuswireless.com] > Sent: Tuesday, October 27, 2015 10:57 AM > To: dev at dpdk.org > Cc: Zhang, Helin; Dex Chen > Subject: [PATCH v3] kni: allow per-net instances > > 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.