Searched refs:l4_len (Results 1 – 11 of 11) sorted by relevance
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_tx.c | 230 u32 *l4_len, u32 *offset) in get_inner_l4_info() argument 234 *l4_len = 0; in get_inner_l4_info() 240 *l4_len = l4->tcp->doff * 4; in get_inner_l4_info() 241 *offset = *l4_len + TRANSPORT_OFFSET(l4->hdr, skb); in get_inner_l4_info() 246 *l4_len = sizeof(struct udphdr); in get_inner_l4_info() 256 *l4_len = sizeof(struct sctphdr); in get_inner_l4_info() 275 u32 offset, l4_len, ip_identify, network_hdr_len; in offload_tso() local 344 &l4_len, &offset); in offload_tso() 346 hinic_set_tso_inner_l4(task, queue_info, l4_offload, l4_len, offset, in offload_tso() 356 u32 offset, l4_len, network_hdr_len; in offload_csum() local [all …]
|
D | hinic_hw_qp.h | 170 u32 l4_len, u32 offset); 175 u32 l4_len,
|
D | hinic_hw_qp.c | 539 u32 l4_len, u32 offset) in hinic_set_cs_inner_l4() argument 551 task->pkt_info1 |= HINIC_SQ_TASK_INFO1_SET(l4_len, INNER_L4LEN); in hinic_set_cs_inner_l4() 563 u32 l4_len, u32 offset, u32 ip_ident, u32 mss) in hinic_set_tso_inner_l4() argument 576 task->pkt_info1 |= HINIC_SQ_TASK_INFO1_SET(l4_len, INNER_L4LEN); in hinic_set_tso_inner_l4()
|
/drivers/net/ethernet/intel/ice/ |
D | ice_txrx.c | 1660 u32 l4_len = 0, l3_len = 0, l2_len = 0; in ice_tx_csum() local 1806 l4_len = l4.tcp->doff; in ice_tx_csum() 1807 offset |= l4_len << ICE_TX_DESC_LEN_L4_LEN_S; in ice_tx_csum() 1812 l4_len = (sizeof(struct udphdr) >> 2); in ice_tx_csum() 1813 offset |= l4_len << ICE_TX_DESC_LEN_L4_LEN_S; in ice_tx_csum() 1818 l4_len = sizeof(struct sctphdr) >> 2; in ice_tx_csum() 1819 offset |= l4_len << ICE_TX_DESC_LEN_L4_LEN_S; in ice_tx_csum()
|
/drivers/net/ethernet/hisilicon/hns/ |
D | hns_enet.c | 52 u8 l4_len = 0; in fill_v2_desc_hw() local 95 l4_len = tcp_hdrlen(skb); in fill_v2_desc_hw() 109 l4_len = tcp_hdrlen(skb); in fill_v2_desc_hw() 117 desc->tx.l4_len = l4_len; in fill_v2_desc_hw()
|
D | hnae.h | 188 __u8 l4_len; member
|
/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_enet.h | 264 __u8 l4_len; member
|
D | hns3_enet.c | 1314 u32 l2_len, l3_len, l4_len; in hns3_set_outer_l2l3l4() local 1332 l4_len = il2_hdr - l4.hdr; in hns3_set_outer_l2l3l4() 1333 hns3_set_field(*ol_type_vlan_len_msec, HNS3_TXD_L4LEN_S, l4_len >> 2); in hns3_set_outer_l2l3l4()
|
/drivers/net/ethernet/ibm/ |
D | ibmvnic.h | 258 u8 l4_len; member
|
D | ibmvnic.c | 1605 hdr_desc.hdr.l4_len = (u8)hdr_len[2]; in create_hdr_descs()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | sge.c | 1203 int eth_hdr_len, l4_len; in hwcsum() local 1210 l4_len = skb_inner_network_header_len(skb); in hwcsum() 1213 l4_len = skb_network_header_len(skb); in hwcsum() 1216 hdr_len = TXPKT_IPHDR_LEN_V(l4_len); in hwcsum()
|