Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_enet.c688 struct hnae_desc_cb res_cbs; in hns_nic_alloc_rx_buffers() local
699 ret = hnae_reserve_buffer_map(ring, &res_cbs); in hns_nic_alloc_rx_buffers()
705 hnae_replace_buffer(ring, ring->next_to_use, &res_cbs); in hns_nic_alloc_rx_buffers()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c3687 struct hns3_desc_cb res_cbs; in hns3_nic_alloc_rx_buffers() local
3697 ret = hns3_alloc_and_map_buffer(ring, &res_cbs); in hns3_nic_alloc_rx_buffers()
3709 hns3_replace_buffer(ring, ring->next_to_use, &res_cbs); in hns3_nic_alloc_rx_buffers()
5500 struct hns3_desc_cb res_cbs; in hns3_clear_rx_ring() local
5509 ret = hns3_alloc_and_map_buffer(ring, &res_cbs); in hns3_clear_rx_ring()
5520 hns3_replace_buffer(ring, ring->next_to_use, &res_cbs); in hns3_clear_rx_ring()