Searched refs:ring_chain (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_mbx.c | 182 struct hnae3_ring_chain_node *ring_chain, in hclge_get_ring_chain_from_mbx() argument 204 hnae3_set_bit(ring_chain->flag, HNAE3_RING_TYPE_B, in hclge_get_ring_chain_from_mbx() 206 ring_chain->tqp_index = in hclge_get_ring_chain_from_mbx() 209 hnae3_set_field(ring_chain->int_gl_idx, HNAE3_RING_GL_IDX_M, in hclge_get_ring_chain_from_mbx() 212 cur_chain = ring_chain; in hclge_get_ring_chain_from_mbx() 236 hclge_free_vector_ring_chain(ring_chain); in hclge_get_ring_chain_from_mbx() 243 struct hnae3_ring_chain_node ring_chain; in hclge_map_unmap_ring_to_vf_vector() local 247 memset(&ring_chain, 0, sizeof(ring_chain)); in hclge_map_unmap_ring_to_vf_vector() 248 ret = hclge_get_ring_chain_from_mbx(req, &ring_chain, vport); in hclge_map_unmap_ring_to_vf_vector() 252 ret = hclge_bind_ring_with_vector(vport, vector_id, en, &ring_chain); in hclge_map_unmap_ring_to_vf_vector() [all …]
|
H A D | hclge_main.h | 1096 struct hnae3_ring_chain_node *ring_chain);
|
H A D | hclge_main.c | 4915 struct hnae3_ring_chain_node *ring_chain) in hclge_bind_ring_with_vector() argument 4937 for (node = ring_chain; node; node = node->next) { in hclge_bind_ring_with_vector() 4992 struct hnae3_ring_chain_node *ring_chain) in hclge_map_ring_to_vector() argument 5005 return hclge_bind_ring_with_vector(vport, vector_id, true, ring_chain); in hclge_map_ring_to_vector() 5009 struct hnae3_ring_chain_node *ring_chain) in hclge_unmap_ring_frm_vector() argument 5025 ret = hclge_bind_ring_with_vector(vport, vector_id, false, ring_chain); in hclge_unmap_ring_frm_vector()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
H A D | hclgevf_main.c | 623 struct hnae3_ring_chain_node *ring_chain) in hclgevf_bind_ring_to_vector() argument 636 for (node = ring_chain; node; node = node->next) { in hclgevf_bind_ring_to_vector() 666 struct hnae3_ring_chain_node *ring_chain) in hclgevf_map_ring_to_vector() argument 678 return hclgevf_bind_ring_to_vector(handle, true, vector_id, ring_chain); in hclgevf_map_ring_to_vector() 684 struct hnae3_ring_chain_node *ring_chain) in hclgevf_unmap_ring_from_vector() argument 699 ret = hclgevf_bind_ring_to_vector(handle, false, vector_id, ring_chain); in hclgevf_unmap_ring_from_vector()
|