On Wed, Dec 9, 2020 at 6:59 PM Ajit Khaparde <ajitkhapa...@gmail.com> wrote:
>
> Change the ring logic so that the index increments
> unbounded and mask it only when needed.
>
> Modify the existing macros so that the index is not masked.
> Add a new macro RING_IDX() to mask it only when needed.
> -
> v2->v3: Updated the index calculation in Tx completion processing.
>
> Signed-off-by: Ajit Khaparde <ajit.khapa...@broadcom.com>
> ---
>  drivers/net/bnxt/bnxt_cpr.h             |  10 ++-
>  drivers/net/bnxt/bnxt_hwrm.c            |   4 +-
>  drivers/net/bnxt/bnxt_reps.c            |   4 +-
>  drivers/net/bnxt/bnxt_ring.c            |  39 +++++----
>  drivers/net/bnxt/bnxt_ring.h            |  40 ++++++---
>  drivers/net/bnxt/bnxt_rxr.c             | 110 +++++++++++++-----------
>  drivers/net/bnxt/bnxt_rxr.h             |   4 +-
>  drivers/net/bnxt/bnxt_rxtx_vec_common.h |  14 +--
>  drivers/net/bnxt/bnxt_rxtx_vec_neon.c   |  16 ++--
>  drivers/net/bnxt/bnxt_rxtx_vec_sse.c    |  16 ++--
>  drivers/net/bnxt/bnxt_txr.c             |  51 ++++++-----
>  drivers/net/bnxt/bnxt_txr.h             |   6 +-
>  12 files changed, 179 insertions(+), 135 deletions(-)
>
Acked-by: Lance Richardson <lance.richard...@broadcom.com>

(Note: sending from a personal email account to avoid incompatible
footer forced by corporate policy. Ideally I would submit a patch to
add a mailmap entry with this email address, but we don't seem to
have a .mailmap file for this repository.)

Reply via email to