diff options
author | Michael Chan <[email protected]> | 2023-11-20 15:43:58 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-11-21 17:32:48 -0800 |
commit | b098dc5a3357e5791dd397716737cd8bdfd9a8f5 (patch) | |
tree | 7d8954bbb92a886e64ffdbebb2253049d2aefdc3 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 2ad67aea11f256c7ad7bdc66c0521d7ff71dd8da (diff) |
bnxt_en: Add bnxt_setup_ctxm_pg_tbls() helper function
In bnxt_alloc_ctx_mem(), the logic to set up the context memory entries
and to allocate the context memory tables is done repetitively. Add
a helper function to simplify the code.
The setup of the Fast Path TQM entries relies on some information from
the Slow Path TQM entries. Copy the SP_TQM entries to the FP_TQM
entries to simplify the logic.
Reviewed-by: Andy Gospodarek <[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