From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47])
 by dpdk.org (Postfix) with ESMTP id CBB612BC7
 for <dev@dpdk.org>; Wed,  9 Nov 2016 11:22:29 +0100 (CET)
Received: by mail-wm0-f47.google.com with SMTP id p190so298555915wmp.1
 for <dev@dpdk.org>; Wed, 09 Nov 2016 02:22:29 -0800 (PST)
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=81Muzk03vbfQKvX2+GtL/Cdtq+hK7qZQK834hAcPcwU=;
 b=lweGSeY7U5drng1rWxjdtNwc8nI5kOd8NSIXq41NnUwcF9spJ5KcZCohwkDkc5Qe8J
 35JfEzu2ReMylC/WqDV+EpUkoUUbOXCOclJwQVWlku/yUfyXTBhpLZhXiT/JTms24Byd
 HscyawhzUK+xCWMCGAt7tJMsk56ciPa8MLFa2QZv9LumBXIFWGyUgRyEUn3ufnUHdXAi
 ERT/g4TdRphgnNGDSy3X7nNHocY1rB9IqPaxBn+sGpjPujvIQfs0EVBoIOGYnFA1fxTw
 Q2Ekv9pPwcl7Q1X3moTsymcVJO7nM3Zl/C5r8vSKzHrnD1E4ktEyszLa+NeNWZkcgK4X
 bL5Q==
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=81Muzk03vbfQKvX2+GtL/Cdtq+hK7qZQK834hAcPcwU=;
 b=k6zz0k6t+HDI6M+HsTX47m6NUFn3zFFwW5sSh3LjsrdgeV+5W09vwbji2gtrC0H8di
 1enyASmjHDVMIs2JivoMCAAF0OWhjRRPijFpK10kRq9oCak9BARMZcXZ6q4rVGFfyCb4
 oFqR2Wi3HPexGOPMYB/IQxJ4ASexojtPi2A9LDjNoHcwwZE/J8zNh1EVSTULVN9Ivu/Y
 TqNmLWnPe3VGAB77cNTsqEzWxlbFUvUWgNc9FGOJTN94u2Ntnv7vspBN6h44kldWiZZ3
 ll5/AB11qJpjPm/82WCmelFycotF3GEu6YCj3y8zYL+f0dbAc+V7Dz4Fln2wYczS79rG
 f+Ow==
X-Gm-Message-State: ABUngvfdZo9pOnQSxgzUlnks8YvdfNR1A81DqXExUs77eSznYqF1UOke0xtm5UYC5SbcJjtA
X-Received: by 10.28.169.74 with SMTP id s71mr16029529wme.1.1478686949531;
 Wed, 09 Nov 2016 02:22:29 -0800 (PST)
Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184])
 by smtp.gmail.com with ESMTPSA id k2sm30959544wjv.11.2016.11.09.02.22.28
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Wed, 09 Nov 2016 02:22:28 -0800 (PST)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: =?ISO-8859-1?Q?Bj=F6rn_T=F6pel?= <bjorn.topel@intel.com>
Cc: "Ananyev, Konstantin" <konstantin.ananyev@intel.com>, dev@dpdk.org,
 helin.zhang@intel.com, "Xu, Qian Q" <qian.q.xu@intel.com>, "Yao,
 Lei A" <lei.a.yao@intel.com>, "Wu, Jingjing" <jingjing.wu@intel.com>
Date: Wed, 09 Nov 2016 11:22:27 +0100
Message-ID: <5303716.ypxckaOVgo@xps13>
User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; )
In-Reply-To: <5ad83b54-f13b-787e-c056-958f5cb8bd61@intel.com>
References: <20161109082341.19825-1-bjorn.topel@intel.com>
 <2601191342CEEE43887BDE71AB9772583F0D2F6C@irsmsx105.ger.corp.intel.com>
 <5ad83b54-f13b-787e-c056-958f5cb8bd61@intel.com>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="iso-8859-1"
Subject: Re: [dpdk-dev] [PATCH] examples/l3fwd: force CRC stripping for
	i40evf
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, 09 Nov 2016 10:22:30 -0000

2016-11-09 11:05, Bj=F6rn T=F6pel:
>  > BTW, all other examples would experience same problem too, right?
>=20
> Correct, so the broader question would be "what is the correct behavi=
or=20
> for an example application, when a port configuration isn't supported=
 by=20
> the hardware?".
>=20
> My stand, FWIW, is that igb and ixgbe should have the same semantics =
as
> i40e currently has, i.e. return an error to the user if the port is
> mis-configured, NOT changing the setting behind the users back.

Yes it sounds sane.