Searched refs:ctx_tbl (Results 1 – 6 of 6) sorted by relevance
701 struct hinic_rss_context_tbl *ctx_tbl; in hinic_set_rss_type() local734 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() local763 u16 out_size = sizeof(ctx_tbl); in hinic_get_rss_type()[all …]
135 struct l2nic_cmd_set_rss_ctx_tbl ctx_tbl = {}; in hinic3_set_rss_type() local140 ctx_tbl.func_id = hinic3_global_func_id(hwdev); in hinic3_set_rss_type()150 ctx_tbl.context = ctx; in hinic3_set_rss_type()152 mgmt_msg_params_init_default(&msg_params, &ctx_tbl, sizeof(ctx_tbl)); in hinic3_set_rss_type()157 if (ctx_tbl.msg_head.status == MGMT_STATUS_CMD_UNSUPPORTED) { in hinic3_set_rss_type()159 } else if (err || ctx_tbl.msg_head.status) { in hinic3_set_rss_type()161 err, ctx_tbl.msg_head.status); in hinic3_set_rss_type()
307 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()1268 cp->ctx_tbl = kzalloc_objs(struct cnic_context, cp->max_cid_space); in cnic_alloc_bnx2x_resc()1269 if (!cp->ctx_tbl) in cnic_alloc_bnx2x_resc()1273 cp->ctx_tbl[i].proto.iscsi = &cp->iscsi_tbl[i]; in cnic_alloc_bnx2x_resc()1274 cp->ctx_tbl[i].ulp_proto_id = CNIC_ULP_ISCSI; in cnic_alloc_bnx2x_resc()1278 cp->ctx_tbl[i].ulp_proto_id = CNIC_ULP_FCOE; in cnic_alloc_bnx2x_resc()1291 cp->ctx_tbl[i].kwqe_data = kwq_16_dma->pg_arr[j] + off; in cnic_alloc_bnx2x_resc()[all …]
281 struct cnic_context *ctx_tbl; member
386 struct bnxt_re_gid_ctx *ctx, **ctx_tbl; in bnxt_re_del_gid() local425 ctx_tbl = sgid_tbl->ctx; in bnxt_re_del_gid()426 ctx_tbl[ctx->idx] = NULL; in bnxt_re_del_gid()441 struct bnxt_re_gid_ctx *ctx, **ctx_tbl; in bnxt_re_add_gid() local453 ctx_tbl = sgid_tbl->ctx; in bnxt_re_add_gid()454 ctx_tbl[tbl_idx]->refcnt++; in bnxt_re_add_gid()455 *context = ctx_tbl[tbl_idx]; in bnxt_re_add_gid()467 ctx_tbl = sgid_tbl->ctx; in bnxt_re_add_gid()470 ctx_tbl[tbl_idx] = ctx; in bnxt_re_add_gid()
2055 struct bnxt_re_gid_ctx *ctx, **ctx_tbl; in bnxt_re_free_gid_ctx() local2061 ctx_tbl = sgid_tbl->ctx; in bnxt_re_free_gid_ctx()2066 ctx = ctx_tbl[i]; in bnxt_re_free_gid_ctx()