aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorMichael Chan <[email protected]>2023-11-20 15:44:02 -0800
committerJakub Kicinski <[email protected]>2023-11-21 17:32:49 -0800
commit6d1add95536bafe585c500ad8114af7ed4225a0f (patch)
treeb4358d79632021c7ff2b8147abe384f6293df709 /tools/testing/selftests/bpf/progs/test_autoload.c
parentb9e0c47ee2ec588fa0d0527e62c0405b15ecdb25 (diff)
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 <[email protected]> Signed-off-by: Michael Chan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions