]> Git Repo - linux.git/commit
bnxt_en: Add mem_valid bit to struct bnxt_ctx_mem_type
authorShruti Parab <[email protected]>
Fri, 15 Nov 2024 15:14:28 +0000 (07:14 -0800)
committerJakub Kicinski <[email protected]>
Tue, 19 Nov 2024 03:48:54 +0000 (19:48 -0800)
commit0b350b4927e69d66629099dbb32cad8d2d56a26d
tree8aa7642e2359004a9e2d065d9de20642bc148c4f
parentff00bcc9ecccf4a1ce3a06eb38a9b4592f870f80
bnxt_en: Add mem_valid bit to struct bnxt_ctx_mem_type

Add a new bit to struct bnxt_ctx_mem_type to indicate that host
memory has been successfully allocated for this context memory type.
In the next patches, we'll be adding some additional context memory
types for FW debugging/logging.  If memory cannot be allocated for
any of these new types, we will not abort and the cleared mem_valid
bit will indicate to skip configuring the memory type.

Reviewed-by: Hongguang Gao <[email protected]>
Signed-off-by: Shruti Parab <[email protected]>
Signed-of-by: Michael Chan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h
This page took 0.052764 seconds and 4 git commands to generate.