Ajit Khaparde c7de4195cc net/bnxt: modify ring index logic
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 <ajit.khaparde@broadcom.com>
Acked-by: Lance Richardson <lance.richardson@broadcom.com>
2021-01-08 16:03:05 +01:00
..
2021-01-08 16:03:05 +01:00
2021-01-08 16:03:05 +01:00
2021-01-08 16:03:05 +01:00
2020-02-05 09:51:19 +01:00
2021-01-08 16:03:05 +01:00
2021-01-08 16:03:05 +01:00
2021-01-08 16:03:05 +01:00
2021-01-08 16:03:05 +01:00
2021-01-08 16:03:05 +01:00
2021-01-08 16:03:05 +01:00
2020-11-03 23:24:25 +01:00
2021-01-08 16:03:05 +01:00
2021-01-08 16:03:05 +01:00
2021-01-08 16:03:05 +01:00
2021-01-08 16:03:05 +01:00