diff options
author | Somnath Kotur <[email protected]> | 2023-12-07 16:16:55 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-12-08 17:20:26 -0800 |
commit | 9ef7c58f5abe41e6d91f37f28fe2d851ffedd92a (patch) | |
tree | 9327fa557cf78e6809bbdd514c78e89ff5d6de56 /scripts/gdb | |
parent | 9c25aae0132b8babbe71ebb2160186d69231d9b3 (diff) |
bnxt_en: Clear resource reservation during resume
We are issuing HWRM_FUNC_RESET cmd to reset the device including
all reserved resources, but not clearing the reservations
within the driver struct. As a result, when the driver re-initializes
as part of resume, it believes that there is no need to do any
resource reservation and goes ahead and tries to allocate rings
which will eventually fail beyond a certain number pre-reserved by
the firmware.
Fixes: 674f50a5b026 ("bnxt_en: Implement new method to reserve rings.")
Reviewed-by: Kalesh AP <[email protected]>
Reviewed-by: Ajit Khaparde <[email protected]>
Reviewed-by: Andy Gospodarek <[email protected]>
Signed-off-by: Somnath Kotur <[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 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions