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 BFEDCA0561 for ; Tue, 2 Mar 2021 17:23:24 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A6DDF22A2B6; Tue, 2 Mar 2021 17:07:22 +0100 (CET) Received: from mail-oi1-f175.google.com (mail-oi1-f175.google.com [209.85.167.175]) by mails.dpdk.org (Postfix) with ESMTP id 4445B22A2B0 for ; Tue, 2 Mar 2021 17:07:20 +0100 (CET) Received: by mail-oi1-f175.google.com with SMTP id i21so20189621oii.2 for ; Tue, 02 Mar 2021 08:07:20 -0800 (PST) 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=DXyR8zQCTu0eLEBpTmYCOnZPJDQov6p039mI2b76/AM=; b=UZnwLcN25jglazumDdWoTdqduMIYmbRQSUZ+8vxh3TuCNYMRLaMeZGFY4ERi7V7JqL O3TqjQ43cc2CGh54SVpCpNurj9ybvNz5S1Mkf8JekyDutIESP5nONWtxsHVGjlVYK/Bq Mjvoss+ARLQKWVDVvbFHfU2+AWRrv9KMyjDYE= 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=DXyR8zQCTu0eLEBpTmYCOnZPJDQov6p039mI2b76/AM=; b=LHLsIsh1+I83M4uR6kAs4rOJ5uV5uIJQ+pg7yKiMwuM1oJlayj/PYFqz4hDzs768vc IVYUgDDXlEQG0cSuyTgWzNEphOnvPRng5+ua/OxFIIY94tfYA611YCQAv69WkwX7TgRU Z7dNmRKLFvSYMH4XjwyxE5MNVT9lQlKvXMrLH3L6P/zGdYNRvwtWbdzrmoaB1zrT25RW 0/sWAceXN5jGMZENDADqpmdHj6xTB2N/YMAx3NKzhpO9MF1UgSuyDVIWfyjSVd1DnKH3 GcoFJ6QXRa9hHN2watUNUk3uqYR3zOq00HZL8sj/P9ne5VRV8pQmJa3wtsxKl0J0G+19 Xbgw== X-Gm-Message-State: AOAM532QiGrTiJmiJ1GhcB6Q0ELcWRk3tBAhB7K4TQlwnjNQ5210hhuZ 8uHr+8e38UsnHGnF+FSsq9KNkIam+4GwhLaEtkxR1Q== X-Google-Smtp-Source: ABdhPJxGY5koCugIEGkG3pdb6wIf72kyGbvyemycQqJ9kHxgLOIi0azUaLBOIPZ6GNIWzdW3CfIoA7X+fn+F8v0DbQI= X-Received: by 2002:aca:3b06:: with SMTP id i6mr3655950oia.81.1614701238981; Tue, 02 Mar 2021 08:07:18 -0800 (PST) MIME-Version: 1.0 References: <20210302142927.536372-1-lance.richardson@broadcom.com> In-Reply-To: <20210302142927.536372-1-lance.richardson@broadcom.com> From: Lance Richardson Date: Tue, 2 Mar 2021 11:07:07 -0500 Message-ID: To: Ajit Khaparde , Somnath Kotur Cc: dev@dpdk.org, dpdk stable , Andy Gospodarek Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000c9250505bc8fed5d" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-stable] [PATCH] net/bnxt: fix Rx descriptor status 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" --000000000000c9250505bc8fed5d Content-Type: text/plain; charset="UTF-8" On Tue, Mar 2, 2021 at 9:29 AM Lance Richardson wrote: > > Fix a number of issues in the bnxt receive descriptor status > function, including: > - Provide status of receive descriptor instead of completion > descriptor. > - Remove invalid comparison of raw ring index with masked ring > index. > - Correct misinterpretation of offset parameter as ring index. > - Correct misuse of completion ring index for mbuf ring (the > two rings have different sizes). > > Fixes: 0fe613bb87b2 ("net/bnxt: support Rx descriptor status") > Signed-off-by: Lance Richardson > Cc: stable@dpdk.org > Reviewed-by: Andy Gospodarek > Reviewed-by: Ajit Kumar Khaparde > --- This patch has a dependency on: http://patchwork.dpdk.org/project/dpdk/list/?series=15289&archive=both&state=* --000000000000c9250505bc8fed5d--