Commit c43fe48
bnxt_en: Add a 'force' parameter to bnxt_free_ctx_mem()
[ Upstream commit 46010d4 ]
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 <hongguang.gao@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Link: https://patch.msgid.link/20241115151438.550106-5-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 48c3e65 commit c43fe48
File tree
3 files changed
+29
-19
lines changed- drivers/net/ethernet/broadcom/bnxt
3 files changed
+29
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8340 | 8340 | | |
8341 | 8341 | | |
8342 | 8342 | | |
8343 | | - | |
| 8343 | + | |
8344 | 8344 | | |
8345 | 8345 | | |
8346 | 8346 | | |
8347 | 8347 | | |
8348 | 8348 | | |
8349 | 8349 | | |
8350 | 8350 | | |
8351 | | - | |
8352 | | - | |
8353 | | - | |
8354 | | - | |
| 8351 | + | |
| 8352 | + | |
| 8353 | + | |
| 8354 | + | |
| 8355 | + | |
| 8356 | + | |
8355 | 8357 | | |
8356 | 8358 | | |
8357 | 8359 | | |
| |||
8400 | 8402 | | |
8401 | 8403 | | |
8402 | 8404 | | |
8403 | | - | |
| 8405 | + | |
| 8406 | + | |
8404 | 8407 | | |
8405 | 8408 | | |
8406 | 8409 | | |
| |||
8873 | 8876 | | |
8874 | 8877 | | |
8875 | 8878 | | |
8876 | | - | |
| 8879 | + | |
8877 | 8880 | | |
8878 | 8881 | | |
8879 | 8882 | | |
8880 | 8883 | | |
| 8884 | + | |
| 8885 | + | |
| 8886 | + | |
| 8887 | + | |
| 8888 | + | |
8881 | 8889 | | |
8882 | 8890 | | |
8883 | 8891 | | |
| |||
8891 | 8899 | | |
8892 | 8900 | | |
8893 | 8901 | | |
8894 | | - | |
| 8902 | + | |
8895 | 8903 | | |
8896 | 8904 | | |
8897 | 8905 | | |
| |||
8900 | 8908 | | |
8901 | 8909 | | |
8902 | 8910 | | |
8903 | | - | |
| 8911 | + | |
8904 | 8912 | | |
8905 | 8913 | | |
8906 | | - | |
8907 | | - | |
| 8914 | + | |
| 8915 | + | |
| 8916 | + | |
| 8917 | + | |
8908 | 8918 | | |
8909 | 8919 | | |
8910 | 8920 | | |
| |||
11933 | 11943 | | |
11934 | 11944 | | |
11935 | 11945 | | |
11936 | | - | |
| 11946 | + | |
11937 | 11947 | | |
11938 | 11948 | | |
11939 | 11949 | | |
| |||
13657 | 13667 | | |
13658 | 13668 | | |
13659 | 13669 | | |
13660 | | - | |
| 13670 | + | |
13661 | 13671 | | |
13662 | 13672 | | |
13663 | 13673 | | |
| |||
15553 | 15563 | | |
15554 | 15564 | | |
15555 | 15565 | | |
15556 | | - | |
| 15566 | + | |
15557 | 15567 | | |
15558 | 15568 | | |
15559 | 15569 | | |
| |||
16195 | 16205 | | |
16196 | 16206 | | |
16197 | 16207 | | |
16198 | | - | |
| 16208 | + | |
16199 | 16209 | | |
16200 | 16210 | | |
16201 | 16211 | | |
| |||
16251 | 16261 | | |
16252 | 16262 | | |
16253 | 16263 | | |
16254 | | - | |
| 16264 | + | |
16255 | 16265 | | |
16256 | 16266 | | |
16257 | 16267 | | |
| |||
16367 | 16377 | | |
16368 | 16378 | | |
16369 | 16379 | | |
16370 | | - | |
| 16380 | + | |
16371 | 16381 | | |
16372 | 16382 | | |
16373 | 16383 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2828 | 2828 | | |
2829 | 2829 | | |
2830 | 2830 | | |
2831 | | - | |
| 2831 | + | |
2832 | 2832 | | |
2833 | 2833 | | |
2834 | 2834 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
466 | | - | |
| 466 | + | |
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
| |||
0 commit comments