Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c2386 struct hns3_desc_cb res_cbs; in hns3_nic_alloc_rx_buffers() local
2398 ret = hns3_reserve_buffer_map(ring, &res_cbs); in hns3_nic_alloc_rx_buffers()
2409 hns3_replace_buffer(ring, ring->next_to_use, &res_cbs); in hns3_nic_alloc_rx_buffers()
4088 struct hns3_desc_cb res_cbs; in hns3_clear_rx_ring() local
4097 ret = hns3_reserve_buffer_map(ring, &res_cbs); in hns3_clear_rx_ring()
4110 hns3_replace_buffer(ring, ring->next_to_use, &res_cbs); in hns3_clear_rx_ring()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns/
Dhns_enet.c668 struct hnae_desc_cb res_cbs; in hns_nic_alloc_rx_buffers() local
679 ret = hnae_reserve_buffer_map(ring, &res_cbs); in hns_nic_alloc_rx_buffers()
685 hnae_replace_buffer(ring, ring->next_to_use, &res_cbs); in hns_nic_alloc_rx_buffers()