Commit 0b350b4
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 <hongguang.gao@broadcom.com>
Signed-off-by: Shruti Parab <shruti.parab@broadcom.com>
Signed-of-by: Michael Chan <michael.chan@broadcom.com>
Link: https://patch.msgid.link/20241115151438.550106-3-michael.chan@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent ff00bcc commit 0b350b4
2 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8684 | 8684 | | |
8685 | 8685 | | |
8686 | 8686 | | |
| 8687 | + | |
| 8688 | + | |
8687 | 8689 | | |
8688 | 8690 | | |
8689 | 8691 | | |
| |||
8754 | 8756 | | |
8755 | 8757 | | |
8756 | 8758 | | |
| 8759 | + | |
| 8760 | + | |
8757 | 8761 | | |
8758 | 8762 | | |
8759 | 8763 | | |
| |||
8783 | 8787 | | |
8784 | 8788 | | |
8785 | 8789 | | |
| 8790 | + | |
8786 | 8791 | | |
8787 | 8792 | | |
8788 | 8793 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1889 | 1889 | | |
1890 | 1890 | | |
1891 | 1891 | | |
| 1892 | + | |
1892 | 1893 | | |
1893 | 1894 | | |
1894 | 1895 | | |
| |||
0 commit comments