/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_main.c | 426 static void hclgevf_free_vector(struct hclgevf_dev *hdev, int vector_id) in hclgevf_free_vector() argument 428 if (hdev->vector_status[vector_id] == HCLGEVF_INVALID_VPORT) { in hclgevf_free_vector() 430 "vector(vector_id %d) has been freed.\n", vector_id); in hclgevf_free_vector() 434 hdev->vector_status[vector_id] = HCLGEVF_INVALID_VPORT; in hclgevf_free_vector() 621 int vector_id, in hclgevf_bind_ring_to_vector() argument 633 send_msg.vector_id = vector_id; in hclgevf_bind_ring_to_vector() 668 int vector_id; in hclgevf_map_ring_to_vector() local 670 vector_id = hclgevf_get_vector_index(hdev, vector); in hclgevf_map_ring_to_vector() 671 if (vector_id < 0) { in hclgevf_map_ring_to_vector() 673 "Get vector index fail. ret =%d\n", vector_id); in hclgevf_map_ring_to_vector() [all …]
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ |
D | ice_virtchnl.c | 1467 ice_cfg_interrupt(struct ice_vf *vf, struct ice_vsi *vsi, u16 vector_id, in ice_cfg_interrupt() argument 1487 ice_cfg_rxq_interrupt(vsi, vsi_q_id, vector_id, in ice_cfg_interrupt() 1501 ice_cfg_txq_interrupt(vsi, vsi_q_id, vector_id, in ice_cfg_interrupt() 1518 u16 num_q_vectors_mapped, vsi_id, vector_id; in ice_vc_cfg_irq_map_msg() local 1550 vector_id = map->vector_id; in ice_vc_cfg_irq_map_msg() 1555 if (!(vector_id < pf->vfs.num_msix_per) || in ice_vc_cfg_irq_map_msg() 1557 (!vector_id && (map->rxq_map || map->txq_map))) { in ice_vc_cfg_irq_map_msg() 1563 if (!vector_id) in ice_vc_cfg_irq_map_msg() 1569 q_vector = vsi->q_vectors[vector_id - ICE_NONQ_VECS_VF]; in ice_vc_cfg_irq_map_msg() 1577 ice_cfg_interrupt(vf, vsi, vector_id, map, q_vector); in ice_vc_cfg_irq_map_msg()
|
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/ |
D | hclge_mbx.h | 129 u8 vector_id; member
|
/linux-6.6.21/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 | 3655 static void hclge_free_vector(struct hclge_dev *hdev, int vector_id) in hclge_free_vector() argument 3657 if (hdev->vector_status[vector_id] == HCLGE_INVALID_VPORT) { in hclge_free_vector() 3659 "vector(vector_id %d) has been freed.\n", vector_id); in hclge_free_vector() 3663 hdev->vector_status[vector_id] = HCLGE_INVALID_VPORT; in hclge_free_vector() 4723 int vector_id; in hclge_put_vector() local 4725 vector_id = hclge_get_vector_index(hdev, vector); in hclge_put_vector() 4726 if (vector_id < 0) { in hclge_put_vector() 4729 return vector_id; in hclge_put_vector() 4732 hclge_free_vector(hdev, vector_id); in hclge_put_vector() 4889 int vector_id, bool en, in hclge_bind_ring_with_vector() argument [all …]
|
D | hclge_main.h | 1092 int vector_id, bool en,
|
/linux-6.6.21/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.c | 290 static inline bool i40e_vc_isvalid_vector_id(struct i40e_vf *vf, u32 vector_id) in i40e_vc_isvalid_vector_id() argument 294 return vector_id < pf->hw.func_caps.num_msix_vectors_vf; in i40e_vc_isvalid_vector_id() 376 u16 next_q, vector_id, size; in i40e_config_irq_link_list() local 380 vector_id = vecmap->vector_id; in i40e_config_irq_link_list() 382 if (0 == vector_id) in i40e_config_irq_link_list() 387 (vector_id - 1)); in i40e_config_irq_link_list() 445 reg = (vector_id) | in i40e_config_irq_link_list() 457 (vector_id == 0)) { in i40e_config_irq_link_list() 2507 if (!i40e_vc_isvalid_vector_id(vf, map->vector_id) || in i40e_vc_config_irq_map_msg()
|
/linux-6.6.21/include/linux/avf/ |
D | virtchnl.h | 379 u16 vector_id; member
|
/linux-6.6.21/arch/um/drivers/ |
D | vector_kern.c | 778 static int vector_id(char **str, int *start_out, int *end_out) in vector_id() function 1729 .id = vector_id,
|
/linux-6.6.21/drivers/net/ethernet/intel/iavf/ |
D | iavf_virtchnl.c | 411 vecmap->vector_id = v_idx + NONQ_VECS; in iavf_map_queues() 420 vecmap->vector_id = 0; in iavf_map_queues()
|
/linux-6.6.21/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()
|