/linux-5.19.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_main.c | 478 static void hclgevf_free_vector(struct hclgevf_dev *hdev, int vector_id) in hclgevf_free_vector() argument 480 if (hdev->vector_status[vector_id] == HCLGEVF_INVALID_VPORT) { in hclgevf_free_vector() 482 "vector(vector_id %d) has been freed.\n", vector_id); in hclgevf_free_vector() 486 hdev->vector_status[vector_id] = HCLGEVF_INVALID_VPORT; in hclgevf_free_vector() 673 int vector_id, in hclgevf_bind_ring_to_vector() argument 685 send_msg.vector_id = vector_id; in hclgevf_bind_ring_to_vector() 720 int vector_id; in hclgevf_map_ring_to_vector() local 722 vector_id = hclgevf_get_vector_index(hdev, vector); in hclgevf_map_ring_to_vector() 723 if (vector_id < 0) { in hclgevf_map_ring_to_vector() 725 "Get vector index fail. ret =%d\n", vector_id); in hclgevf_map_ring_to_vector() [all …]
|
/linux-5.19.10/drivers/net/ethernet/hisilicon/hns3/ |
D | hclge_mbx.h | 129 u8 vector_id; member
|
/linux-5.19.10/drivers/net/ethernet/intel/ice/ |
D | ice_virtchnl.c | 1442 ice_cfg_interrupt(struct ice_vf *vf, struct ice_vsi *vsi, u16 vector_id, in ice_cfg_interrupt() argument 1462 ice_cfg_rxq_interrupt(vsi, vsi_q_id, vector_id, in ice_cfg_interrupt() 1476 ice_cfg_txq_interrupt(vsi, vsi_q_id, vector_id, in ice_cfg_interrupt() 1493 u16 num_q_vectors_mapped, vsi_id, vector_id; in ice_vc_cfg_irq_map_msg() local 1525 vector_id = map->vector_id; in ice_vc_cfg_irq_map_msg() 1530 if (!(vector_id < pf->vfs.num_msix_per) || in ice_vc_cfg_irq_map_msg() 1532 (!vector_id && (map->rxq_map || map->txq_map))) { in ice_vc_cfg_irq_map_msg() 1538 if (!vector_id) in ice_vc_cfg_irq_map_msg() 1544 q_vector = vsi->q_vectors[vector_id - ICE_NONQ_VECS_VF]; in ice_vc_cfg_irq_map_msg() 1552 ice_cfg_interrupt(vf, vsi, vector_id, map, q_vector); in ice_vc_cfg_irq_map_msg()
|
/linux-5.19.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_mbx.c | 239 int vector_id = req->msg.vector_id; in hclge_map_unmap_ring_to_vf_vector() local 247 ret = hclge_bind_ring_with_vector(vport, vector_id, en, &ring_chain); in hclge_map_unmap_ring_to_vf_vector()
|
D | hclge_main.c | 3544 static void hclge_free_vector(struct hclge_dev *hdev, int vector_id) in hclge_free_vector() argument 3546 if (hdev->vector_status[vector_id] == HCLGE_INVALID_VPORT) { in hclge_free_vector() 3548 "vector(vector_id %d) has been freed.\n", vector_id); in hclge_free_vector() 3552 hdev->vector_status[vector_id] = HCLGE_INVALID_VPORT; in hclge_free_vector() 4597 int vector_id; in hclge_put_vector() local 4599 vector_id = hclge_get_vector_index(hdev, vector); in hclge_put_vector() 4600 if (vector_id < 0) { in hclge_put_vector() 4603 return vector_id; in hclge_put_vector() 4606 hclge_free_vector(hdev, vector_id); in hclge_put_vector() 4766 int vector_id, bool en, in hclge_bind_ring_with_vector() argument [all …]
|
D | hclge_main.h | 1061 int vector_id, bool en,
|
/linux-5.19.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.c | 264 static inline bool i40e_vc_isvalid_vector_id(struct i40e_vf *vf, u32 vector_id) in i40e_vc_isvalid_vector_id() argument 268 return vector_id < pf->hw.func_caps.num_msix_vectors_vf; in i40e_vc_isvalid_vector_id() 350 u16 next_q, vector_id, size; in i40e_config_irq_link_list() local 354 vector_id = vecmap->vector_id; in i40e_config_irq_link_list() 356 if (0 == vector_id) in i40e_config_irq_link_list() 361 (vector_id - 1)); in i40e_config_irq_link_list() 419 reg = (vector_id) | in i40e_config_irq_link_list() 431 (vector_id == 0)) { in i40e_config_irq_link_list() 2436 if (!i40e_vc_isvalid_vector_id(vf, map->vector_id) || in i40e_vc_config_irq_map_msg()
|
/linux-5.19.10/include/linux/avf/ |
D | virtchnl.h | 377 u16 vector_id; member
|
/linux-5.19.10/arch/um/drivers/ |
D | vector_kern.c | 777 static int vector_id(char **str, int *start_out, int *end_out) in vector_id() function 1728 .id = vector_id,
|
/linux-5.19.10/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-5.19.10/drivers/net/ethernet/intel/iavf/ |
D | iavf_virtchnl.c | 413 vecmap->vector_id = v_idx + NONQ_VECS; in iavf_map_queues() 422 vecmap->vector_id = 0; in iavf_map_queues()
|