Lines Matching defs:context
1900 struct i40e_vsi_context context;
1903 bzero(&context, sizeof (struct i40e_vsi_context));
1904 context.seid = i40e->i40e_vsi_id;
1905 context.pf_num = hw->pf_id;
1906 err = i40e_aq_get_vsi_params(hw, &context, NULL);
1915 context.info.valid_sections = I40E_AQ_VSI_PROP_QUEUE_MAP_VALID;
1916 context.info.mapping_flags = I40E_AQ_VSI_QUE_MAP_CONTIG;
1917 context.info.queue_mapping[0] = I40E_ASSIGN_ALL_QUEUES;
1918 context.info.tc_mapping[0] = I40E_TRAFFIC_CLASS_NO_QUEUES;
1920 context.info.valid_sections |= I40E_AQ_VSI_PROP_VLAN_VALID;
1921 context.info.port_vlan_flags = I40E_AQ_VSI_PVLAN_MODE_ALL |
1924 context.flags = LE16_TO_CPU(I40E_AQ_VSI_TYPE_PF);
1926 i40e->i40e_vsi_stat_id = LE16_TO_CPU(context.info.stat_counter_idx);
1930 err = i40e_aq_update_vsi_params(hw, &context, NULL);
2210 i40e_error(i40e, "failed to clear rx queue %d context: %d",
2217 i40e_error(i40e, "failed to set rx queue %d context: %d",
2247 * Step 2. Program the queue's FPM/HMC context.
2306 struct i40e_vsi_context context;
2339 bzero(&context, sizeof (struct i40e_vsi_context));
2340 context.seid = i40e->i40e_vsi_id;
2341 context.pf_num = hw->pf_id;
2342 err = i40e_aq_get_vsi_params(hw, &context, NULL);
2347 tctx.rdylist = LE_16(context.info.qs_handle[0]);
2351 i40e_error(i40e, "failed to clear tx queue %d context: %d",
2358 i40e_error(i40e, "failed to set tx queue %d context: %d",
2387 * Step 2. Prepare the queue's FPM/HMC context.