Lines Matching refs:vsi_ctx
1493 struct i40e_vsi_context *vsi_ctx, in i40e_aq_add_vsi() argument
1507 cmd->uplink_seid = cpu_to_le16(vsi_ctx->uplink_seid); in i40e_aq_add_vsi()
1508 cmd->connection_type = vsi_ctx->connection_type; in i40e_aq_add_vsi()
1509 cmd->vf_id = vsi_ctx->vf_num; in i40e_aq_add_vsi()
1510 cmd->vsi_flags = cpu_to_le16(vsi_ctx->flags); in i40e_aq_add_vsi()
1514 status = i40e_asq_send_command_atomic(hw, &desc, &vsi_ctx->info, in i40e_aq_add_vsi()
1515 sizeof(vsi_ctx->info), in i40e_aq_add_vsi()
1521 vsi_ctx->seid = le16_to_cpu(resp->seid); in i40e_aq_add_vsi()
1522 vsi_ctx->vsi_number = le16_to_cpu(resp->vsi_number); in i40e_aq_add_vsi()
1523 vsi_ctx->vsis_allocated = le16_to_cpu(resp->vsi_used); in i40e_aq_add_vsi()
1524 vsi_ctx->vsis_unallocated = le16_to_cpu(resp->vsi_free); in i40e_aq_add_vsi()
1845 struct i40e_vsi_context *vsi_ctx, in i40e_aq_get_vsi_params() argument
1859 cmd->uplink_seid = cpu_to_le16(vsi_ctx->seid); in i40e_aq_get_vsi_params()
1863 status = i40e_asq_send_command(hw, &desc, &vsi_ctx->info, in i40e_aq_get_vsi_params()
1864 sizeof(vsi_ctx->info), NULL); in i40e_aq_get_vsi_params()
1869 vsi_ctx->seid = le16_to_cpu(resp->seid); in i40e_aq_get_vsi_params()
1870 vsi_ctx->vsi_number = le16_to_cpu(resp->vsi_number); in i40e_aq_get_vsi_params()
1871 vsi_ctx->vsis_allocated = le16_to_cpu(resp->vsi_used); in i40e_aq_get_vsi_params()
1872 vsi_ctx->vsis_unallocated = le16_to_cpu(resp->vsi_free); in i40e_aq_get_vsi_params()
1887 struct i40e_vsi_context *vsi_ctx, in i40e_aq_update_vsi_params() argument
1900 cmd->uplink_seid = cpu_to_le16(vsi_ctx->seid); in i40e_aq_update_vsi_params()
1904 status = i40e_asq_send_command_atomic(hw, &desc, &vsi_ctx->info, in i40e_aq_update_vsi_params()
1905 sizeof(vsi_ctx->info), in i40e_aq_update_vsi_params()
1908 vsi_ctx->vsis_allocated = le16_to_cpu(resp->vsi_used); in i40e_aq_update_vsi_params()
1909 vsi_ctx->vsis_unallocated = le16_to_cpu(resp->vsi_free); in i40e_aq_update_vsi_params()