From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id B3C8298; Mon, 16 Jan 2017 21:03:49 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP; 16 Jan 2017 12:03:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,240,1477983600"; d="scan'208";a="923183732" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.38]) ([10.237.220.38]) by orsmga003.jf.intel.com with ESMTP; 16 Jan 2017 12:03:47 -0800 To: Adrien Mazarguil , Olivier Matz References: <1484153073-18427-1-git-send-email-olivier.matz@6wind.com> <20170116140354.GE3779@6wind.com> Cc: dev@dpdk.org, Matthieu Ternisien d'Ouville , stable@dpdk.org, Samuel Gauthier From: Ferruh Yigit Message-ID: Date: Mon, 16 Jan 2017 20:03:46 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <20170116140354.GE3779@6wind.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [PATCH] net/mlx: fix IPv4 and IPv6 packet type X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2017 20:03:50 -0000 On 1/16/2017 2:03 PM, Adrien Mazarguil wrote: > On Wed, Jan 11, 2017 at 05:44:33PM +0100, Olivier Matz wrote: >> From: Matthieu Ternisien d'Ouville >> >> Mellanox PMDs do not differentiate IP header with or without options, so >> the advertised packet type for an IPv4 should not be RTE_PTYPE_L3_IPV4, >> which explicitly means "does not contain any header option". >> >> Change the driver to set >> RTE_PTYPE(_INNER)_L3_IPV4_EXT_UNKNOWN or >> RTE_PTYPE(_INNER)_L3_IPV6_EXT_UNKNOWN flags for all IPv4/IPv6 packets >> received. >> >> Fixes: 429df3803a16 ("mlx4: replace some offload flags with packet type") >> Fixes: 67fa62bc672d ("mlx5: support checksum offload") >> >> CC: stable@dpdk.org >> Signed-off-by: Samuel Gauthier >> Signed-off-by: Matthieu Ternisien d'Ouville >> Signed-off-by: Olivier Matz >> --- >> drivers/net/mlx4/mlx4.c | 18 ++++++++++++------ >> drivers/net/mlx5/mlx5_rxtx.c | 12 ++++++------ >> 2 files changed, 18 insertions(+), 12 deletions(-) > > Acked-by: Adrien Mazarguil Applied to dpdk-next-net/master, thanks.