Home
last modified time | relevance | path

Searched refs:vector_id (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c426 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/
Dice_virtchnl.c1467 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/
Dhclge_mbx.h129 u8 vector_id; member
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_mbx.c244 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()
Dhclge_main.c3655 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 …]
Dhclge_main.h1092 int vector_id, bool en,
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c290 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/
Dvirtchnl.h379 u16 vector_id; member
/linux-6.6.21/arch/um/drivers/
Dvector_kern.c778 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/
Diavf_virtchnl.c411 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/
Dqed_int.c1619 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()