From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2AB52A3295 for ; Wed, 23 Oct 2019 17:40:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CF74C1D159; Wed, 23 Oct 2019 17:40:40 +0200 (CEST) Received: from mail-oi1-f193.google.com (mail-oi1-f193.google.com [209.85.167.193]) by dpdk.org (Postfix) with ESMTP id CE6DA1D14A for ; Wed, 23 Oct 2019 17:40:39 +0200 (CEST) Received: by mail-oi1-f193.google.com with SMTP id k20so17764798oih.3 for ; Wed, 23 Oct 2019 08:40:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9eDwT8OXa+7vbCS3J4HAfKEybc8XMFIo9CJpxRq0m1M=; b=Hbp23WkR7mad8nyBxIMe2t1L8B0N7XfUK2rLyhK5fIQRxkr8HHIYsPbFintR5838rK O04VgoIHQjxGDPJxGmm6GuIZmVokYgojRSeID2faAN5nGC6ztacnPgM1MCUiimIF9+bb O35+5jjXc/Y7mLsZcj4UKCW9e6e9JfJV9ykjo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9eDwT8OXa+7vbCS3J4HAfKEybc8XMFIo9CJpxRq0m1M=; b=uESpMPFymoNnU+VspQtZL8Cve6Zz4gBkdbEqs70/7hNqNoYsrRNacPeBmWgn7tYD85 gU/IEsWlnZyhvEtlG9ZYErPFGRfVkxgBPWNlELznr3qGDaO7Hvzg4L/12t/CMHHM4qM4 yMEHe/5b0vL3KTnAzwtLNUrKuKzKsRMk9Iq3VLnSvKAdpeb5xxr3jIIetLC4P4bfco1Z 7gmeJYidU3w30J3E9QGJqIoiQ7lVmORwk7WHISh3I+HlNuY1nz2sYUjAdUJcFRRxGRCJ E9iKA+Tu0sHPPSzic/wFC8hjQKQav4vBvuxQwdpVH9N2no56oFaA6KZTlyzSgl1vmE1I 8FHg== X-Gm-Message-State: APjAAAVZrk+KPZRgFRLzwFu8vw68B+1qHMTgvppaT8+6GTQH0aF0yj5G TfviuHkgBeUNfnfrMmUqXyVg45CJIKGj35DFnfyVRw== X-Google-Smtp-Source: APXvYqz5LoKf0+DTp9Aa71LcPe1NihupO/DRtpdeFMKCCdKJzbYYo0j3msLt0QGJwnzi6ih7laJhFIAmxqh8Pdv4DtM= X-Received: by 2002:aca:b4d4:: with SMTP id d203mr515413oif.168.1571845238736; Wed, 23 Oct 2019 08:40:38 -0700 (PDT) MIME-Version: 1.0 References: <20191023142735.17571-1-lance.richardson@broadcom.com> In-Reply-To: <20191023142735.17571-1-lance.richardson@broadcom.com> From: Ajit Khaparde Date: Wed, 23 Oct 2019 11:40:22 -0400 Message-ID: To: Lance Richardson Cc: dpdk-dev , Ferruh Yigit Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH] net/bnxt: fix mbuf free when clearing Tx queue X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list 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 Wed, Oct 23, 2019 at 10:27 AM Lance Richardson < lance.richardson@broadcom.com> wrote: > When freeing pending transmit mbufs, use rte_pktmbuf_free_seg() > instead of rte_pktmbuf_free(), otherwise linked mbufs may be freed > more than once. > > Fixes: 6eb3cc2294fd ("net/bnxt: add initial Tx code") > Reviewed-by: Ajit Khaparde > Signed-off-by: Lance Richardson > Patch applied to dpdk-next-net-brcm