Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/google/gve/
H A Dgve_tx.c446 int l4_hdr_offset, u32 desc_cnt, in gve_tx_fill_pkt_desc() argument
453 pkt_desc->pkt.l4_hdr_offset = l4_hdr_offset >> 1; in gve_tx_fill_pkt_desc()
457 pkt_desc->pkt.l4_hdr_offset = l4_hdr_offset >> 1; in gve_tx_fill_pkt_desc()
461 pkt_desc->pkt.l4_hdr_offset = 0; in gve_tx_fill_pkt_desc()
511 int pad_bytes, hlen, hdr_nfrags, payload_nfrags, l4_hdr_offset; in gve_tx_add_skb_copy() local
525 l4_hdr_offset = skb_checksum_start_offset(skb); in gve_tx_add_skb_copy()
529 hlen = is_gso ? l4_hdr_offset + tcp_hdrlen(skb) : in gve_tx_add_skb_copy()
544 is_gso, l4_hdr_offset, in gve_tx_add_skb_copy()
587 int hlen, num_descriptors, l4_hdr_offset; in gve_tx_add_skb_no_copy() local
600 l4_hdr_offset = skb_checksum_start_offset(skb); in gve_tx_add_skb_no_copy()
[all …]
H A Dgve_desc.h29 u8 l4_hdr_offset; /* Offset of start of L4 headers in packet */ member
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_io.c1274 int index, l2_hdr_offset, l4_hdr_offset, is_lb_pkt; in qlcnic_process_lro() local
1292 l4_hdr_offset = qlcnic_get_lro_sts_l4_hdr_offset(sts_data0); in qlcnic_process_lro()
1307 data_offset = l4_hdr_offset + QLC_TCP_TS_HDR_SIZE; in qlcnic_process_lro()
1309 data_offset = l4_hdr_offset + QLC_TCP_HDR_SIZE; in qlcnic_process_lro()
1795 int l2_hdr_offset, l4_hdr_offset; in qlcnic_83xx_process_lro() local
1814 l4_hdr_offset = qlcnic_83xx_l4_hdr_off(sts_data[1]); in qlcnic_83xx_process_lro()
1822 data_offset = l4_hdr_offset + QLCNIC_TCP_TS_HDR_SIZE; in qlcnic_83xx_process_lro()
1824 data_offset = l4_hdr_offset + QLCNIC_TCP_HDR_SIZE; in qlcnic_83xx_process_lro()
/openbmc/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_init.c1580 int l2_hdr_offset, l4_hdr_offset; in netxen_process_lro() local
1600 l4_hdr_offset = netxen_get_lro_sts_l4_hdr_offset(sts_data0); in netxen_process_lro()
1609 data_offset = l4_hdr_offset + TCP_TS_HDR_SIZE; in netxen_process_lro()
1611 data_offset = l4_hdr_offset + TCP_HDR_SIZE; in netxen_process_lro()