[dpdk-dev] [PATCH v3] kni: create KNI interface in current network namespace

2014-12-03 Thread Thomas Monjalon
> > With this patch, KNI interface (e.g. vEth0) is created in the > > network namespace where the DPDK application is running. > > Otherwise, all interfaces are created in the default namespace > > in the host. > > > > put_net() is required, since get_net_ns_by_pid() increments > > the reference co

[dpdk-dev] [PATCH v3] kni: create KNI interface in current network namespace

2014-12-03 Thread Nicolas Dichtel
Le 03/12/2014 02:37, Takayuki Usui a ?crit : > With this patch, KNI interface (e.g. vEth0) is created in the > network namespace where the DPDK application is running. > Otherwise, all interfaces are created in the default namespace > in the host. > > put_net() is required, since get_net_ns_by_pid(

[dpdk-dev] [PATCH v3] kni: create KNI interface in current network namespace

2014-12-03 Thread Takayuki Usui
With this patch, KNI interface (e.g. vEth0) is created in the network namespace where the DPDK application is running. Otherwise, all interfaces are created in the default namespace in the host. put_net() is required, since get_net_ns_by_pid() increments the reference counter of the network namesp