From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9569DA0C4E for ; Mon, 12 Jul 2021 23:44:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A93BC411B5; Mon, 12 Jul 2021 23:44:10 +0200 (CEST) Received: from mail-qk1-f175.google.com (mail-qk1-f175.google.com [209.85.222.175]) by mails.dpdk.org (Postfix) with ESMTP id 385C24069E for ; Mon, 12 Jul 2021 23:44:08 +0200 (CEST) Received: by mail-qk1-f175.google.com with SMTP id p202so3093775qka.12 for ; Mon, 12 Jul 2021 14:44:08 -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=HaNVckeVXzgZSa2o2+suU39zm3GE3ZEt03ipwaviVs0=; b=CV0qLYrfClAgsQBfPzggVVeNfqLFhNRwzt+Y/72hwmsDiBQeKVHcvDWid9f5Tp01c1 R2DPrApaCX/rRWf+LszbdWxIq+xax2V/bbXwmZjYGovXwD9GuDN+87QexnpWHjM43Kmr n+foHr0e/ulN5asoNRMnhmNcPOMOkV54ZE0KI= 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=HaNVckeVXzgZSa2o2+suU39zm3GE3ZEt03ipwaviVs0=; b=b87ibZkJO00/QhWrTdeGKw4l91lU0q9yt1dOGMI55SgVYp1ckA0QR9JeuUfoTnPy0h gg0bnAwLwAyL9/BPuS5pLy7GmKWIZF3IUM+Ii7QACtxtTcrmghhokUCcxxSKUrBvEeJP Q/0y/tXj8j3VODUdNn666ih8a3j/vx1zzas+niqsHC6jVrRNBVJNnWj8GExdbyZiie82 zCibxsgKl7nR0O3T1635aBNK6pmohWcQ+0oNHbBoyAyNlSSg2NOXKYOiV0gFun6kMPnC YRg84EpRdY008PaULVWxfjiFaAxe+lNG+2RJN4Rd16RSiKR3xdjyI9ihGWWgx/ona8NT +6Ew== X-Gm-Message-State: AOAM533fmdY9v/3y91RPFt2bwBjTJMwj3wukNjwSZ3uXSSkaHCUFLJz6 LXp4eQ7M3/0K98ZoN0mpgpxQriLXLaz0MkwVojKFaA== X-Google-Smtp-Source: ABdhPJyX5P6S6zr+CHHgBgf8RD1jhdyE4kDC42ujOUK6ZdoPoTqAmnwIXD2R1kMHQ1WV92LwBHWK7YOlxPCVTisUkeQ= X-Received: by 2002:a05:620a:21c2:: with SMTP id h2mr789486qka.333.1626126247319; Mon, 12 Jul 2021 14:44:07 -0700 (PDT) MIME-Version: 1.0 References: <20210708191501.77972-1-lance.richardson@broadcom.com> <20210709163849.88214-1-lance.richardson@broadcom.com> In-Reply-To: From: Ajit Khaparde Date: Mon, 12 Jul 2021 14:43:50 -0700 Message-ID: To: Ruifeng Wang Cc: Lance Richardson , Somnath Kotur , Bruce Richardson , Konstantin Ananyev , "jerinj@marvell.com" , Stephen Hurd , David Christensen , "dev@dpdk.org" , "stable@dpdk.org" , nd Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="0000000000005a104205c6f4053c" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-stable] [PATCH v2] net/bnxt: fix missing barriers in completion handling X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" --0000000000005a104205c6f4053c Content-Type: text/plain; charset="UTF-8" On Sun, Jul 11, 2021 at 7:34 PM Ruifeng Wang wrote: > > -----Original Message----- > > From: Lance Richardson > > Sent: Saturday, July 10, 2021 12:39 AM > > To: Ajit Khaparde (ajit.khaparde@broadcom.com) > > ; Somnath Kotur > > ; Bruce Richardson > > ; Konstantin Ananyev > > ; jerinj@marvell.com; Ruifeng Wang > > ; Stephen Hurd ; > > David Christensen > > Cc: dev@dpdk.org; stable@dpdk.org > > Subject: [PATCH v2] net/bnxt: fix missing barriers in completion handling > > > > Ensure that Rx/Tx/Async completion entry fields are accessed > > only after the completion's valid flag has been loaded and > > verified. This is needed for correct operation on systems that > > use relaxed memory consistency models. > > > > Fixes: 2eb53b134aae ("net/bnxt: add initial Rx code") > > Fixes: 6eb3cc2294fd ("net/bnxt: add initial Tx code") > > Cc: stable@dpdk.org > > Signed-off-by: Lance Richardson > > Reviewed-by: Ajit Khaparde > > --- > > v2: > > * Corrected name of the first parameter to bnxt_cpr_cmp_valid() in > > comments ('cmp' to 'cmpl'). > > > > drivers/net/bnxt/bnxt_cpr.h | 36 ++++++++++++++++++++++++--- > > drivers/net/bnxt/bnxt_ethdev.c | 16 ++++++------ > > drivers/net/bnxt/bnxt_irq.c | 7 +++--- > > drivers/net/bnxt/bnxt_rxr.c | 9 ++++--- > > drivers/net/bnxt/bnxt_rxtx_vec_avx2.c | 2 +- > > drivers/net/bnxt/bnxt_rxtx_vec_neon.c | 2 +- > > drivers/net/bnxt/bnxt_rxtx_vec_sse.c | 2 +- > > drivers/net/bnxt/bnxt_txr.c | 2 +- > > 8 files changed, 54 insertions(+), 22 deletions(-) > > > Reviewed-by: Ruifeng Wang > Patch applied to dpdk-next-net-brcm. Thanks --0000000000005a104205c6f4053c--