From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Roger B. Melton" Subject: Re: [dpdk-stable] [PATCH] net/i40e: fix unexpected mbuf free in vPMD Date: Thu, 12 Oct 2017 07:15:20 -0400 Message-ID: <6b6ac998-b13e-3b3a-74a6-6bff54349dd2@cisco.com> References: <20171010132205.72173-1-qi.z.zhang@intel.com> <20171010084807.GA34984@bricha3-MOBL3.ger.corp.intel.com> <20171010113959.GA40296@bricha3-MOBL3.ger.corp.intel.com> <6c3a1cbd-e28a-a9cc-ed46-e08dc03644ce@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Cc: Qi Zhang , konstantin.ananyev@intel.com, jingjing.wu@intel.com, beilei.xing@intel.com, dev@dpdk.org, stable@dpdk.org To: Bruce Richardson Return-path: In-Reply-To: <6c3a1cbd-e28a-a9cc-ed46-e08dc03644ce@cisco.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 10/10/17 7:47 AM, Roger B. Melton wrote: > On 10/10/17 7:39 AM, Bruce Richardson wrote: >> On Tue, Oct 10, 2017 at 07:05:33AM -0400, Roger B. Melton wrote: >>> Hi Bruce, >>> >>> I can.  It will take a day or 2 to get the results. >>> >>> Regards, >>> Roger >>> >> Thanks. Keep us posted. We want to ensure we have the best fix possible >> for the issue in this release. > > Thanks for finding a better solution ;-).  I'll let you know the > results when I have them, just wanted you to know it may take a couple > of days to turn around. > > -Roger Confirmed that this patch does address the issue.  Thanks again Bruce/Qi for finding a better alternative. Regards, Roger > >> >> /Bruce >> >>> On 10/10/17 4:48 AM, Bruce Richardson wrote: >>>> +Roger Melton >>>> >>>> On Tue, Oct 10, 2017 at 09:22:05AM -0400, Qi Zhang wrote: >>>>> vPMD tx does not set sw_ring's mbuf to NULL after free it. >>>>> So to prevent same mbuf be free again, we need more carefully >>>>> check in i40e_tx_queue_release_mbufs. >>>>> >>>>> Fixes: b4669bb95038 ("i40e: add vector Tx") >>>>> Cc: stable@dpdk.org >>>>> >>>>> Signed-off-by: Qi Zhang >>>>> --- >>>>> v2: >>>>> - fix at i40e_tx_queue_release_mbufs so no performance impact. >>>>> >>>> This patch also supercedes this one, >>>> http://dpdk.org/dev/patchwork/patch/29814/ >>>> right? >>>> Roger, can you please confirm that this alternative fix works in your >>>> testing and that your patch is no longer necessary too. >>>> >>>> Thanks, >>>> /Bruce >>>> >>>> . >>>> >> . >> > > . >