From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier Matz Subject: removing mbuf error flags Date: Fri, 29 Apr 2016 14:25:07 +0200 Message-ID: <572352A3.6030400@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "Ananyev, Konstantin" , John Daley To: "dev@dpdk.org" , "Zhang, Helin" Return-path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 9E3A4558B for ; Fri, 29 Apr 2016 14:25:19 +0200 (CEST) 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, In rte_mbuf.h, some rx flags are set to 0 since a long time since nearly 2 years. It means nobody use them. They were introduced by the following commit: http://dpdk.org/browse/dpdk/commit/?id=c22265f6 As far as I understand, these flags were introduced to let the application know that a received packet is invalid. The 2 drivers using them are i40e and enic. But as this flags are 0 today, it means that invalid packets are silently given to the application. My opinion is that invalid packets should not be given to the application and only a statistic counter should be incremented. No application check these flags today (in examples, or testpmd). I would like to remove these flags. Thoughs? Olivier