Home
last modified time | relevance | path

Searched refs:pkt_info1 (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/include/linux/dma/
Dti-cppi5.h25 u32 pkt_info1; member
212 return (desc_hdr->pkt_info1 & CPPI5_INFO1_DESC_PKTERROR_MASK) >> in cppi5_desc_get_errflags()
227 *pkt_id = (desc_hdr->pkt_info1 & CPPI5_INFO1_DESC_PKTID_MASK) >> in cppi5_desc_get_pktids()
229 *flow_id = (desc_hdr->pkt_info1 & CPPI5_INFO1_DESC_FLOWID_MASK) >> in cppi5_desc_get_pktids()
242 desc_hdr->pkt_info1 &= ~(CPPI5_INFO1_DESC_PKTID_MASK | in cppi5_desc_set_pktids()
244 desc_hdr->pkt_info1 |= (pkt_id << CPPI5_INFO1_DESC_PKTID_SHIFT) & in cppi5_desc_set_pktids()
246 desc_hdr->pkt_info1 |= (flow_id << CPPI5_INFO1_DESC_FLOWID_SHIFT) & in cppi5_desc_set_pktids()
427 return (desc->hdr.pkt_info1 & CPPI5_INFO1_HDESC_PSFLGS_MASK) >> in cppi5_hdesc_get_psflags()
438 desc->hdr.pkt_info1 &= ~CPPI5_INFO1_HDESC_PSFLGS_MASK; in cppi5_hdesc_set_psflags()
439 desc->hdr.pkt_info1 |= (ps_flags << in cppi5_hdesc_set_psflags()
[all …]
/Linux-v5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_qp.c499 task->pkt_info1 = 0; in sq_prepare_task()
527 task->pkt_info1 |= HINIC_SQ_TASK_INFO1_SET(network_len, INNER_L3LEN); in hinic_task_set_inner_l3()
552 task->pkt_info1 |= HINIC_SQ_TASK_INFO1_SET(l4_len, INNER_L4LEN); in hinic_set_cs_inner_l4()
577 task->pkt_info1 |= HINIC_SQ_TASK_INFO1_SET(l4_len, INNER_L4LEN); in hinic_set_tso_inner_l4()
Dhinic_hw_wqe.h395 u32 pkt_info1; member