From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com
 [209.85.212.181]) by dpdk.org (Postfix) with ESMTP id 9808FC3BA
 for <dev@dpdk.org>; Wed, 21 Oct 2015 17:41:24 +0200 (CEST)
Received: by wicll6 with SMTP id ll6so97022215wic.0
 for <dev@dpdk.org>; Wed, 21 Oct 2015 08:41:24 -0700 (PDT)
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=BwBDFVNK5X2XCfJWKe1XdlE4S8JiRjYoDgSi+Wnbk4s=;
 b=ZIOfl7+NqGrEc8TSQdbpz9Edn0Nm5cQer6pmn/f/U3eSUSoAdfINWtp3ILtSJPwqfB
 vnr5Ejgk006b/770wh/vNZRWUeup9tkLtC/9F51+jn1ZvNcvpbWlQ5cFKXM5+uNnCTbP
 MUcXGVFvcqCRBD9dRS0AcGTJ1Az4FnUvOjhjYfc17XAc5rDMppRa7CspJtLcZIFDmqdj
 kqwDK5b+LGj9Td2CkxY1ooDTUivFt0eZkW1l1xn3j4lRqhwnvACop9D/TA1rvpGvLRzQ
 /W2yxER4YiiwR3ymUrUlf1qU+RTJencOOtDw0n+WARYFNjaIeLudDnAHIQwASK2YBZch
 6M6w==
X-Gm-Message-State: ALoCoQnJsutUe7X+GS733ehF7sVNhG7qF73rBqrPTP4vS3ZtXux8+QrInHcfD0EVgPBVUNgn5PXD
X-Received: by 10.194.144.10 with SMTP id si10mr11087418wjb.49.1445442084100; 
 Wed, 21 Oct 2015 08:41:24 -0700 (PDT)
Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net.
 [82.239.227.177])
 by smtp.gmail.com with ESMTPSA id i10sm11112820wjz.41.2015.10.21.08.41.22
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Wed, 21 Oct 2015 08:41:23 -0700 (PDT)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Dex Chen <dex.chen@ruckuswireless.com>
Date: Wed, 21 Oct 2015 17:40:18 +0200
Message-ID: <4823059.cgSmiygnNj@xps13>
Organization: 6WIND
User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; )
In-Reply-To: <1435831933-13339-1-git-send-email-dex.chen@ruckuswireless.com>
References: <1435831933-13339-1-git-send-email-dex.chen@ruckuswireless.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] kni: allow per-net instances
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Oct 2015 15:41:25 -0000

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@ruckuswireless.com>