Home
last modified time | relevance | path

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

12

/dpdk/lib/kvargs/
H A Drte_kvargs.c285 char *copy;
291 copy = strdup(args);
292 if (copy == NULL)
295 len = strcspn(copy, valid_ends);
296 copy[len] = '\0';
298 kvlist = rte_kvargs_parse(copy, valid_keys);
300 free(copy);
267 char *copy; rte_kvargs_parse_delim() local
/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.rst51 …"zero-copy=yes", "Enable/disable zero-copy client mode. Only relevant to client, requires '--singl…
104 regions. For no-zero-copy, rings and buffers are stored inside single memory
107 region n (no-zero-copy):
129 last 1024 will belong to S2C ring. In case of zero-copy, buffers are dequeued and
177 Zero-copy client
180 Zero-copy client can be enabled with memif configuration option 'zero-copy=yes'. This option
183 for each packet buffer, resulting in worse performance than with zero-copy disabled.
191 Server interface functions the same as with zero-copy disabled.
225 You can also enable ``zero-copy`` on ``client`` interface::
227 …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 Dgve.rst44 Then Tx needs to copy packets to QPL memory
48 and copy packets from the address to get real packets data.
H A Daf_xdp.rst34 * The PMD zero copy feature requires kernel version >= v5.4.
147 The force_copy argument allows the user to force the socket to use copy mode
148 instead of zero copy mode (if available).
221 per page. In the PMD we report the maximum MTU for zero copy to be equal
/dpdk/lib/cmdline/
H A Dcmdline_os_windows.c119 int copy, ret; in cmdline_vdprintf() local
122 copy = _dup(fd); in cmdline_vdprintf()
123 if (copy < 0) in cmdline_vdprintf()
126 file = _fdopen(copy, "a"); in cmdline_vdprintf()
128 _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
158 You may charge a fee for the physical act of transferring a copy,
162 2. You may modify your copy or copies of the Library or any portion
163 of it, thus forming a work based on the Library, and copy and
212 License instead of this License to a given copy of the Library. To do
220 Once this change is made in a given copy, it is irreversible for
[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 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
87 You may charge a fee for the physical act of transferring a copy, and
90 2. You may modify your copy or copies of the Program or any portion
91 of it, thus forming a work based on the Program, and copy and
109 these conditions, and telling the user how to view a copy of this
134 3. You may copy and distribute the Program (or a work based on it,
[all …]
H A Disc.txt1 Permission to use, copy, modify, and/or distribute this software for any
/dpdk/app/test/
H A Dtest_mbuf.c430 struct rte_mbuf *copy = NULL; in test_pktmbuf_copy() local
448 copy = rte_pktmbuf_copy(m, pktmbuf_pool, 0, UINT32_MAX); in test_pktmbuf_copy()
449 if (copy == NULL) in test_pktmbuf_copy()
452 if (rte_pktmbuf_pkt_len(copy) != sizeof(uint32_t)) in test_pktmbuf_copy()
455 if (rte_pktmbuf_data_len(copy) != sizeof(uint32_t)) in test_pktmbuf_copy()
458 data = rte_pktmbuf_mtod(copy, unaligned_uint32_t *); in test_pktmbuf_copy()
463 rte_pktmbuf_free(copy); in test_pktmbuf_copy()
464 copy = NULL; in test_pktmbuf_copy()
477 copy = rte_pktmbuf_copy(clone, pktmbuf_pool, 0, UINT32_MAX); in test_pktmbuf_copy()
478 if (copy == NULL) in test_pktmbuf_copy()
[all …]
/dpdk/lib/eal/common/
H A Deal_common_dev.c668 char *copy; in dev_str_sane_copy()
672 copy = strdup(&str[end + 1]); in dev_str_sane_copy()
675 copy = strdup(""); in dev_str_sane_copy()
677 if (copy == NULL) { in dev_str_sane_copy()
682 slash = strchr(copy, '/'); in dev_str_sane_copy()
686 return copy; in dev_str_sane_copy()
667 char *copy; dev_str_sane_copy() local
H A Deal_common_proc.c1092 struct rte_mp_msg *copy; in rte_mp_request_async() local
1121 copy = calloc(1, sizeof(*copy)); in rte_mp_request_async()
1124 if (copy == NULL || dummy == NULL || param == NULL) { in rte_mp_request_async()
1131 memcpy(copy, req, sizeof(*copy)); in rte_mp_request_async()
1156 dummy->request = copy; in rte_mp_request_async()
1163 ret = mp_request_async(eal_mp_socket_path(), copy, param, ts); in rte_mp_request_async()
1206 if (mp_request_async(path, copy, param, ts)) in rte_mp_request_async()
1236 free(copy); in rte_mp_request_async()
/dpdk/drivers/net/mlx5/
H A Dmlx5_nta_rss.c428 struct rte_flow_action copy[MLX5_HW_MAX_ACTS]; in flow_nta_create_single() local
434 _actions = copy; in flow_nta_create_single()
436 copy[i] = actions[i]; in flow_nta_create_single()
439 copy[i].conf = rss_conf; in flow_nta_create_single()
444 copy[i].type = RTE_FLOW_ACTION_TYPE_RSS; in flow_nta_create_single()
445 copy[i].conf = rss_conf; in flow_nta_create_single()
/dpdk/drivers/dma/skeleton/
H A Dskeleton_dmadev.h31 } copy; member
/dpdk/lib/dmadev/
H A Drte_dmadev_trace_points.c40 lib.dmadev.copy)
H A Drte_dmadev_core.h69 rte_dma_copy_t copy; member
H A Drte_dmadev.h113 * - step-2: enqueue a copy operation, the ring_idx return is 0
114 * - step-3: enqueue a copy operation again, the ring_idx return is 1
118 * - step-103: enqueue a copy operation, the ring_idx return is 0
121 * - step-x+1: enqueue a copy operation, the ring_idx return is 0
269 /** Support copy operation.
274 /** Support scatter-gather list copy operation. */
837 * Enqueue a copy operation onto the virtual DMA channel. in rte_dma_copy()
839 * This queues up a copy operation to be performed by hardware, if the 'flags' in rte_dma_copy()
872 if (*obj->copy == NULL)
876 ret = (*obj->copy)(ob
[all...]
/dpdk/doc/guides/sample_app_ug/
H A Dvhost_crypto.rst34 [--zero-copy]
48 * zero-copy: the presence of this item means the ZERO-COPY feature will be
/dpdk/doc/guides/prog_guide/
H A Dpcapng_lib.rst33 The function ``rte_pcapng_copy`` is used to format and copy mbuf data
H A Dvhost_lib.rst111 memory copy operations in data path. A set of async data path APIs are
228 Enable or disable zero copy feature of the vhost crypto backend.
255 queue. The recommended way is to unregister async copy
491 enables applications, like OVS, to save CPU cycles and hide memory copy
512 called in time to notify the guest of DMA copy completed packets.
H A Dpdump_lib.rst8 The library does the complete copy of the Rx and Tx mbufs to a new mempool and
/dpdk/examples/pipeline/examples/
H A Dfib.spec5 ; data plane copy of the routing table. The VRF support allows for multiple logical routing tables
/dpdk/doc/guides/howto/
H A Daf_xdp_dp.rst164 # Create DPDK dir and copy over sources
165 # Create DPDK dir and copy over sources

12