Lines Matching refs:host_desc
1055 struct cppi5_host_desc_t *host_desc; in am65_cpsw_xdp_tx_frame() local
1062 host_desc = k3_cppi_desc_pool_alloc(tx_chn->desc_pool); in am65_cpsw_xdp_tx_frame()
1063 if (unlikely(!host_desc)) { in am65_cpsw_xdp_tx_frame()
1068 am65_cpsw_nuss_set_buf_type(tx_chn, host_desc, buf_type); in am65_cpsw_xdp_tx_frame()
1078 cppi5_hdesc_init(host_desc, CPPI5_INFO0_HDESC_EPIB_PRESENT, in am65_cpsw_xdp_tx_frame()
1080 cppi5_hdesc_set_pkttype(host_desc, AM65_CPSW_CPPI_TX_PKT_TYPE); in am65_cpsw_xdp_tx_frame()
1081 cppi5_hdesc_set_pktlen(host_desc, pkt_len); in am65_cpsw_xdp_tx_frame()
1082 cppi5_desc_set_pktids(&host_desc->hdr, 0, AM65_CPSW_CPPI_TX_FLOW_ID); in am65_cpsw_xdp_tx_frame()
1083 cppi5_desc_set_tags_ids(&host_desc->hdr, 0, port->port_id); in am65_cpsw_xdp_tx_frame()
1086 cppi5_hdesc_attach_buf(host_desc, dma_buf, pkt_len, dma_buf, pkt_len); in am65_cpsw_xdp_tx_frame()
1088 swdata = cppi5_hdesc_get_swdata(host_desc); in am65_cpsw_xdp_tx_frame()
1095 dma_desc = k3_cppi_desc_pool_virt2dma(tx_chn->desc_pool, host_desc); in am65_cpsw_xdp_tx_frame()
1097 ret = k3_udma_glue_push_tx_chn(tx_chn->tx_chn, host_desc, in am65_cpsw_xdp_tx_frame()
1101 ret = k3_udma_glue_push_tx_chn(tx_chn->tx_chn, host_desc, in am65_cpsw_xdp_tx_frame()
1119 k3_cppi_desc_pool_free(tx_chn->desc_pool, host_desc); in am65_cpsw_xdp_tx_frame()