From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id 2B8087EB0 for ; Wed, 3 Dec 2014 15:02:11 +0100 (CET) Received: by mail-wg0-f54.google.com with SMTP id l2so19948071wgh.41 for ; Wed, 03 Dec 2014 06:02:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=I7zvVjJ6GzVd/ck+4oa9P2dW1tTYGQg9cn+w9cqUmZ8=; b=HHJKPDF5Vi2U4EoXZrOasWRFTdHGvdFlzzMHr0JfTvNni9kHmGLq3e0c7Fov8lcpU5 3QM4WEGJg3wM6BSOJ0dFpltqqsOVw+jvbpKSGsNFwXn/3NDT7RDbLrROB6RhXqs+wlTw v/YHsg6dK9bwFf63EEZzbMYpRB/S7DWPShCI4EpxhgzXWtkrb3Ee4VnXytHsZSlPHnCh 4/sTjzeQDHB4IsqkhWRHxx79TFtI94X2G1ojYLBDmW0tZcEQI4ArAr5K4Tbzl+hs38sm 9qmUpl7nnpxR8s2mNCnar+h+sR+minB0u3wmaOLoRpxqkW9V43AOJmaszmSO8WZMhBkd ++Dw== X-Gm-Message-State: ALoCoQmHjJPkdJEe7kQrYA5A9fNcXLjfZMA0prMTH6QNehq4ikZU0BLq83i8D39iBGe8QCKa1qY3 X-Received: by 10.194.58.180 with SMTP id s20mr7925711wjq.28.1417615329644; Wed, 03 Dec 2014 06:02:09 -0800 (PST) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by mx.google.com with ESMTPSA id r10sm37243601wiy.19.2014.12.03.06.02.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Dec 2014 06:02:08 -0800 (PST) From: Thomas Monjalon To: Takayuki Usui Date: Wed, 03 Dec 2014 15:01:44 +0100 Message-ID: <14039740.B3UPW4eh0u@xps13> Organization: 6WIND User-Agent: KMail/4.14.3 (Linux/3.17.4-1-ARCH; KDE/4.14.3; x86_64; ; ) In-Reply-To: <547EEB31.4070900@6wind.com> References: <547D809E.8020607@6wind.com> <1417570646-7724-1-git-send-email-takayuki@midokura.com> <547EEB31.4070900@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v3] kni: create KNI interface in current network namespace X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2014 14:02:11 -0000 > > 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