/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_base.c | 137 vsi->q_vectors[v_idx] = q_vector; in ice_vsi_alloc_q_vector() 156 if (!vsi->q_vectors[v_idx]) { in ice_free_q_vector() 160 q_vector = vsi->q_vectors[v_idx]; in ice_free_q_vector() 172 vsi->q_vectors[v_idx] = NULL; in ice_free_q_vector() 666 if (vsi->q_vectors[0]) { in ice_vsi_alloc_q_vectors() 699 int q_vectors = vsi->num_q_vectors; in ice_vsi_map_rings_to_vectors() local 707 for (v_id = 0; v_id < q_vectors; v_id++) { in ice_vsi_map_rings_to_vectors() 708 struct ice_q_vector *q_vector = vsi->q_vectors[v_id]; in ice_vsi_map_rings_to_vectors() 714 q_vectors - v_id); in ice_vsi_map_rings_to_vectors() 731 q_vectors - v_id); in ice_vsi_map_rings_to_vectors()
|
D | ice_lib.c | 115 vsi->q_vectors = devm_kcalloc(dev, vsi->num_q_vectors, in ice_vsi_alloc_arrays() 116 sizeof(*vsi->q_vectors), GFP_KERNEL); in ice_vsi_alloc_arrays() 117 if (!vsi->q_vectors) in ice_vsi_alloc_arrays() 127 devm_kfree(dev, vsi->q_vectors); in ice_vsi_alloc_arrays() 328 if (vsi->q_vectors) { in ice_vsi_free_arrays() 329 devm_kfree(dev, vsi->q_vectors); in ice_vsi_free_arrays() 330 vsi->q_vectors = NULL; in ice_vsi_free_arrays() 1447 if (vsi->q_vectors) { in ice_vsi_clear_rings() 1449 struct ice_q_vector *q_vector = vsi->q_vectors[i]; in ice_vsi_clear_rings() 2133 struct ice_q_vector *q_vector = vsi->q_vectors[i]; in ice_vsi_cfg_msix() [all …]
|
D | ice_main.c | 2458 ice_irq_dynamic_ena(hw, vsi, vsi->q_vectors[i]); in ice_vsi_ena_irq() 2471 int q_vectors = vsi->num_q_vectors; in ice_vsi_req_irq_msix() local 2481 for (vector = 0; vector < q_vectors; vector++) { in ice_vsi_req_irq_msix() 2482 struct ice_q_vector *q_vector = vsi->q_vectors[vector]; in ice_vsi_req_irq_msix() 2544 devm_free_irq(dev, irq_num, &vsi->q_vectors[vector]); in ice_vsi_req_irq_msix() 2661 struct ice_q_vector *q_vector = vsi->q_vectors[v_idx]; in ice_prepare_xdp_rings() 2766 if (ice_is_reset_in_progress(pf->state) || !vsi->q_vectors[0]) in ice_destroy_xdp_rings() 2770 struct ice_q_vector *q_vector = vsi->q_vectors[v_idx]; in ice_destroy_xdp_rings() 2805 if (ice_is_reset_in_progress(pf->state) || !vsi->q_vectors[0]) in ice_destroy_xdp_rings() 3312 netif_napi_add(vsi->netdev, &vsi->q_vectors[v_idx]->napi, in ice_napi_add() [all …]
|
D | ice_eswitch.c | 195 q_vector->reg_idx = vsi->q_vectors[0]->reg_idx; in ice_eswitch_remap_rings_to_vectors()
|
D | ice.h | 316 struct ice_q_vector **q_vectors; /* q_vector array */ member
|
D | ice_ethtool.c | 3374 struct ice_q_vector *q_vector = vsi->q_vectors[q_idx]; in ice_get_combined_cnt() 3884 struct ice_q_vector *q_vector = vsi->q_vectors[0]; in __ice_set_coalesce() 3908 ice_set_q_vector_intrl(vsi->q_vectors[v_idx]); in __ice_set_coalesce() 3916 ice_set_q_vector_intrl(vsi->q_vectors[q_num]); in __ice_set_coalesce()
|
D | ice_txrx.c | 2519 ice_irq_dynamic_ena(&vsi->back->hw, vsi, vsi->q_vectors[0]); in ice_clean_ctrl_tx_irq()
|
D | ice_virtchnl.c | 1568 q_vector = vsi->q_vectors[vector_id - ICE_NONQ_VECS_VF]; in ice_vc_cfg_irq_map_msg()
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_lib.c | 1058 int q_vectors = adapter->num_q_vectors; in ixgbe_alloc_q_vectors() local 1067 q_vectors = 1; in ixgbe_alloc_q_vectors() 1069 if (q_vectors >= (rxr_remaining + txr_remaining + xdp_remaining)) { in ixgbe_alloc_q_vectors() 1071 err = ixgbe_alloc_q_vector(adapter, q_vectors, v_idx, in ixgbe_alloc_q_vectors() 1083 for (; v_idx < q_vectors; v_idx++) { in ixgbe_alloc_q_vectors() 1084 int rqpv = DIV_ROUND_UP(rxr_remaining, q_vectors - v_idx); in ixgbe_alloc_q_vectors() 1085 int tqpv = DIV_ROUND_UP(txr_remaining, q_vectors - v_idx); in ixgbe_alloc_q_vectors() 1086 int xqpv = DIV_ROUND_UP(xdp_remaining, q_vectors - v_idx); in ixgbe_alloc_q_vectors() 1088 err = ixgbe_alloc_q_vector(adapter, q_vectors, v_idx, in ixgbe_alloc_q_vectors()
|
/linux-6.1.9/drivers/net/ethernet/intel/iavf/ |
D | iavf_main.c | 444 struct iavf_q_vector *q_vector = &adapter->q_vectors[v_idx]; in iavf_map_vector_to_rxq() 470 struct iavf_q_vector *q_vector = &adapter->q_vectors[v_idx]; in iavf_map_vector_to_txq() 501 int q_vectors; in iavf_map_rings_to_vectors() local 503 q_vectors = adapter->num_msix_vectors - NONQ_VECS; in iavf_map_rings_to_vectors() 512 if (++vidx >= q_vectors) in iavf_map_rings_to_vectors() 557 unsigned int vector, q_vectors; in iavf_request_traffic_irqs() local 564 q_vectors = adapter->num_msix_vectors - NONQ_VECS; in iavf_request_traffic_irqs() 566 for (vector = 0; vector < q_vectors; vector++) { in iavf_request_traffic_irqs() 567 struct iavf_q_vector *q_vector = &adapter->q_vectors[vector]; in iavf_request_traffic_irqs() 616 free_irq(irq_num, &adapter->q_vectors[vector]); in iavf_request_traffic_irqs() [all …]
|
D | iavf_virtchnl.c | 387 int v_idx, q_vectors; in iavf_map_queues() local 398 q_vectors = adapter->num_msix_vectors - NONQ_VECS; in iavf_map_queues() 407 for (v_idx = 0; v_idx < q_vectors; v_idx++) { in iavf_map_queues() 408 q_vector = &adapter->q_vectors[v_idx]; in iavf_map_queues()
|
D | iavf.h | 258 struct iavf_q_vector *q_vectors; member
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 1351 int q_vectors, v_idx; in ixgbevf_configure_msix() local 1353 q_vectors = adapter->num_msix_vectors - NON_Q_VECTORS; in ixgbevf_configure_msix() 1359 for (v_idx = 0; v_idx < q_vectors; v_idx++) { in ixgbevf_configure_msix() 1542 int q_vectors = adapter->num_msix_vectors - NON_Q_VECTORS; in ixgbevf_request_msix_irqs() local 1546 for (vector = 0; vector < q_vectors; vector++) { in ixgbevf_request_msix_irqs() 1623 int i, q_vectors; in ixgbevf_free_irq() local 1628 q_vectors = adapter->num_msix_vectors; in ixgbevf_free_irq() 1629 i = q_vectors - 1; in ixgbevf_free_irq() 2152 int q_vectors = adapter->num_msix_vectors - NON_Q_VECTORS; in ixgbevf_napi_enable_all() local 2154 for (q_idx = 0; q_idx < q_vectors; q_idx++) { in ixgbevf_napi_enable_all() [all …]
|
/linux-6.1.9/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 1717 unsigned int q_vectors = interface->num_q_vectors; in fm10k_alloc_q_vectors() local 1723 if (q_vectors >= (rxr_remaining + txr_remaining)) { in fm10k_alloc_q_vectors() 1725 err = fm10k_alloc_q_vector(interface, q_vectors, v_idx, in fm10k_alloc_q_vectors() 1736 for (; v_idx < q_vectors; v_idx++) { in fm10k_alloc_q_vectors() 1737 int rqpv = DIV_ROUND_UP(rxr_remaining, q_vectors - v_idx); in fm10k_alloc_q_vectors() 1738 int tqpv = DIV_ROUND_UP(txr_remaining, q_vectors - v_idx); in fm10k_alloc_q_vectors() 1740 err = fm10k_alloc_q_vector(interface, q_vectors, v_idx, in fm10k_alloc_q_vectors()
|
/linux-6.1.9/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 3868 struct i40e_q_vector *q_vector = vsi->q_vectors[i]; in i40e_vsi_configure_msix() 3979 struct i40e_q_vector *q_vector = vsi->q_vectors[0]; in i40e_configure_msi_and_legacy() 4098 int q_vectors = vsi->num_q_vectors; in i40e_vsi_request_irq_msix() local 4107 for (vector = 0; vector < q_vectors; vector++) { in i40e_vsi_request_irq_msix() 4108 struct i40e_q_vector *q_vector = vsi->q_vectors[vector]; in i40e_vsi_request_irq_msix() 4160 free_irq(irq_num, &vsi->q_vectors[vector]); in i40e_vsi_request_irq_msix() 4286 struct i40e_q_vector *q_vector = vsi->q_vectors[0]; in i40e_intr() 4502 struct i40e_q_vector *q_vector = vsi->q_vectors[v_idx]; in i40e_map_vector_to_qp() 4539 int q_vectors = vsi->num_q_vectors; in i40e_vsi_map_rings_to_vectors() local 4551 for (; v_start < q_vectors; v_start++) { in i40e_vsi_map_rings_to_vectors() [all …]
|
D | i40e.h | 902 struct i40e_q_vector **q_vectors; member
|
D | i40e_debugfs.c | 1787 napi_schedule(&vsi->q_vectors[i]->napi); in i40e_dbg_netdev_ops_write()
|
/linux-6.1.9/drivers/net/ethernet/intel/igc/ |
D | igc_main.c | 4598 int q_vectors = adapter->num_q_vectors; in igc_alloc_q_vectors() local 4601 if (q_vectors >= (rxr_remaining + txr_remaining)) { in igc_alloc_q_vectors() 4603 err = igc_alloc_q_vector(adapter, q_vectors, v_idx, in igc_alloc_q_vectors() 4615 for (; v_idx < q_vectors; v_idx++) { in igc_alloc_q_vectors() 4616 int rqpv = DIV_ROUND_UP(rxr_remaining, q_vectors - v_idx); in igc_alloc_q_vectors() 4617 int tqpv = DIV_ROUND_UP(txr_remaining, q_vectors - v_idx); in igc_alloc_q_vectors() 4619 err = igc_alloc_q_vector(adapter, q_vectors, v_idx, in igc_alloc_q_vectors()
|
/linux-6.1.9/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 1324 int q_vectors = adapter->num_q_vectors; in igb_alloc_q_vectors() local 1330 if (q_vectors >= (rxr_remaining + txr_remaining)) { in igb_alloc_q_vectors() 1332 err = igb_alloc_q_vector(adapter, q_vectors, v_idx, in igb_alloc_q_vectors() 1344 for (; v_idx < q_vectors; v_idx++) { in igb_alloc_q_vectors() 1345 int rqpv = DIV_ROUND_UP(rxr_remaining, q_vectors - v_idx); in igb_alloc_q_vectors() 1346 int tqpv = DIV_ROUND_UP(txr_remaining, q_vectors - v_idx); in igb_alloc_q_vectors() 1348 err = igb_alloc_q_vector(adapter, q_vectors, v_idx, in igb_alloc_q_vectors()
|