Home
last modified time | relevance | path

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

/dpdk/lib/mbuf/
H A Drte_mbuf.c553 size_t seg_len, copy_len; in __rte_pktmbuf_linearize() local
617 uint32_t copy_len; in rte_pktmbuf_copy() local
649 copy_len); in rte_pktmbuf_copy()
652 m_last->data_len += copy_len; in rte_pktmbuf_copy()
653 mc->pkt_len += copy_len; in rte_pktmbuf_copy()
654 off += copy_len; in rte_pktmbuf_copy()
655 len -= copy_len; in rte_pktmbuf_copy()
723 if (copy_len > len) in __rte_pktmbuf_read()
724 copy_len = len; in __rte_pktmbuf_read()
728 buf_off += copy_len; in __rte_pktmbuf_read()
[all …]
/dpdk/app/test-pmd/
H A Dtxonly.c74 unsigned copy_len; in copy_buf_to_pkt_segs() local
81 copy_len = seg->data_len - offset; in copy_buf_to_pkt_segs()
83 while (len > copy_len) { in copy_buf_to_pkt_segs()
84 rte_memcpy(seg_buf, buf, (size_t) copy_len); in copy_buf_to_pkt_segs()
85 len -= copy_len; in copy_buf_to_pkt_segs()
86 buf = ((char*) buf + copy_len); in copy_buf_to_pkt_segs()
89 copy_len = seg->data_len; in copy_buf_to_pkt_segs()
/dpdk/app/test/
H A Dpacket_burst_generator.c24 unsigned copy_len; in copy_buf_to_pkt_segs() local
31 copy_len = seg->data_len - offset; in copy_buf_to_pkt_segs()
33 while (len > copy_len) { in copy_buf_to_pkt_segs()
34 rte_memcpy(seg_buf, buf, (size_t) copy_len); in copy_buf_to_pkt_segs()
35 len -= copy_len; in copy_buf_to_pkt_segs()
36 buf = ((char *) buf + copy_len); in copy_buf_to_pkt_segs()
/dpdk/drivers/net/hns3/
H A Dhns3_ethdev.c6368 uint16_t copy_len; in hns3_get_module_eeprom_data() local
6392 copy_len = RTE_MIN(len, HNS3_SFP_INFO_BD0_LEN); in hns3_get_module_eeprom_data()
6393 memcpy(data, sfp_info_bd0->data, copy_len); in hns3_get_module_eeprom_data()
6394 read_len = copy_len; in hns3_get_module_eeprom_data()
6400 copy_len = RTE_MIN(len - read_len, HNS3_SFP_INFO_BDX_LEN); in hns3_get_module_eeprom_data()
6401 memcpy(data + read_len, desc[i].data, copy_len); in hns3_get_module_eeprom_data()
6402 read_len += copy_len; in hns3_get_module_eeprom_data()