Home
last modified time | relevance | path

Searched refs:pkt_info0 (Results 1 – 4 of 4) sorted by relevance

/linux/include/linux/dma/
H A Dti-cppi5.h24 u32 pkt_info0; member
200 return (desc_hdr->pkt_info0 & CPPI5_INFO0_HDESC_TYPE_MASK) >> in cppi5_desc_get_type()
344 desc->hdr.pkt_info0 = (CPPI5_INFO0_DESC_TYPE_VAL_HOST << in cppi5_hdesc_init()
346 desc->hdr.pkt_info0 |= ((psdata_size >> 2) << in cppi5_hdesc_init()
362 desc->hdr.pkt_info0 &= ~(CPPI5_INFO0_HDESC_EPIB_PRESENT | in cppi5_hdesc_update_flags()
364 desc->hdr.pkt_info0 |= flags; in cppi5_hdesc_update_flags()
375 desc->hdr.pkt_info0 &= ~CPPI5_INFO0_HDESC_PSINFO_SIZE_MASK; in cppi5_hdesc_update_psdata_size()
376 desc->hdr.pkt_info0 |= ((psdata_size >> 2) << in cppi5_hdesc_update_psdata_size()
389 if (!(desc->hdr.pkt_info0 & CPPI5_INFO0_HDESC_PSINFO_LOCATION)) in cppi5_hdesc_get_psdata_size()
390 psdata_size = (desc->hdr.pkt_info0 & in cppi5_hdesc_get_psdata_size()
[all …]
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_qp.c496 task->pkt_info0 = 0; in sq_prepare_task()
509 task->pkt_info0 |= HINIC_SQ_TASK_INFO0_SET(len, L2HDR_LEN); in hinic_task_set_l2hdr()
524 task->pkt_info0 |= HINIC_SQ_TASK_INFO0_SET(l3_type, INNER_L3TYPE); in hinic_task_set_inner_l3()
549 task->pkt_info0 |= HINIC_SQ_TASK_INFO0_SET(l4_offload, L4_OFFLOAD); in hinic_set_cs_inner_l4()
573 task->pkt_info0 |= HINIC_SQ_TASK_INFO0_SET(l4_offload, L4_OFFLOAD); in hinic_set_tso_inner_l4()
574 task->pkt_info0 |= HINIC_SQ_TASK_INFO0_SET(tso || ufo, TSO_FLAG); in hinic_set_tso_inner_l4()
H A Dhinic_hw_wqe.h369 u32 pkt_info0; member
H A Dhinic_tx.c442 task->pkt_info0 |= HINIC_SQ_TASK_INFO0_SET(vlan_tag, VLAN_TAG) | in offload_vlan()