Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_mbx.c175 struct hnae3_ring_chain_node *cur_chain, *new_chain; in hclge_get_ring_chain_from_mbx() local
205 new_chain = kzalloc(sizeof(*new_chain), GFP_KERNEL); in hclge_get_ring_chain_from_mbx()
206 if (!new_chain) in hclge_get_ring_chain_from_mbx()
209 hnae3_set_bit(new_chain->flag, HNAE3_RING_TYPE_B, in hclge_get_ring_chain_from_mbx()
212 new_chain->tqp_index = in hclge_get_ring_chain_from_mbx()
216 hnae3_set_field(new_chain->int_gl_idx, HNAE3_RING_GL_IDX_M, in hclge_get_ring_chain_from_mbx()
220 cur_chain->next = new_chain; in hclge_get_ring_chain_from_mbx()
221 cur_chain = new_chain; in hclge_get_ring_chain_from_mbx()