Home
last modified time | relevance | path

Searched refs:ctx_tbl (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/huawei/hinic/
Dhinic_port.c701 struct hinic_rss_context_tbl *ctx_tbl; in hinic_set_rss_type() local
734 ctx_tbl = (struct hinic_rss_context_tbl *)cmd_buf.buf; in hinic_set_rss_type()
735 ctx_tbl->group_index = cpu_to_be32(tmpl_idx); in hinic_set_rss_type()
736 ctx_tbl->offset = 0; in hinic_set_rss_type()
737 ctx_tbl->size = sizeof(u32); in hinic_set_rss_type()
738 ctx_tbl->size = cpu_to_be32(ctx_tbl->size); in hinic_set_rss_type()
739 ctx_tbl->rsvd = 0; in hinic_set_rss_type()
740 ctx_tbl->ctx = cpu_to_be32(ctx); in hinic_set_rss_type()
761 struct hinic_rss_context_table ctx_tbl = { 0 }; in hinic_get_rss_type() local
763 u16 out_size = sizeof(ctx_tbl); in hinic_get_rss_type()
[all …]
/linux-6.12.1/drivers/net/ethernet/broadcom/
Dcnic.c307 if (!cp->ctx_tbl) in cnic_get_l5_cid()
311 if (cp->ctx_tbl[i].cid == cid) { in cnic_get_l5_cid()
902 kfree(cp->ctx_tbl); in cnic_free_resc()
903 cp->ctx_tbl = NULL; in cnic_free_resc()
1269 cp->ctx_tbl = kcalloc(cp->max_cid_space, sizeof(struct cnic_context), in cnic_alloc_bnx2x_resc()
1271 if (!cp->ctx_tbl) in cnic_alloc_bnx2x_resc()
1275 cp->ctx_tbl[i].proto.iscsi = &cp->iscsi_tbl[i]; in cnic_alloc_bnx2x_resc()
1276 cp->ctx_tbl[i].ulp_proto_id = CNIC_ULP_ISCSI; in cnic_alloc_bnx2x_resc()
1280 cp->ctx_tbl[i].ulp_proto_id = CNIC_ULP_FCOE; in cnic_alloc_bnx2x_resc()
1293 cp->ctx_tbl[i].kwqe_data = kwq_16_dma->pg_arr[j] + off; in cnic_alloc_bnx2x_resc()
[all …]
Dcnic.h281 struct cnic_context *ctx_tbl; member
/linux-6.12.1/drivers/scsi/cxlflash/
Dsuperpipe.c104 if (cfg->ctx_tbl[i]) { in cxlflash_stop_term_user_contexts()
178 ctxi = cfg->ctx_tbl[ctxid]; in get_context()
869 cfg->ctx_tbl[ctxid] = NULL; in remove_context()
1240 ctxi = cfg->ctx_tbl[i]; in cxlflash_mark_contexts_error()
1243 cfg->ctx_tbl[i] = NULL; in cxlflash_mark_contexts_error()
1460 cfg->ctx_tbl[ctxid] = ctxi; in cxlflash_disk_attach()
1600 cfg->ctx_tbl[ctxid] = ctxi; in recover_context()
Dcommon.h137 struct ctx_info *ctx_tbl[MAX_CONTEXT]; member
/linux-6.12.1/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c309 struct bnxt_re_gid_ctx *ctx, **ctx_tbl; in bnxt_re_del_gid() local
348 ctx_tbl = sgid_tbl->ctx; in bnxt_re_del_gid()
349 ctx_tbl[ctx->idx] = NULL; in bnxt_re_del_gid()
364 struct bnxt_re_gid_ctx *ctx, **ctx_tbl; in bnxt_re_add_gid() local
376 ctx_tbl = sgid_tbl->ctx; in bnxt_re_add_gid()
377 ctx_tbl[tbl_idx]->refcnt++; in bnxt_re_add_gid()
378 *context = ctx_tbl[tbl_idx]; in bnxt_re_add_gid()
390 ctx_tbl = sgid_tbl->ctx; in bnxt_re_add_gid()
393 ctx_tbl[tbl_idx] = ctx; in bnxt_re_add_gid()