From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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=coGuSEtvyD4j6Y79Kjw8/Vi/eFZk46PC20ngm7YyaS4=; b=uvbuHe03KlphLsbgG2yulSrwKnfy48oD3oN2dk7pyqE2tHvXFzmiqbYlVnc/CFTlU5 DAdnyDXN6L9mt/cdkGduG9Ow5OrPDpQmBVu9vz1fFFYVSA/De1DRxYjUUunJ+to8v3If M5dAEj+spXZCRRyhAwxh0r9IyDyZgJaUmQqPG4+hcX0kTO3QG0hfAcRIKtFoGas5/sGR FzDpmnyvRDVmEVkhvqZFZVoiHh9kkvGce8TPGNMtsHleYEya3XGYUOEacAbNYgIchCST +gP08WsnOveWs/71sR8gbZL5zJCB2rVvbmhvErVKhuSVss7iLfLmBfjqPf3TOmPrxkhw J6NA== 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=coGuSEtvyD4j6Y79Kjw8/Vi/eFZk46PC20ngm7YyaS4=; b=GENd0/rPIlwSO7312zCacFhRev56raQz1RDA/mWpTrqQZrlM2LsNyLV9hE/nGmeXyI EVaCZuT9rUDyo55bK6qlBWl+U2HMAlX18MmYEuyZncpPaPoq9Xh3QLufwc+OsIizsRst Z68DycDCqVJb8BR9/+IZkXWtVEMLWgTk3pkJD2PSq8pSe0vxrLxkB4B0nqB1jxeKJJpu yXEb+ONJxsvIbxQM+Mw1iCVQzzMHXa2Ni7Y/uc0AabAROeKUyOkFmRY0BuC8EWTf+Rdq aUs+xOSGu+82ughQjJ1dsWyXkG93YS7+8KoczqAauOK4vJyOEwfKmcKCq3bW3V9xD+vZ czTw== X-Gm-Message-State: AEkoouvtPGtsINigpn8lhuduF7qoxu/MaVbg0INbmcIdCZqMRKxhi9Mz0uQaAs77w1WbcRMI X-Received: by 10.28.236.24 with SMTP id k24mr24747469wmh.47.1469713700655; Thu, 28 Jul 2016 06:48:20 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id b203sm12359435wmh.20.2016.07.28.06.48.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Jul 2016 06:48:19 -0700 (PDT) From: Thomas Monjalon To: "dumitru.ceara@gmail.com" Cc: dev@dpdk.org, "Ananyev, Konstantin" , "Xing, Beilei" , "Zhang, Helin" , "Wu, Jingjing" Date: Thu, 28 Jul 2016 15:48:18 +0200 Message-ID: <2794870.2VdubtuQhq@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <2601191342CEEE43887BDE71AB97725836B820EF@irsmsx105.ger.corp.intel.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] net/i40e: fix setting RSS in i40e_recv_scattered_pkts X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2016 13:48:21 -0000 > > 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