/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_main.c | 464 static void hclgevf_free_vector(struct hclgevf_dev *hdev, int vector_id) in hclgevf_free_vector() argument 466 if (hdev->vector_status[vector_id] == HCLGEVF_INVALID_VPORT) { in hclgevf_free_vector() 468 "vector(vector_id %d) has been freed.\n", vector_id); in hclgevf_free_vector() 472 hdev->vector_status[vector_id] = HCLGEVF_INVALID_VPORT; in hclgevf_free_vector() 659 int vector_id, in hclgevf_bind_ring_to_vector() argument 671 send_msg.vector_id = vector_id; in hclgevf_bind_ring_to_vector() 706 int vector_id; in hclgevf_map_ring_to_vector() local 708 vector_id = hclgevf_get_vector_index(hdev, vector); in hclgevf_map_ring_to_vector() 709 if (vector_id < 0) { in hclgevf_map_ring_to_vector() 711 "Get vector index fail. ret =%d\n", vector_id); in hclgevf_map_ring_to_vector() [all …]
|
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/ |
D | hclge_mbx.h | 129 u8 vector_id; member
|
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_mbx.c | 244 int vector_id = req->msg.vector_id; in hclge_map_unmap_ring_to_vf_vector() local 252 ret = hclge_bind_ring_with_vector(vport, vector_id, en, &ring_chain); in hclge_map_unmap_ring_to_vf_vector()
|
D | hclge_main.c | 3736 static void hclge_free_vector(struct hclge_dev *hdev, int vector_id) in hclge_free_vector() argument 3738 if (hdev->vector_status[vector_id] == HCLGE_INVALID_VPORT) { in hclge_free_vector() 3740 "vector(vector_id %d) has been freed.\n", vector_id); in hclge_free_vector() 3744 hdev->vector_status[vector_id] = HCLGE_INVALID_VPORT; in hclge_free_vector() 4805 int vector_id; in hclge_put_vector() local 4807 vector_id = hclge_get_vector_index(hdev, vector); in hclge_put_vector() 4808 if (vector_id < 0) { in hclge_put_vector() 4811 return vector_id; in hclge_put_vector() 4814 hclge_free_vector(hdev, vector_id); in hclge_put_vector() 4971 int vector_id, bool en, in hclge_bind_ring_with_vector() argument [all …]
|
D | hclge_main.h | 1118 int vector_id, bool en,
|
/linux-6.12.1/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.c | 292 static inline bool i40e_vc_isvalid_vector_id(struct i40e_vf *vf, u32 vector_id) in i40e_vc_isvalid_vector_id() argument 296 return vector_id < pf->hw.func_caps.num_msix_vectors_vf; in i40e_vc_isvalid_vector_id() 378 u16 next_q, vector_id, size; in i40e_config_irq_link_list() local 382 vector_id = vecmap->vector_id; in i40e_config_irq_link_list() 384 if (0 == vector_id) in i40e_config_irq_link_list() 389 (vector_id - 1)); in i40e_config_irq_link_list() 447 reg = (vector_id) | in i40e_config_irq_link_list() 459 (vector_id == 0)) { in i40e_config_irq_link_list() 2503 if (!i40e_vc_isvalid_vector_id(vf, map->vector_id) || in i40e_vc_config_irq_map_msg()
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_virtchnl.c | 1570 u16 num_q_vectors_mapped, vsi_id, vector_id; in ice_vc_cfg_irq_map_msg() local 1601 vector_id = map->vector_id; in ice_vc_cfg_irq_map_msg() 1606 if (!(vector_id < vf->num_msix) || in ice_vc_cfg_irq_map_msg() 1608 (!vector_id && (map->rxq_map || map->txq_map))) { in ice_vc_cfg_irq_map_msg() 1614 if (!vector_id) in ice_vc_cfg_irq_map_msg() 1620 q_vector = vsi->q_vectors[vector_id - ICE_NONQ_VECS_VF]; in ice_vc_cfg_irq_map_msg()
|
/linux-6.12.1/drivers/net/ethernet/intel/idpf/ |
D | virtchnl2.h | 1170 __le16 vector_id; member
|
D | idpf_virtchnl.c | 1879 vqv[k].vector_id = in idpf_send_map_unmap_queue_vector_msg() 1884 vqv[k].vector_id = in idpf_send_map_unmap_queue_vector_msg() 1915 vqv[k].vector_id = cpu_to_le16(rxq->q_vector->v_idx); in idpf_send_map_unmap_queue_vector_msg()
|
/linux-6.12.1/arch/um/drivers/ |
D | vector_kern.c | 770 static int vector_id(char **str, int *start_out, int *end_out) in vector_id() function 1720 .id = vector_id,
|
/linux-6.12.1/include/linux/avf/ |
D | virtchnl.h | 393 u16 vector_id; member
|
/linux-6.12.1/drivers/net/ethernet/qlogic/qed/ |
D | qed_int.c | 1619 static u16 qed_get_pf_igu_sb_id(struct qed_hwfn *p_hwfn, u16 vector_id) in qed_get_pf_igu_sb_id() argument 1630 p_block->vector_number != vector_id) in qed_get_pf_igu_sb_id()
|
/linux-6.12.1/drivers/net/ethernet/intel/iavf/ |
D | iavf_virtchnl.c | 410 vecmap->vector_id = v_idx + NONQ_VECS; in iavf_map_queues() 419 vecmap->vector_id = 0; in iavf_map_queues()
|