From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier Matz Subject: Re: [PATCH] mbuf: remove unused Rx error flags Date: Mon, 13 Jun 2016 14:49:41 +0200 Message-ID: <575EABE5.6010807@6wind.com> References: <57344C06.1030007@6wind.com> <1463990171-10295-1-git-send-email-olivier.matz@6wind.com> <2601191342CEEE43887BDE71AB97725836B6FDB0@irsmsx105.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: "johndale@cisco.com" , "Zhang, Helin" , "arnon@qwilt.com" , "rolette@infinite.io" , "Chen, Jing D" , "Wu, Jingjing" To: "Ananyev, Konstantin" , "dev@dpdk.org" Return-path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 85D352946 for ; Mon, 13 Jun 2016 14:49:52 +0200 (CEST) In-Reply-To: <2601191342CEEE43887BDE71AB97725836B6FDB0@irsmsx105.ger.corp.intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Konstantin, On 06/13/2016 02:42 PM, Ananyev, Konstantin wrote: > > Hi Olivier, > >>> -----Original Message----- >>> From: Olivier Matz [mailto:olivier.matz@6wind.com] >>> Sent: Monday, May 23, 2016 8:56 AM >>> To: dev@dpdk.org >>> Cc: johndale@cisco.com; Ananyev, Konstantin; Zhang, Helin; arnon@qwilt.com; rolette@infinite.io; Chen, Jing D; Wu, Jingjing >>> Subject: [PATCH] mbuf: remove unused Rx error flags >>> >>> Following the discussions from: >>> http://dpdk.org/ml/archives/dev/2015-July/021721.html >>> http://dpdk.org/ml/archives/dev/2016-April/038143.html >>> >>> The value of these flags is 0, making them useless. Today, no example >>> application checks them on Rx, and only few drivers sets them and >>> silently give wrong packets to the application, which should not happen. >>> >>> This patch removes the unused flags from rte_mbuf and their use in the >>> drivers. The i40e and fm10k are kept as they are today and should be >>> fixed to drop bad packets. The enic driver is managed by its maintainer >>> in another patch. >>> >>> Fixes: c22265f6 ("mbuf: add new packet flags for i40e") >>> Signed-off-by: Olivier Matz >>> --- >> >> Acked-by: Konstantin Ananyev > > > Just a note, I think you'll need to rebase your patch with latest code. > enic PMD fails to compile. Indeed, this patch should be applied after John's enic series. Latest one is there: http://dpdk.org/ml/archives/dev/2016-June/040183.html Please Bruce/Thomas, check this dependency before applying. > Please feel free to keep my ack on it. Thank you for reviewing. Regards, Olivier