From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3] kni: create KNI interface in current network namespace Date: Wed, 03 Dec 2014 15:01:44 +0100 Message-ID: <14039740.B3UPW4eh0u@xps13> References: <547D809E.8020607@6wind.com> <1417570646-7724-1-git-send-email-takayuki@midokura.com> <547EEB31.4070900@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Takayuki Usui Return-path: In-Reply-To: <547EEB31.4070900-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" > > 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 namespace with get_net(). > > > > Signed-off-by: Takayuki Usui > Signed-off-by: Nicolas Dichtel Applied Thanks -- Thomas