Commit 46010d4
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 <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>1 parent 968d2cc commit 46010d4
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 | |
|---|---|---|---|
| |||
8233 | 8233 | | |
8234 | 8234 | | |
8235 | 8235 | | |
8236 | | - | |
| 8236 | + | |
8237 | 8237 | | |
8238 | 8238 | | |
8239 | 8239 | | |
8240 | 8240 | | |
8241 | 8241 | | |
8242 | 8242 | | |
8243 | 8243 | | |
8244 | | - | |
8245 | | - | |
8246 | | - | |
8247 | | - | |
| 8244 | + | |
| 8245 | + | |
| 8246 | + | |
| 8247 | + | |
| 8248 | + | |
| 8249 | + | |
8248 | 8250 | | |
8249 | 8251 | | |
8250 | 8252 | | |
| |||
8293 | 8295 | | |
8294 | 8296 | | |
8295 | 8297 | | |
8296 | | - | |
| 8298 | + | |
| 8299 | + | |
8297 | 8300 | | |
8298 | 8301 | | |
8299 | 8302 | | |
| |||
8766 | 8769 | | |
8767 | 8770 | | |
8768 | 8771 | | |
8769 | | - | |
| 8772 | + | |
8770 | 8773 | | |
8771 | 8774 | | |
8772 | 8775 | | |
8773 | 8776 | | |
| 8777 | + | |
| 8778 | + | |
| 8779 | + | |
| 8780 | + | |
| 8781 | + | |
8774 | 8782 | | |
8775 | 8783 | | |
8776 | 8784 | | |
| |||
8784 | 8792 | | |
8785 | 8793 | | |
8786 | 8794 | | |
8787 | | - | |
| 8795 | + | |
8788 | 8796 | | |
8789 | 8797 | | |
8790 | 8798 | | |
| |||
8793 | 8801 | | |
8794 | 8802 | | |
8795 | 8803 | | |
8796 | | - | |
| 8804 | + | |
8797 | 8805 | | |
8798 | 8806 | | |
8799 | | - | |
8800 | | - | |
| 8807 | + | |
| 8808 | + | |
| 8809 | + | |
| 8810 | + | |
8801 | 8811 | | |
8802 | 8812 | | |
8803 | 8813 | | |
| |||
11758 | 11768 | | |
11759 | 11769 | | |
11760 | 11770 | | |
11761 | | - | |
| 11771 | + | |
11762 | 11772 | | |
11763 | 11773 | | |
11764 | 11774 | | |
| |||
13471 | 13481 | | |
13472 | 13482 | | |
13473 | 13483 | | |
13474 | | - | |
| 13484 | + | |
13475 | 13485 | | |
13476 | 13486 | | |
13477 | 13487 | | |
| |||
15328 | 15338 | | |
15329 | 15339 | | |
15330 | 15340 | | |
15331 | | - | |
| 15341 | + | |
15332 | 15342 | | |
15333 | 15343 | | |
15334 | 15344 | | |
| |||
15970 | 15980 | | |
15971 | 15981 | | |
15972 | 15982 | | |
15973 | | - | |
| 15983 | + | |
15974 | 15984 | | |
15975 | 15985 | | |
15976 | 15986 | | |
| |||
16024 | 16034 | | |
16025 | 16035 | | |
16026 | 16036 | | |
16027 | | - | |
| 16037 | + | |
16028 | 16038 | | |
16029 | 16039 | | |
16030 | 16040 | | |
| |||
16136 | 16146 | | |
16137 | 16147 | | |
16138 | 16148 | | |
16139 | | - | |
| 16149 | + | |
16140 | 16150 | | |
16141 | 16151 | | |
16142 | 16152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2824 | 2824 | | |
2825 | 2825 | | |
2826 | 2826 | | |
2827 | | - | |
| 2827 | + | |
2828 | 2828 | | |
2829 | 2829 | | |
2830 | 2830 | | |
| |||
| 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