aboutsummaryrefslogtreecommitdiff
path: root/drivers/pinctrl/actions
diff options
context:
space:
mode:
authorGravatar Michael Chan <michael.chan@broadcom.com> 2023-11-20 15:44:02 -0800
committerGravatar Jakub Kicinski <kuba@kernel.org> 2023-11-21 17:32:49 -0800
commit6d1add95536bafe585c500ad8114af7ed4225a0f (patch)
treeb4358d79632021c7ff2b8147abe384f6293df709 /drivers/pinctrl/actions
parentbnxt_en: Add db_ring_mask and related macro to bnxt_db_info struct. (diff)
downloadlinux-6d1add95536b.tar.gz
linux-6d1add95536b.tar.bz2
linux-6d1add95536b.zip
bnxt_en: Modify TX ring indexing logic.
Change the TX 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_TX() to mask it only when needed to get the index of txr->tx_buf_ring[]. Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Link: https://lore.kernel.org/r/20231120234405.194542-11-michael.chan@broadcom.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/pinctrl/actions')
0 files changed, 0 insertions, 0 deletions