Commit 2b8503d
bnxt_en: Add mem_valid bit to struct bnxt_ctx_mem_type
[ Upstream commit 0b350b4 ]
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>
Stable-dep-of: 5204943 ("bnxt_en: Fix warning in bnxt_dl_reload_down()")
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 2c8ca35 commit 2b8503d
2 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8791 | 8791 | | |
8792 | 8792 | | |
8793 | 8793 | | |
| 8794 | + | |
| 8795 | + | |
8794 | 8796 | | |
8795 | 8797 | | |
8796 | 8798 | | |
| |||
8861 | 8863 | | |
8862 | 8864 | | |
8863 | 8865 | | |
| 8866 | + | |
| 8867 | + | |
8864 | 8868 | | |
8865 | 8869 | | |
8866 | 8870 | | |
| |||
8890 | 8894 | | |
8891 | 8895 | | |
8892 | 8896 | | |
| 8897 | + | |
8893 | 8898 | | |
8894 | 8899 | | |
8895 | 8900 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1892 | 1892 | | |
1893 | 1893 | | |
1894 | 1894 | | |
| 1895 | + | |
1895 | 1896 | | |
1896 | 1897 | | |
1897 | 1898 | | |
| |||
0 commit comments