Home
last modified time | relevance | path

Searched refs:l4_len (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_tx.c230 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 …]
Dhinic_hw_qp.h170 u32 l4_len, u32 offset);
175 u32 l4_len,
Dhinic_hw_qp.c540 u32 l4_len, u32 offset) in hinic_set_cs_inner_l4() argument
552 task->pkt_info1 |= HINIC_SQ_TASK_INFO1_SET(l4_len, INNER_L4LEN); in hinic_set_cs_inner_l4()
564 u32 l4_len, u32 offset, u32 ip_ident, u32 mss) in hinic_set_tso_inner_l4() argument
577 task->pkt_info1 |= HINIC_SQ_TASK_INFO1_SET(l4_len, INNER_L4LEN); in hinic_set_tso_inner_l4()
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
Dcvmx-pip-defs.h548 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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_txrx.c1883 u32 l4_len = 0, l3_len = 0, l2_len = 0; in ice_tx_csum() local
2029 l4_len = l4.tcp->doff; in ice_tx_csum()
2030 offset |= l4_len << ICE_TX_DESC_LEN_L4_LEN_S; in ice_tx_csum()
2035 l4_len = (sizeof(struct udphdr) >> 2); in ice_tx_csum()
2036 offset |= l4_len << ICE_TX_DESC_LEN_L4_LEN_S; in ice_tx_csum()
2041 l4_len = sizeof(struct sctphdr) >> 2; in ice_tx_csum()
2042 offset |= l4_len << ICE_TX_DESC_LEN_L4_LEN_S; in ice_tx_csum()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_enet.c52 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()
Dhnae.h188 __u8 l4_len; member
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.h233 __u8 l4_len; member
Dhns3_debugfs.c217 dev_info(dev, "(TX)l4_len: %u\n", tx_desc->tx.l4_len); in hns3_dbg_bd_info()
Dhns3_enet.c807 u32 l2_len, l3_len, l4_len; in hns3_set_outer_l2l3l4() local
825 l4_len = il2_hdr - l4.hdr; in hns3_set_outer_l2l3l4()
826 hns3_set_field(*ol_type_vlan_len_msec, HNS3_TXD_L4LEN_S, l4_len >> 2); in hns3_set_outer_l2l3l4()
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/
Dibmvnic.h258 u8 l4_len; member
Dibmvnic.c1472 hdr_desc.hdr.l4_len = (u8)hdr_len[2]; in create_hdr_descs()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c1203 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()