Home
last modified time | relevance | path

Searched refs:total_hdr_len (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/tools/testing/selftests/net/
Dgro.c88 static int total_hdr_len = -1; variable
288 memset(buf, 0, total_hdr_len); in create_packet()
289 memset(buf + total_hdr_len, 'a', payload_len); in create_packet()
306 pkt_size = total_hdr_len + payload_len; in send_flags()
325 write_packet(fd, buf, total_hdr_len + PAYLOAD_LEN, daddr); in send_flags()
338 write_packet(fd, buf, total_hdr_len + payload_len1, daddr); in send_data_pkts()
340 write_packet(fd, buf, total_hdr_len + payload_len2, daddr); in send_data_pkts()
359 write_packet(fd, pkts[i], total_hdr_len + MSS, daddr); in send_large()
360 write_packet(fd, last, total_hdr_len + remainder, daddr); in send_large()
361 write_packet(fd, new_seg, total_hdr_len + remainder, daddr); in send_large()
[all …]
/linux-6.1.9/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_desc.c29 u32 total_hdr_len, u32 tcp_hdr_len, in sxgbe_tx_desc_enable_tse() argument
33 p->tdes23.tx_rd_des23.buf1_size = total_hdr_len; in sxgbe_tx_desc_enable_tse()
Dsxgbe_desc.h163 u32 total_hdr_len, u32 tcp_hdr_len,
Dsxgbe_main.c1250 unsigned int total_hdr_len, tcp_hdr_len; in sxgbe_tso_prepare() local
1254 total_hdr_len = skb_transport_offset(skb) + tcp_hdr_len; in sxgbe_tso_prepare()
1257 total_hdr_len, DMA_TO_DEVICE); in sxgbe_tso_prepare()
1262 priv->hw->desc->tx_desc_enable_tse(first_desc, 1, total_hdr_len, in sxgbe_tso_prepare()
1264 skb->len - total_hdr_len); in sxgbe_tso_prepare()
/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c375 u8 opcode = 0, inner_hdr_len = 0, outer_hdr_len = 0, total_hdr_len = 0; in qlcnic_tx_encap_pkt() local
393 total_hdr_len = inner_hdr_len + outer_hdr_len; in qlcnic_tx_encap_pkt()
405 while (copied < total_hdr_len) { in qlcnic_tx_encap_pkt()
406 copy_len = min(descr_size, (total_hdr_len - copied)); in qlcnic_tx_encap_pkt()