From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41])
 by dpdk.org (Postfix) with ESMTP id 6F634374F
 for <dev@dpdk.org>; Wed, 21 Sep 2016 10:24:39 +0200 (CEST)
Received: by mail-wm0-f41.google.com with SMTP id d66so27564442wmf.0
 for <dev@dpdk.org>; Wed, 21 Sep 2016 01:24:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=6wind-com.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:date:message-id:user-agent:in-reply-to
 :references:mime-version:content-transfer-encoding;
 bh=vfHWR0hxF2iEr4j2HcwuoDtutdnM/4pdJd2gyMX+DlE=;
 b=IeBUoJ5PFcLB+Az1HyISCzImaN4DZMMSRYsOlsFLZ5o7U5oFU/76E7pP+QDINZAq+M
 FSFdHd/7EQjfLxyRnJyR8wkLCUkru5pR7twMOIivpEbmeFFWRN6YLWjrQS2/OzMc/AbH
 CiC6gZHytKqNlkK5Bvgy52r7AgXAH5/uldm2BCCJhZ66Fm7lbvxGhryTjckC091d5osX
 odajp7MHF4PEJAjAdGZ2VtgUYNeJRPil2SGUUwZK7XlaG9gUSZWdqnP4PJM4iWkao4VB
 PTNuw8RfMY5+TQ2J+VmQaueeMLvNVg+zPUR7eApcUMcljQRMYTx80fKAJoyP22aAtmua
 IpMA==
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:user-agent
 :in-reply-to:references:mime-version:content-transfer-encoding;
 bh=vfHWR0hxF2iEr4j2HcwuoDtutdnM/4pdJd2gyMX+DlE=;
 b=OS7D2ZhYOSyjmK4l+houK0jbOOOAgWJEP+AC4WOEm8IWLosZmf/HqKKFkmrf6CmldA
 no/1kQ/yOPX0otOknN5PLFlmTM3cD/GTQzQdcETMGBopel7T1S8ucRQbIBdAYlzd2ncS
 vrapmUN0P0cf0Ug+NXH1C5urad4t+S68ZNv0YhbO1NK21nT4GSjhQdajwLyYFSB1UxQL
 A4ZebNzMm+jn/GBvjud+yjUyudaTpote3pR4x06An1ld6Pcp7OYf+FudD2DxW5+n+om4
 HPl6MRaZvSWCp2hc7ER5hhsgXXemSnarvmjUjIcPmqDq5K+i8vUWAZ6sJS/2WYvduE4o
 YVNQ==
X-Gm-Message-State: AE9vXwOxa4+mSoNqdCD+VvL2NhlFevQ4RLxBh11i/Owhao3y+42Pbs6TdjD700eI34Q7QIlJ
X-Received: by 10.28.207.11 with SMTP id f11mr1841786wmg.29.1474446279111;
 Wed, 21 Sep 2016 01:24:39 -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 b128sm31373313wmb.21.2016.09.21.01.24.38
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Wed, 21 Sep 2016 01:24:38 -0700 (PDT)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: "Wiles, Keith" <keith.wiles@intel.com>
Cc: dev@dpdk.org, Yuanhan Liu <yuanhan.liu@linux.intel.com>,
 "pmatilai@redhat.com" <pmatilai@redhat.com>
Date: Wed, 21 Sep 2016 10:24:37 +0200
Message-ID: <4238923.20rfmTZejf@xps13>
User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; )
In-Reply-To: <20160921021351.GY23158@yliu-dev.sh.intel.com>
References: <1473948649-14169-1-git-send-email-keith.wiles@intel.com>
 <17C91FD1-D21A-49E3-B093-71AA5C1D79C6@intel.com>
 <20160921021351.GY23158@yliu-dev.sh.intel.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-dev] [PATCH v2] drivers/net:new PMD using tun/tap host
	interface
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 Sep 2016 08:24:39 -0000

2016-09-21 10:13, Yuanhan Liu:
> On Wed, Sep 21, 2016 at 01:32:15AM +0000, Wiles, Keith wrote:
> > I only assumed this to work for Linux and not FreeBSD/NetBSD as the handling of the opens on the tun device are different then linux. I also only added it to the common_linux configuration file.
> 
> I didn't notice the common_linux file, but I have guessed so (that you
> meant to enable linux only): the "ifdef __linux" stuff just confuses me
> a bit.

By the way, we have a macro for Linux environment: RTE_EXEC_ENV_LINUXAPP
Please prefer it over __linux