Home
last modified time | relevance | path

Searched refs:copy (Results 1 – 25 of 69) sorted by relevance

123

/dpdk/lib/kvargs/
H A Drte_kvargs.c267 char *copy; in rte_kvargs_parse_delim() local
273 copy = strdup(args); in rte_kvargs_parse_delim()
274 if (copy == NULL) in rte_kvargs_parse_delim()
277 len = strcspn(copy, valid_ends); in rte_kvargs_parse_delim()
278 copy[len] = '\0'; in rte_kvargs_parse_delim()
280 kvlist = rte_kvargs_parse(copy, valid_keys); in rte_kvargs_parse_delim()
282 free(copy); in rte_kvargs_parse_delim()
/dpdk/doc/guides/nics/
H A Dnull.rst23 - ``copy`` [optional, default disabled]
29 ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 --vdev "net_null0,copy=1" -- -i
34 If ``copy`` is enabled, this is the length of copy operation.
43 This option can't co-exist with ``copy`` option.
H A Dmemif.rst49 …"zero-copy=yes", "Enable/disable zero-copy client mode. Only relevant to client, requires '--singl…
102 regions. For no-zero-copy, rings and buffers are stored inside single memory
105 region n (no-zero-copy):
127 last 1024 will belong to S2C ring. In case of zero-copy, buffers are dequeued and
175 Zero-copy client
178 Zero-copy client can be enabled with memif configuration option 'zero-copy=yes'. This option
181 for each packet buffer, resulting in worse performance than with zero-copy disabled.
189 Server interface functions the same as with zero-copy disabled.
223 You can also enable ``zero-copy`` on ``client`` interface::
225 …stpmd -l 2-3 --proc-type=primary --file-prefix=pmd2 --vdev=net_memif,zero-copy=yes --single-file-s…
[all …]
H A Dnetvsc.rst123 mbuf to avoid having to copy data. Setting 0 for copybreak will cause
126 copy. The default value is 256 (bytes).
140 external mbuf, it always allocates mbuf and copy received data to mbuf)
H A Daf_xdp.rst52 * For PMD zero copy, it requires kernel version later than v5.4-rc1;
85 per page. In the PMD we report the maximum MTU for zero copy to be equal
/dpdk/doc/guides/sample_app_ug/
H A Ddma.rst14 copy application.
23 copy with copy done using a DMA device for different sizes of packets.
25 received/send packets and packets dropped or failed to copy.
38 In order to run the hardware copy application, the copying device
58 * c CT: Performed packet copy type: software (sw) or hardware using
62 software copy mode (default is 2048)
76 updates MAC address and sends the copy. If one lcore per port is used,
193 and HW copy modes.
266 then invoke copy process (hardware copy), or perform software copy of each
276 function. When using hardware copy mode the packets are enqueued in
[all …]
H A Dipv4_multicast.rst14 The application demonstrates the use of zero-copy buffers for packet forwarding.
185 This is the most important part of the application since it demonstrates the use of zero- copy buff…
186 …approaches for creating the outgoing packet and although both are based on the data zero-copy idea,
198 Basically, the first approach reuses only the input packet's data, but creates its own copy of pack…
201 The advantage of first approach is that each outgoing packet has its own copy of the metadata,
H A Dvhost_crypto.rst34 [--zero-copy]
48 * zero-copy: the presence of this item means the ZERO-COPY feature will be
H A Dvhost.rst149 **--dequeue-zero-copy**
150 Dequeue zero copy will be enabled when this option is given. it is worth to
151 note that if NIC is bound to driver with iommu enabled, dequeue zero copy
/dpdk/lib/cmdline/
H A Dcmdline_os_windows.c187 int copy, ret; in cmdline_vdprintf() local
190 copy = _dup(fd); in cmdline_vdprintf()
191 if (copy < 0) in cmdline_vdprintf()
194 file = _fdopen(copy, "a"); in cmdline_vdprintf()
196 _close(copy); in cmdline_vdprintf()
/dpdk/license/
H A Dlgpl-2.1.txt6 Everyone is permitted to copy and distribute verbatim copies
50 permission to copy, distribute and/or modify the library.
150 1. You may copy and distribute verbatim copies of the Library's
152 you conspicuously and appropriately publish on each copy an
155 warranty; and distribute a copy of this License along with the
163 of it, thus forming a work based on the Library, and copy and
222 subsequent copies and derivative works made from that copy.
227 4. You may copy and distribute the Library (or a portion or
238 compelled to copy the source along with the object code.
316 materials or that you have already sent this user a copy.
[all …]
H A Dgpl-2.0.txt6 Everyone is permitted to copy and distribute verbatim copies
40 (2) offer you this license which gives you legal permission to copy,
79 1. You may copy and distribute verbatim copies of the Program's
81 conspicuously and appropriately publish on each copy an appropriate
84 and give any other recipients of the Program a copy of this License
91 of it, thus forming a work based on the Program, and copy and
145 machine-readable copy of the corresponding source code, to be
167 access to copy from a designated place, then offering equivalent
168 access to copy the source code from the same place counts as
170 compelled to copy the source along with the object code.
[all …]
H A Dmit.txt1 Permission is hereby granted, free of charge, to any person obtaining a copy
4 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
H A Disc.txt1 Permission to use, copy, modify, and/or distribute this software for any
/dpdk/app/test/
H A Dtest_mbuf.c448 if (copy == NULL) in test_pktmbuf_copy()
462 rte_pktmbuf_free(copy); in test_pktmbuf_copy()
463 copy = NULL; in test_pktmbuf_copy()
477 if (copy == NULL) in test_pktmbuf_copy()
480 if (RTE_MBUF_CLONED(copy)) in test_pktmbuf_copy()
493 rte_pktmbuf_free(copy); in test_pktmbuf_copy()
494 copy = NULL; in test_pktmbuf_copy()
510 if (copy == NULL) in test_pktmbuf_copy()
561 rte_pktmbuf_free(copy); in test_pktmbuf_copy()
565 copy = NULL; in test_pktmbuf_copy()
[all …]
/dpdk/lib/eal/common/
H A Deal_common_dev.c625 char *copy; in dev_str_sane_copy() local
629 copy = strdup(&str[end + 1]); in dev_str_sane_copy()
632 copy = strdup(""); in dev_str_sane_copy()
634 if (copy == NULL) { in dev_str_sane_copy()
639 slash = strchr(copy, '/'); in dev_str_sane_copy()
643 return copy; in dev_str_sane_copy()
H A Deal_common_proc.c1082 struct rte_mp_msg *copy; in rte_mp_request_async() local
1111 copy = calloc(1, sizeof(*copy)); in rte_mp_request_async()
1114 if (copy == NULL || dummy == NULL || param == NULL) { in rte_mp_request_async()
1121 memcpy(copy, req, sizeof(*copy)); in rte_mp_request_async()
1146 dummy->request = copy; in rte_mp_request_async()
1153 ret = mp_request_async(eal_mp_socket_path(), copy, param, ts); in rte_mp_request_async()
1196 if (mp_request_async(path, copy, param, ts)) in rte_mp_request_async()
1226 free(copy); in rte_mp_request_async()
/dpdk/drivers/net/mlx5/
H A Dmlx5_tx.h1104 unsigned int part, dlen, copy = 0; in mlx5_tx_mseg_memcpy() local
1123 if (copy >= must) { in mlx5_tx_mseg_memcpy()
1128 return copy; in mlx5_tx_mseg_memcpy()
1130 diff = must - copy; in mlx5_tx_mseg_memcpy()
1148 copy += part; in mlx5_tx_mseg_memcpy()
1162 return copy; in mlx5_tx_mseg_memcpy()
1252 unsigned int copy; in mlx5_tx_eseg_mdat() local
1259 copy = tlen >= copy ? 0 : (copy - tlen); in mlx5_tx_eseg_mdat()
1260 copy = mlx5_tx_mseg_memcpy(pdst, loc, part, copy, olx); in mlx5_tx_eseg_mdat()
1261 tlen += copy; in mlx5_tx_eseg_mdat()
[all …]
/dpdk/lib/dmadev/
H A Drte_dmadev_core.h69 rte_dma_copy_t copy; member
H A Drte_dmadev.h863 RTE_FUNC_PTR_OR_ERR_RET(*obj->copy, -ENOTSUP); in rte_dma_copy()
866 return (*obj->copy)(obj->dev_private, vchan, src, dst, length, flags); in rte_dma_copy()
/dpdk/doc/guides/rawdevs/
H A Dioat.rst220 The ``rte_ioat_enqueue_copy()`` function enqueues a single copy to the
223 as well as two "handles" to be returned to the user when the copy is
229 While the ``rte_ioat_enqueue_copy()`` function enqueues a copy operation on
230 the device ring, the copy will not actually be performed until after the
302 printf("Error with copy of packet %u, byte %u\n",
316 Fill operations can be performed in much the same was as copy operations
/dpdk/doc/guides/prog_guide/
H A Dpcapng_lib.rst36 The function ``rte_pcapng_copy`` is used to format and copy mbuf data
H A Dgeneric_segmentation_offload_lib.rst67 first part contains a copy of the original packet's headers, while the second
81 The first part of each output segment is a direct mbuf and contains a copy of
86 original packet, i.e. a data segment. Rather than copy the data directly from
H A Dvhost_lib.rst111 memory copy operations in data path. A set of async data path APIs are
219 Enable or disable zero copy feature of the vhost crypto backend.
246 queue. The recommended way is to unregister async copy
430 enables applications, like OVS, to save CPU cycles and hide memory copy
/dpdk/doc/guides/
H A Dconf.py180 ini_data[ini_filename] = valid_features.copy()

123