Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/huawei/hinic/
Dhinic_port.c686 struct hinic_rss_context_tbl *ctx_tbl; in hinic_set_rss_type() local
719 ctx_tbl = (struct hinic_rss_context_tbl *)cmd_buf.buf; in hinic_set_rss_type()
720 ctx_tbl->group_index = cpu_to_be32(tmpl_idx); in hinic_set_rss_type()
721 ctx_tbl->offset = 0; in hinic_set_rss_type()
722 ctx_tbl->size = sizeof(u32); in hinic_set_rss_type()
723 ctx_tbl->size = cpu_to_be32(ctx_tbl->size); in hinic_set_rss_type()
724 ctx_tbl->rsvd = 0; in hinic_set_rss_type()
725 ctx_tbl->ctx = cpu_to_be32(ctx); in hinic_set_rss_type()
746 struct hinic_rss_context_table ctx_tbl = { 0 }; in hinic_get_rss_type() local
748 u16 out_size = sizeof(ctx_tbl); in hinic_get_rss_type()
[all …]
/linux-6.1.9/drivers/net/ethernet/broadcom/
Dcnic.c306 if (!cp->ctx_tbl) in cnic_get_l5_cid()
310 if (cp->ctx_tbl[i].cid == cid) { in cnic_get_l5_cid()
901 kfree(cp->ctx_tbl); in cnic_free_resc()
902 cp->ctx_tbl = NULL; in cnic_free_resc()
1263 cp->ctx_tbl = kcalloc(cp->max_cid_space, sizeof(struct cnic_context), in cnic_alloc_bnx2x_resc()
1265 if (!cp->ctx_tbl) in cnic_alloc_bnx2x_resc()
1269 cp->ctx_tbl[i].proto.iscsi = &cp->iscsi_tbl[i]; in cnic_alloc_bnx2x_resc()
1270 cp->ctx_tbl[i].ulp_proto_id = CNIC_ULP_ISCSI; in cnic_alloc_bnx2x_resc()
1274 cp->ctx_tbl[i].ulp_proto_id = CNIC_ULP_FCOE; in cnic_alloc_bnx2x_resc()
1287 cp->ctx_tbl[i].kwqe_data = kwq_16_dma->pg_arr[j] + off; in cnic_alloc_bnx2x_resc()
[all …]
Dcnic.h280 struct cnic_context *ctx_tbl; member
/linux-6.1.9/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()
868 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.1.9/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c290 struct bnxt_re_gid_ctx *ctx, **ctx_tbl; in bnxt_re_del_gid() local
329 ctx_tbl = sgid_tbl->ctx; in bnxt_re_del_gid()
330 ctx_tbl[ctx->idx] = NULL; in bnxt_re_del_gid()
345 struct bnxt_re_gid_ctx *ctx, **ctx_tbl; in bnxt_re_add_gid() local
357 ctx_tbl = sgid_tbl->ctx; in bnxt_re_add_gid()
358 ctx_tbl[tbl_idx]->refcnt++; in bnxt_re_add_gid()
359 *context = ctx_tbl[tbl_idx]; in bnxt_re_add_gid()
371 ctx_tbl = sgid_tbl->ctx; in bnxt_re_add_gid()
374 ctx_tbl[tbl_idx] = ctx; in bnxt_re_add_gid()