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 B15BCA0562; Tue, 2 Mar 2021 17:23:21 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 771D022A2B1; Tue, 2 Mar 2021 17:07:21 +0100 (CET) Received: from mail-oi1-f173.google.com (mail-oi1-f173.google.com [209.85.167.173]) by mails.dpdk.org (Postfix) with ESMTP id C55F322A2B0 for ; Tue, 2 Mar 2021 17:07:19 +0100 (CET) Received: by mail-oi1-f173.google.com with SMTP id a13so22492875oid.0 for ; Tue, 02 Mar 2021 08:07:19 -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=UYVdnzoBrnN6BZvqBMlp1lE1dWYSxTM+9IZ8wdrlKZE=; b=YN7SstoUE/txXzB35hLPSvsodjqVyyW+xHGneuG9G4VcmqTwUTCYmMzL1Vv64zPpj6 XjW+tfCrLEiZ5/fAlI012yQ4iSEx8CofXbHMBlvj9GPt1GQYqYmYpjRSOpXjhOZ2I7Rm FFRGX/DFqR8EOyenNq9SpDhVeOrZ7LFM5poCY= 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=UYVdnzoBrnN6BZvqBMlp1lE1dWYSxTM+9IZ8wdrlKZE=; b=n2xQp2ZzdwR9yEDaCgpp9inmQEU5f326jnPdNnqibNZNv6Mf2giOYtNu25mLqSOT/C OtJSXlXRAyGKg1YB9F2A0BpnnB0g0/mMNVy8hmFlYJnZ3NnqiE+oSGK36H1DbyE7WpRi CEnZvQEBooje07Sdu8yDWwUNxUq715C4HpAsj5xMw7kiZ+pLS/Uc8aGmEdJ1BapYj0kW qd4GdPz5jYoUvokZ6uldvCLiNbv11SGiSlIlfeZNnBKcxrjXCu3hjyzQVucsIDJog1OZ j/Nu5jh63/MjYyqkcek69VY8Jdfa2RRKfLE/rfAhgq3oKdg49jCFK1ZLYTMLY/rQacij uxIQ== X-Gm-Message-State: AOAM533HLT4M8kr6lQOIi0jnXJt2+n/yrVUgxwrWIfCMlwclp5H+JyrC 0ch5VuWFZTtgiUJwjJXEbtorycB0SoKL60OsIyxM8A== 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="000000000000c925f305bc8fed5e" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [PATCH] net/bnxt: fix Rx descriptor status X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" --000000000000c925f305bc8fed5e 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=* --000000000000c925f305bc8fed5e--