Searched refs:vsi_ctx (Results 1 – 8 of 8) sorted by relevance
| /freebsd-12-stable/sys/dev/ice/ |
| D | ice_sched.c | 591 struct ice_vsi_ctx *vsi_ctx; in ice_alloc_lan_q_ctx() local 594 vsi_ctx = ice_get_vsi_ctx(hw, vsi_handle); in ice_alloc_lan_q_ctx() 595 if (!vsi_ctx) in ice_alloc_lan_q_ctx() 598 if (!vsi_ctx->lan_q_ctx[tc]) { in ice_alloc_lan_q_ctx() 599 vsi_ctx->lan_q_ctx[tc] = (struct ice_q_ctx *) in ice_alloc_lan_q_ctx() 601 if (!vsi_ctx->lan_q_ctx[tc]) in ice_alloc_lan_q_ctx() 603 vsi_ctx->num_lan_q_entries[tc] = new_numqs; in ice_alloc_lan_q_ctx() 607 if (new_numqs > vsi_ctx->num_lan_q_entries[tc]) { in ice_alloc_lan_q_ctx() 608 u16 prev_num = vsi_ctx->num_lan_q_entries[tc]; in ice_alloc_lan_q_ctx() 614 ice_memcpy(q_ctx, vsi_ctx->lan_q_ctx[tc], in ice_alloc_lan_q_ctx() [all …]
|
| D | ice_switch.c | 364 ice_aq_add_vsi(struct ice_hw *hw, struct ice_vsi_ctx *vsi_ctx, in ice_aq_add_vsi() argument 377 if (!vsi_ctx->alloc_from_pool) in ice_aq_add_vsi() 378 cmd->vsi_num = CPU_TO_LE16(vsi_ctx->vsi_num | in ice_aq_add_vsi() 380 cmd->vf_id = vsi_ctx->vf_num; in ice_aq_add_vsi() 382 cmd->vsi_flags = CPU_TO_LE16(vsi_ctx->flags); in ice_aq_add_vsi() 386 status = ice_aq_send_cmd(hw, &desc, &vsi_ctx->info, in ice_aq_add_vsi() 387 sizeof(vsi_ctx->info), cd); in ice_aq_add_vsi() 390 vsi_ctx->vsi_num = LE16_TO_CPU(res->vsi_num) & ICE_AQ_VSI_NUM_M; in ice_aq_add_vsi() 391 vsi_ctx->vsis_allocd = LE16_TO_CPU(res->vsi_used); in ice_aq_add_vsi() 392 vsi_ctx->vsis_unallocated = LE16_TO_CPU(res->vsi_free); in ice_aq_add_vsi() [all …]
|
| D | ice_switch.h | 387 ice_aq_add_vsi(struct ice_hw *hw, struct ice_vsi_ctx *vsi_ctx, 390 ice_aq_free_vsi(struct ice_hw *hw, struct ice_vsi_ctx *vsi_ctx, 393 ice_aq_update_vsi(struct ice_hw *hw, struct ice_vsi_ctx *vsi_ctx, 396 ice_add_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, 399 ice_free_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, 402 ice_update_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, 407 ice_aq_get_vsi_params(struct ice_hw *hw, struct ice_vsi_ctx *vsi_ctx,
|
| D | ice_type.h | 1001 struct ice_vsi_ctx *vsi_ctx[ICE_MAX_VSI]; member
|
| D | ice_common.c | 5330 return vsi_handle == ICE_MAIN_VSI_HANDLE && hw->vsi_ctx[vsi_handle]; in ice_is_main_vsi()
|
| /freebsd-12-stable/sys/dev/ixl/ |
| D | ixl_pf_iov.c | 132 struct i40e_vsi_context vsi_ctx; in ixl_vf_alloc_vsi() local 140 vsi_ctx.pf_num = hw->pf_id; in ixl_vf_alloc_vsi() 141 vsi_ctx.uplink_seid = pf->veb_seid; in ixl_vf_alloc_vsi() 142 vsi_ctx.connection_type = IXL_VSI_DATA_PORT; in ixl_vf_alloc_vsi() 143 vsi_ctx.vf_num = hw->func_caps.vf_base_id + vf->vf_num; in ixl_vf_alloc_vsi() 144 vsi_ctx.flags = I40E_AQ_VSI_TYPE_VF; in ixl_vf_alloc_vsi() 146 bzero(&vsi_ctx.info, sizeof(vsi_ctx.info)); in ixl_vf_alloc_vsi() 148 vsi_ctx.info.valid_sections = htole16(I40E_AQ_VSI_PROP_SWITCH_VALID); in ixl_vf_alloc_vsi() 150 vsi_ctx.info.switch_id = in ixl_vf_alloc_vsi() 153 vsi_ctx.info.valid_sections |= htole16(I40E_AQ_VSI_PROP_SECURITY_VALID); in ixl_vf_alloc_vsi() [all …]
|
| D | i40e_common.c | 2253 struct i40e_vsi_context *vsi_ctx, in i40e_aq_add_vsi() argument 2267 cmd->uplink_seid = CPU_TO_LE16(vsi_ctx->uplink_seid); in i40e_aq_add_vsi() 2268 cmd->connection_type = vsi_ctx->connection_type; in i40e_aq_add_vsi() 2269 cmd->vf_id = vsi_ctx->vf_num; in i40e_aq_add_vsi() 2270 cmd->vsi_flags = CPU_TO_LE16(vsi_ctx->flags); in i40e_aq_add_vsi() 2274 status = i40e_asq_send_command(hw, &desc, &vsi_ctx->info, in i40e_aq_add_vsi() 2275 sizeof(vsi_ctx->info), cmd_details); in i40e_aq_add_vsi() 2280 vsi_ctx->seid = LE16_TO_CPU(resp->seid); in i40e_aq_add_vsi() 2281 vsi_ctx->vsi_number = LE16_TO_CPU(resp->vsi_number); in i40e_aq_add_vsi() 2282 vsi_ctx->vsis_allocated = LE16_TO_CPU(resp->vsi_used); in i40e_aq_add_vsi() [all …]
|
| D | i40e_prototype.h | 175 struct i40e_vsi_context *vsi_ctx, 201 struct i40e_vsi_context *vsi_ctx, 204 struct i40e_vsi_context *vsi_ctx,
|