From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] net/i40e: fix setting RSS in i40e_recv_scattered_pkts Date: Thu, 28 Jul 2016 15:48:18 +0200 Message-ID: <2794870.2VdubtuQhq@xps13> References: <2601191342CEEE43887BDE71AB97725836B82044@irsmsx105.ger.corp.intel.com> <1469529969-31925-1-git-send-email-dumitru.ceara@gmail.com> <2601191342CEEE43887BDE71AB97725836B820EF@irsmsx105.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Ananyev, Konstantin" , "Xing, Beilei" , "Zhang, Helin" , "Wu, Jingjing" To: "dumitru.ceara@gmail.com" Return-path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id DE3DEF94 for ; Thu, 28 Jul 2016 15:48:20 +0200 (CEST) Received: by mail-wm0-f47.google.com with SMTP id i5so109076457wmg.0 for ; Thu, 28 Jul 2016 06:48:20 -0700 (PDT) In-Reply-To: <2601191342CEEE43887BDE71AB97725836B820EF@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" > > From: Dumitru Ceara > > > > The driver is incorrectly setting the RSS field in the last mbuf in the packet chain instead of the first. Moreover, the last mbuf might have > > already been freed if it only contained the Ethernet CRC. > > > > Also, fix the call to i40e_rxd_build_fdir to store the fdir flags in the first mbuf of the chain instead of the last. > > > > Signed-off-by: Dumitru Ceara > > Acked-by: Konstantin Ananyev Fixes: 4861cde46116 ("i40e: new poll mode driver") Fixes: 5a21d9715f81 ("i40e: report flow director matching") Title reworded: net/i40e: fix metadata in first mbuf of scattered Rx Applied, thanks