Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c2605 struct hns3_desc_cb res_cbs; in hns3_nic_alloc_rx_buffers() local
2617 ret = hns3_alloc_and_map_buffer(ring, &res_cbs); in hns3_nic_alloc_rx_buffers()
2628 hns3_replace_buffer(ring, ring->next_to_use, &res_cbs); in hns3_nic_alloc_rx_buffers()
4228 struct hns3_desc_cb res_cbs; in hns3_clear_rx_ring() local
4237 ret = hns3_alloc_and_map_buffer(ring, &res_cbs); in hns3_clear_rx_ring()
4250 hns3_replace_buffer(ring, ring->next_to_use, &res_cbs); in hns3_clear_rx_ring()
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_enet.c665 struct hnae_desc_cb res_cbs; in hns_nic_alloc_rx_buffers() local
676 ret = hnae_reserve_buffer_map(ring, &res_cbs); in hns_nic_alloc_rx_buffers()
682 hnae_replace_buffer(ring, ring->next_to_use, &res_cbs); in hns_nic_alloc_rx_buffers()