We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de37faf commit fab4b4dCopy full SHA for fab4b4d
drivers/net/ethernet/broadcom/bnxt/bnxt.c
@@ -8365,7 +8365,7 @@ static int bnxt_alloc_all_ctx_pg_info(struct bnxt *bp, int ctx_max)
8365
struct bnxt_ctx_mem_type *ctxm = &ctx->ctx_arr[type];
8366
int n = 1;
8367
8368
- if (!ctxm->max_entries)
+ if (!ctxm->max_entries || ctxm->pg_info)
8369
continue;
8370
8371
if (ctxm->instance_bmap)
@@ -8969,8 +8969,8 @@ static int bnxt_backing_store_cfg_v2(struct bnxt *bp, u32 ena)
8969
8970
}
8971
bnxt_bs_trace_init(bp, ctxm);
8972
- last_type = type;
8973
+ last_type = type;
8974
8975
8976
if (last_type == BNXT_CTX_INV) {
0 commit comments