On Wed, Dec 9, 2020 at 2:28 PM Ajit Khaparde 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.
>
> Signed-off-by: Ajit Kha
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.
Signed-off-by: Ajit Khaparde
---
drivers/net/bnxt/bnxt_cpr.h | 10 ++-
driv
2 matches
Mail list logo