Searched refs:desc_cb (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns/ |
D | hnae.h | 269 struct hnae_desc_cb *desc_cb; member 610 int ret = hnae_reserve_buffer_map(ring, &ring->desc_cb[i]); in hnae_alloc_buffer_attach() 615 ring->desc[i].addr = cpu_to_le64(ring->desc_cb[i].dma); in hnae_alloc_buffer_attach() 622 ring->q->handle->bops->unmap_buffer(ring, &ring->desc_cb[i]); in hnae_buffer_detach() 629 struct hnae_desc_cb *cb = &ring->desc_cb[i]; in hnae_free_buffer_detach() 631 if (!ring->desc_cb[i].dma) in hnae_free_buffer_detach() 644 bops->unmap_buffer(ring, &ring->desc_cb[i]); in hnae_replace_buffer() 645 ring->desc_cb[i] = *res_cb; in hnae_replace_buffer() 646 ring->desc[i].addr = cpu_to_le64(ring->desc_cb[i].dma); in hnae_replace_buffer() 652 ring->desc_cb[i].reuse_flag = 0; in hnae_reuse_buffer() [all …]
|
D | hns_enet.c | 40 struct hnae_desc_cb *desc_cb = &ring->desc_cb[ring->next_to_use]; in fill_v2_desc_hw() local 53 desc_cb->priv = priv; in fill_v2_desc_hw() 54 desc_cb->length = size; in fill_v2_desc_hw() 55 desc_cb->dma = dma; in fill_v2_desc_hw() 56 desc_cb->type = type; in fill_v2_desc_hw() 149 struct hnae_desc_cb *desc_cb = &ring->desc_cb[ring->next_to_use]; in fill_desc() local 156 desc_cb->priv = priv; in fill_desc() 157 desc_cb->length = size; in fill_desc() 158 desc_cb->dma = dma; in fill_desc() 159 desc_cb->type = type; in fill_desc() [all …]
|
D | hnae.c | 187 kfree(ring->desc_cb); in hnae_fini_ring() 188 ring->desc_cb = NULL; in hnae_fini_ring() 205 assert(!ring->desc && !ring->desc_cb && !ring->desc_dma_addr); in hnae_init_ring() 211 ring->desc_cb = kcalloc(ring->desc_num, sizeof(ring->desc_cb[0]), in hnae_init_ring() 213 if (!ring->desc_cb) { in hnae_init_ring() 233 kfree(ring->desc_cb); in hnae_init_ring() 234 ring->desc_cb = NULL; in hnae_init_ring()
|
D | hns_dsaf_rcb.c | 465 ring->desc_cb = NULL; in hns_rcb_ring_get_cfg()
|
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_enet.c | 1606 struct hns3_desc_cb *desc_cb, in hns3_handle_csum_partial() argument 1640 ¶m->type_cs_vlan_tso, &desc_cb->send_bytes); in hns3_handle_csum_partial() 1650 struct hns3_desc_cb *desc_cb) in hns3_fill_skb_desc() argument 1660 desc_cb->send_bytes = skb->len; in hns3_fill_skb_desc() 1663 ret = hns3_handle_csum_partial(ring, skb, desc_cb, ¶m); in hns3_fill_skb_desc() 1726 struct hns3_desc_cb *desc_cb = &ring->desc_cb[ring->next_to_use]; in hns3_map_and_fill_desc() local 1759 desc_cb->priv = priv; in hns3_map_and_fill_desc() 1760 desc_cb->length = size; in hns3_map_and_fill_desc() 1761 desc_cb->dma = dma; in hns3_map_and_fill_desc() 1762 desc_cb->type = type; in hns3_map_and_fill_desc() [all …]
|
D | hns3_trace.h | 117 __entry->buf_dma = ring->desc_cb[ring->next_to_clean].dma;
|
D | hns3_enet.h | 468 struct hns3_desc_cb *desc_cb; member
|
/linux-6.12.1/drivers/net/ethernet/intel/iavf/ |
D | iavf_adminq.c | 561 struct iavf_aq_desc desc_cb; in iavf_clean_asq() local 573 desc_cb = *desc; in iavf_clean_asq() 574 cb_func(hw, &desc_cb); in iavf_clean_asq()
|
/linux-6.12.1/drivers/net/ethernet/intel/i40e/ |
D | i40e_adminq.c | 694 struct i40e_aq_desc desc_cb; in i40e_clean_asq() local 706 desc_cb = *desc; in i40e_clean_asq() 707 cb_func(hw, &desc_cb); in i40e_clean_asq()
|