]> Git Repo - linux.git/commit
bnxt_en: Add a 'force' parameter to bnxt_free_ctx_mem()
authorHongguang Gao <[email protected]>
Fri, 15 Nov 2024 15:14:30 +0000 (07:14 -0800)
committerJakub Kicinski <[email protected]>
Tue, 19 Nov 2024 03:48:54 +0000 (19:48 -0800)
commit46010d43ab7b18fbc8a3a0bf4d65c775f8d2adbd
treefdd25c72c2819f1497db6d742b08b1330e798233
parent968d2cc07c2fc9a508a53bd2de61200f50206fbc
bnxt_en: Add a 'force' parameter to bnxt_free_ctx_mem()

If 'force' is false, it will keep the memory pages and all data
structures for the context memory type if the memory is valid.

This patch always passes true for the 'force' parameter so there is
no change in behavior.  Later patches will adjust the 'force' parameter
for the FW log context memory types so that the logs will not be reset
after FW reset.

Signed-off-by: Hongguang Gao <[email protected]>
Signed-off-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
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c
This page took 0.04555 seconds and 4 git commands to generate.