diff options
author | Michael Chan <[email protected]> | 2023-11-20 15:43:55 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-11-21 17:32:48 -0800 |
commit | 76087d997a849618935c46a23fa16363be89da68 (patch) | |
tree | a707918e93354135dd6a21ce4d18a848147cee1b /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | e50dc4c2206e3eeed10c799db37bb51bc545f28a (diff) |
bnxt_en: Restructure context memory data structures
The current code uses a flat bnxt_ctx_mem_info structure to store 8
types of context memory for the NIC. All the context memory types
are very similar and have similar parameters. They can all share a
common structure to improve the organization. Also, new firmware
interface will provide a new API to retrieve each type of context
memory by calling the API repeatedly.
This patch reorganizes the bnxt_ctx_mem_info structure to fit better
with the new firmware interface. It will also work with the legacy
firmware interface. The flat fields in bnxt_ctx_mem_info are replaced
by the bnxt_ctx_mem_type array. The bnxt_mem_init array info will no
longer be needed.
Reviewed-by: Somnath Kotur <[email protected]>
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