/linux-6.12.1/drivers/net/ethernet/huawei/hinic/ |
D | hinic_tx.c | 231 u32 *l4_len, u32 *offset) in get_inner_l4_info() argument 235 *l4_len = 0; in get_inner_l4_info() 241 *l4_len = l4->tcp->doff * 4; in get_inner_l4_info() 242 *offset = *l4_len + TRANSPORT_OFFSET(l4->hdr, skb); in get_inner_l4_info() 247 *l4_len = sizeof(struct udphdr); in get_inner_l4_info() 257 *l4_len = sizeof(struct sctphdr); in get_inner_l4_info() 276 u32 offset, l4_len, ip_identify, network_hdr_len; in offload_tso() local 345 &l4_len, &offset); in offload_tso() 347 hinic_set_tso_inner_l4(task, queue_info, l4_offload, l4_len, offset, in offload_tso() 357 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 | 538 u32 l4_len, u32 offset) in hinic_set_cs_inner_l4() argument 550 task->pkt_info1 |= HINIC_SQ_TASK_INFO1_SET(l4_len, INNER_L4LEN); in hinic_set_cs_inner_l4() 562 u32 l4_len, u32 offset, u32 ip_ident, u32 mss) in hinic_set_tso_inner_l4() argument 575 task->pkt_info1 |= HINIC_SQ_TASK_INFO1_SET(l4_len, INNER_L4LEN); in hinic_set_tso_inner_l4()
|
/linux-6.12.1/arch/mips/include/asm/octeon/ |
D | cvmx-pip-defs.h | 548 uint64_t l4_len:1; member 568 uint64_t l4_len:1; 593 uint64_t l4_len:1; member 613 uint64_t l4_len:1; 636 uint64_t l4_len:1; member 656 uint64_t l4_len:1; 681 uint64_t l4_len:1; member 701 uint64_t l4_len:1; 727 uint64_t l4_len:1; member 747 uint64_t l4_len:1; [all …]
|
/linux-6.12.1/drivers/net/ethernet/intel/idpf/ |
D | idpf_singleq_txrx.c | 20 u32 l4_len, l3_len, l2_len; in idpf_tx_singleq_csum() local 154 l4_len = l4.tcp->doff; in idpf_tx_singleq_csum() 159 l4_len = sizeof(struct udphdr) >> 2; in idpf_tx_singleq_csum() 164 l4_len = sizeof(struct sctphdr) >> 2; in idpf_tx_singleq_csum() 175 offset |= l4_len << IDPF_TX_DESC_LEN_L4_LEN_S; in idpf_tx_singleq_csum()
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_txrx.c | 1756 u32 l4_len = 0, l3_len = 0, l2_len = 0; in ice_tx_csum() local 1910 l4_len = l4.tcp->doff; in ice_tx_csum() 1911 offset |= l4_len << ICE_TX_DESC_LEN_L4_LEN_S; in ice_tx_csum() 1916 l4_len = (sizeof(struct udphdr) >> 2); in ice_tx_csum() 1917 offset |= l4_len << ICE_TX_DESC_LEN_L4_LEN_S; in ice_tx_csum() 1922 l4_len = sizeof(struct sctphdr) >> 2; in ice_tx_csum() 1923 offset |= l4_len << ICE_TX_DESC_LEN_L4_LEN_S; in ice_tx_csum()
|
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns/ |
D | hns_enet.c | 50 u8 l4_len = 0; in fill_v2_desc_hw() local 93 l4_len = tcp_hdrlen(skb); in fill_v2_desc_hw() 107 l4_len = tcp_hdrlen(skb); in fill_v2_desc_hw() 115 desc->tx.l4_len = l4_len; in fill_v2_desc_hw()
|
D | hnae.h | 188 __u8 l4_len; member
|
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_enet.h | 274 __u8 l4_len; member
|
D | hns3_enet.c | 1323 u32 l2_len, l3_len, l4_len; in hns3_set_outer_l2l3l4() local 1341 l4_len = il2_hdr - l4.hdr; in hns3_set_outer_l2l3l4() 1342 hns3_set_field(*ol_type_vlan_len_msec, HNS3_TXD_L4LEN_S, l4_len >> 2); in hns3_set_outer_l2l3l4()
|
/linux-6.12.1/drivers/net/ethernet/ibm/ |
D | ibmvnic.h | 297 u8 l4_len; member
|
D | ibmvnic.c | 2230 hdr_desc->hdr.l4_len = (u8)hdr_len[2]; in create_hdr_descs()
|
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4/ |
D | sge.c | 1189 int eth_hdr_len, l4_len; in hwcsum() local 1196 l4_len = skb_inner_network_header_len(skb); in hwcsum() 1199 l4_len = skb_network_header_len(skb); in hwcsum() 1202 hdr_len = TXPKT_IPHDR_LEN_V(l4_len); in hwcsum()
|