Home
last modified time | relevance | path

Searched refs:pair (Results 1 – 25 of 45) sorted by relevance

12

/dpdk/lib/kvargs/
H A Drte_kvargs.c138 struct rte_kvargs_pair *pair; in check_for_valid_keys() local
141 pair = &kvlist->pairs[i]; in check_for_valid_keys()
142 ret = is_valid_key(valid, pair->key); in check_for_valid_keys()
157 const struct rte_kvargs_pair *pair; in rte_kvargs_count() local
162 pair = &kvlist->pairs[i]; in rte_kvargs_count()
163 if (key_match == NULL || strcmp(pair->key, key_match) == 0) in rte_kvargs_count()
179 const struct rte_kvargs_pair *pair; in rte_kvargs_process() local
186 pair = &kvlist->pairs[i]; in rte_kvargs_process()
187 if (key_match == NULL || strcmp(pair->key, key_match) == 0) { in rte_kvargs_process()
188 if ((*handler)(pair->key, pair->value, opaque_arg) < 0) in rte_kvargs_process()
/dpdk/drivers/net/af_packet/
H A Drte_eth_af_packet.c683 pair = &kvlist->pairs[k_idx]; in rte_pmd_init_internals()
687 if (pair == NULL) { in rte_pmd_init_internals()
737 name, pair->value); in rte_pmd_init_internals()
784 name, pair->value); in rte_pmd_init_internals()
794 name, pair->value); in rte_pmd_init_internals()
805 name, pair->value); in rte_pmd_init_internals()
815 name, pair->value); in rte_pmd_init_internals()
836 name, pair->value); in rte_pmd_init_internals()
873 name, pair->value); in rte_pmd_init_internals()
883 name, pair->value); in rte_pmd_init_internals()
[all …]
/dpdk/drivers/net/vdev_netvsc/
H A Dvdev_netvsc.c524 if (!strcmp(pair->key, VDEV_NETVSC_ARG_IFACE)) { in vdev_netvsc_netvsc_probe()
525 if (!strcmp(pair->value, iface->if_name)) in vdev_netvsc_netvsc_probe()
527 } else if (!strcmp(pair->key, VDEV_NETVSC_ARG_MAC)) { in vdev_netvsc_netvsc_probe()
534 pair->value); in vdev_netvsc_netvsc_probe()
680 const struct rte_kvargs_pair *pair = &kvargs->pairs[i]; in vdev_netvsc_vdev_probe() local
682 if (!strcmp(pair->key, VDEV_NETVSC_ARG_FORCE)) in vdev_netvsc_vdev_probe()
683 force = !!atoi(pair->value); in vdev_netvsc_vdev_probe()
684 else if (!strcmp(pair->key, VDEV_NETVSC_ARG_IGNORE)) in vdev_netvsc_vdev_probe()
685 ignore = !!atoi(pair->value); in vdev_netvsc_vdev_probe()
686 else if (!strcmp(pair->key, VDEV_NETVSC_ARG_IFACE) || in vdev_netvsc_vdev_probe()
[all …]
/dpdk/lib/ethdev/
H A Drte_class_eth.c120 unsigned int pair; in eth_dev_match() local
139 for (pair = 0; pair < kvlist->count; pair++) { in eth_dev_match()
140 ret = strcmp(kvlist->pairs[pair].key, in eth_dev_match()
H A Dethdev_driver.c386 struct rte_kvargs_pair *pair; in eth_dev_devargs_tokenise() local
396 pair = &arglist->pairs[0]; in eth_dev_devargs_tokenise()
406 pair->key = letter; in eth_dev_devargs_tokenise()
412 pair->value = letter + 1; in eth_dev_devargs_tokenise()
425 pair = &arglist->pairs[arglist->count]; in eth_dev_devargs_tokenise()
430 pair = &arglist->pairs[arglist->count]; in eth_dev_devargs_tokenise()
450 struct rte_kvargs_pair *pair; in rte_eth_devargs_parse() local
461 pair = &args.pairs[i]; in rte_eth_devargs_parse()
462 if (strcmp("representor", pair->key) == 0) { in rte_eth_devargs_parse()
470 pair->value, eth_da); in rte_eth_devargs_parse()
/dpdk/drivers/common/mlx5/
H A Dmlx5_common.c130 const struct rte_kvargs_pair *pair; in mlx5_kvargs_process() local
136 pair = &mkvlist->kvlist->pairs[i]; in mlx5_kvargs_process()
138 if (strcmp(pair->key, keys[j]) != 0) in mlx5_kvargs_process()
140 if ((*handler)(pair->key, pair->value, opaque_arg) < 0) in mlx5_kvargs_process()
179 const struct rte_kvargs_pair *pair = &kvlist->pairs[i]; in mlx5_kvargs_prepare() local
180 if (pair->value == NULL || *(pair->value) == '\0') { in mlx5_kvargs_prepare()
181 DRV_LOG(ERR, "Key %s is missing value.", pair->key); in mlx5_kvargs_prepare()
/dpdk/doc/guides/howto/
H A Ddebug_troubleshoot.rst86 pair.
88 * If there are redirect to a specific port queue pair with, ensure RX lcore
99 * If there are multiple port queue pair, it might be the RX thread, RX
124 is configured to fetch packets from the port queue pair.
261 * Parallelize enqueue thread for varied multiple queue pair.
269 * Parallelize dequeue thread for varied multiple queue pair.
274 with right (SIMD) flags or check if the queue pair using CPU ISA for
418 Use pdump in primary to allow secondary to access port-queue pair. The
/dpdk/doc/guides/prog_guide/
H A Dregexdev.rst139 Each queue pair is configured using ``rte_regexdev_queue_pair_setup``
145 Multiple logical cores should never share the same queue pair for enqueuing
161 The burst enqueue API uses a RegEx device identifier and a queue pair
162 identifier to specify the device queue pair to schedule the processing on.
H A Devent_crypto_adapter.rst70 needs to specify the cryptodev ID and queue pair ID (request information) needed
87 a single eventdev, then add cryptodev and queue pair to the adapter instance.
175 Adding queue pair to the adapter instance
178 Cryptodev device id and queue pair are created using cryptodev APIs.
191 These cryptodev id and queue pair are added to the instance using the
228 to specify the cryptodev ID and queue pair ID (request information) in
H A Dcompressdev.rst84 Each compression device queue pair is individually configured through the
98 A queue pair cannot be shared and should be exclusively used by a single processing
101 to use a different logical core to dequeue an operation on a queue pair from the logical
343 rte_exit(EXIT_FAILURE, "Failed to setup queue pair\n");
486 rte_exit(EXIT_FAILURE, "Failed to setup queue pair\n");
577 performed using a burst oriented asynchronous API set. A queue pair on a compression
583 from the queue pair on the compression device, from physical devices this is usually
607 Also if multiple threads calls enqueue_burst() on same queue pair then it’s
614 The burst enqueue API uses a compression device identifier and a queue pair
615 identifier to specify the compression device queue pair to schedule the processing on.
H A Dcryptodev_lib.rst114 Each Crypto devices queue pair is individually configured through the
125 uint32_t nb_descriptors; /**< Number of descriptors per queue pair */
156 Multiple logical cores should never share the same queue pair for enqueuing
159 different logical core to dequeue an operation on a queue pair from the logical
299 performed using a burst oriented asynchronous API set. A queue pair on a Crypto
305 from the queue pair on the Crypto device, from physical devices this is usually
344 ops received/sent on a given crypto device queue pair. The return value is a pointer
347 functions can be added for a given queue pair. API does not restrict on maximum number of
389 The burst enqueue API uses a Crypto device identifier and a queue pair
390 identifier to specify the Crypto device queue pair to schedule the processing on.
[all …]
H A Dreorder_lib.rst41 The reorder library is implemented as a pair of buffers, which referred to as
H A Devent_ethernet_tx_adapter.rst178 into each mbuf and transmit them to the requested ethernet port and queue pair.
/dpdk/lib/cryptodev/
H A Dcryptodev_trace_points.c22 lib.cryptodev.queue.pair.setup)
/dpdk/drivers/net/af_xdp/
H A Drte_eth_af_xdp.c121 struct pkt_tx_queue *pair; member
139 struct pkt_rx_queue *pair; member
484 while (send(xsk_socket__fd(txq->pair->xsk), NULL, in kick_tx()
511 struct xsk_ring_cons *cq = &txq->pair->cq; in af_xdp_tx_zc()
591 struct xsk_ring_cons *cq = &txq->pair->cq; in af_xdp_tx_cp()
823 txq = rxq->pair; in eth_stats_get()
922 rte_free(rxq->pair); in eth_dev_close()
1276 struct pkt_tx_queue *txq = rxq->pair; in xsk_configure()
1790 internals->tx_queues[i].pair = &internals->rx_queues[i]; in init_internals()
1791 internals->rx_queues[i].pair = &internals->tx_queues[i]; in init_internals()
/dpdk/doc/guides/compressdevs/
H A Dqat_comp.rst41 queue-pair all enqueues to the TX queue must be done from one thread and all dequeues
/dpdk/drivers/net/ark/
H A Dark_ethdev.c997 struct rte_kvargs_pair *pair = NULL; in eth_ark_check_args() local
1008 pair = &kvlist->pairs[k_idx]; in eth_ark_check_args()
1010 pair->key, in eth_ark_check_args()
1011 pair->value); in eth_ark_check_args()
/dpdk/doc/guides/sample_app_ug/
H A Dpacket_ordering.rst56 then the other pair from 2 to 3 and from 3 to 2, having [0,1] and [2,3] pairs.
H A Dipsec_secgw.rst78 event device - eth device pair has Tx internal port, then application can call
80 So a thread which assumes that the device pair has internal port will not be the
81 right solution for another pair. The infrastructure added for the event mode aims
1032 ``ssh-keygen`` will make a private & public key pair on the SUT.
H A Dl3_forward_graph.rst88 * The --config option enables one queue on each port and maps each (port,queue) pair to a specifi…
/dpdk/doc/guides/tools/
H A Dproc_info.rst48 associated to RX port queue pair.
/dpdk/doc/guides/nics/
H A Dena.rst23 processing by providing a dedicated Tx/Rx queue pair per CPU core.
263 Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.
H A Di40e.rst809 …will be required, and each queue pair will need a dedicated CPU core for receiving/transmitting pa…
819 …that the application uses core 18 for port 0, queue pair 0 forwarding, core 19 for port 0, queue p…
820 core 20 for port 1, queue pair 0 forwarding, and core 21 for port 1, queue pair 1 forwarding.
/dpdk/doc/guides/cryptodevs/
H A Ddpaa_sec.rst28 configure and destroy the device instance using queue pair with CAAM portal.
/dpdk/drivers/net/thunderx/
H A Dnicvf_ethdev.c2080 const struct rte_kvargs_pair *pair = &kvlist->pairs[i]; in nicvf_set_first_skip() local
2082 if (!strcmp(pair->key, SKIP_DATA_BYTES)) in nicvf_set_first_skip()
2083 bytes_to_skip = atoi(pair->value); in nicvf_set_first_skip()

12