Home
last modified time | relevance | path

Searched refs:primary (Results 1 – 25 of 63) sorted by relevance

123

/dpdk/doc/guides/sample_app_ug/
H A Dmulti_process.rst44 ./<build_dir>/examples/dpdk-simple_mp -l 0-1 -n 4 --proc-type=primary
47 since all DPDK processes will default to being a primary instance,
53 $ ./<build_dir>/examples/dpdk-simple_mp -l 0-1 -n 4 --proc-type=primary
75 To run the secondary process to communicate with the primary process,
103 …If the primary instance is terminated, the secondary instance must also be shut-down and restarted…
106 The secondary process can be stopped and restarted without affecting the primary process.
112 These three objects are created at startup by the primary process,
124 Once the rings and memory pools are all available in both the primary and secondary processes,
172 and the first two must be the same as those passed to the primary instance, or errors result.
195 it is not necessary to restart all processes if the primary instance dies.
[all …]
/dpdk/drivers/bus/vmbus/
H A Dvmbus_common_uio.c95 dev->monitor_id, &dev->primary)) { in vmbus_uio_map_secondary()
102 if (rte_vmbus_subchan_open(dev->primary, &chan)) { in vmbus_uio_map_secondary()
112 while (!STAILQ_EMPTY(&dev->primary->subchannel_list)) { in vmbus_uio_map_secondary()
113 chan = STAILQ_FIRST(&dev->primary->subchannel_list); in vmbus_uio_map_secondary()
117 rte_vmbus_chan_close(dev->primary); in vmbus_uio_map_secondary()
248 rte_free(dev->primary); in vmbus_uio_unmap_resource()
H A Dvmbus_channel.c355 device->primary = *new_chan; in rte_vmbus_chan_open()
362 if (vmbus_uio_subchannels_supported(device, device->primary)) in rte_vmbus_max_channels()
369 int rte_vmbus_subchan_open(struct vmbus_channel *primary, in rte_vmbus_subchan_open() argument
375 err = vmbus_uio_get_subchan(primary, &chan); in rte_vmbus_subchan_open()
379 STAILQ_INSERT_TAIL(&primary->subchannel_list, chan, next); in rte_vmbus_subchan_open()
392 struct vmbus_channel *primary = device->primary; in rte_vmbus_chan_close() local
398 if (chan != primary) { in rte_vmbus_chan_close()
399 STAILQ_REMOVE(&primary->subchannel_list, chan, in rte_vmbus_chan_close()
H A Drte_bus_vmbus.h73 struct vmbus_channel *primary; /**< VMBUS primary channel */ member
199 int rte_vmbus_subchan_open(struct vmbus_channel *primary,
H A Dprivate.h116 int vmbus_uio_get_subchan(struct vmbus_channel *primary,
/dpdk/doc/guides/prog_guide/
H A Dpdump_lib.rst13 between primary and secondary process for enabling/disabling packet capture on
51 The primary process using ``librte_pdump`` is responsible for initializing the packet
60 channel using ``rte_mp_action_register()`` API. The primary process will listen to secondary proces…
65 the request to the primary process over the multi process channel. The primary process takes this r…
67 and queue combinations. Then the primary process will mirror the packets to the new mempool and enq…
81 the request to the primary process over the multi process channel. The primary process takes this r…
H A Dmulti_proc_support.rst24 Standalone DPDK processes are primary processes,
25 while secondary processes can only run alongside a primary process or
26 after a primary process has already configured the hugepage shared memory for them.
54 On application start-up in a primary or standalone process,
66 If the primary process was run with ``--legacy-mem`` or
99 is to have a single primary process instance that acts as a load-balancer or
142 as the primary process whose shared memory they are connecting to.
173 All interrupts are triggered inside the primary process only.
203 * Unicast message from secondary to primary
204 * Broadcast message from primary to all secondaries
[all …]
H A Dlink_bonding_poll_mode_drv_lib.rst61 slave becomes active if, and only if, the primary active slave fails,
269 its primary slave, a user defined MAC address and transmission policy to use if
286 The primary slave is used to define the default port to use when a bonded
288 only if, the current primary port goes down. If the user does not specify a
296 operating mode. If the device is in active backup mode then only the primary
302 default to using the primary slaves MAC address.
416 * primary: Optional parameter which defines the primary slave port,
417 is used in active backup mode to select the primary slave for data TX/RX if
420 added to the device if it is specified. The primary device must be a slave
425 primary=0000:0a:00.0
[all …]
H A Dhash_lib.rst131 For any input key, there are two possible buckets (primary and secondary/alternative location)
138 …reduced to the entries in those buckets (it is very likely that entries are in the primary bucket).
149 First of all, the primary bucket is identified and entry is likely to be stored there.
152 If signature is not in the primary bucket, the secondary bucket is looked up, where same procedure
157 Like lookup, the primary and secondary buckets are identified. If there is an empty entry in
158 the primary bucket, a signature is stored in that entry, key and data (if any) are added to
160 If there is no space in the primary bucket, one of the entries on that bucket is pushed to its alte…
176 Similar to lookup, the key is searched in its primary and secondary buckets. If the key is found, t…
189 In case of lookup for a certain key, as before, the primary bucket is searched for a match and then…
202 if there is a new entry to be added which primary location coincides with their current bucket,
[all …]
H A Dmetrics_lib.rst11 practice producers will typically be other libraries or primary
40 This function **must** be called from a primary process, but otherwise
41 producers and consumers can be in either primary or secondary processes.
169 This function **must** be called from a primary process.
H A Dthread_safety_dpdk_functions.rst64 …se, the configuration information of shared memory will only be initialized by the primary process.
65 Thereafter, both primary and secondary processes can allocate/release any objects of memory that fi…
/dpdk/doc/guides/tools/
H A Dpdump.rst13 * The ``dpdk-pdump`` tool can only be used in conjunction with a primary
27 the primary application exits.
75 …in the primary process due to a bug in the ethdev library. Due to this bug, in a multi process con…
76 when the primary and secondary have different ports set, then the secondary process
77 …(here the ``dpdk-pdump`` tool) overwrites the ``rte_eth_devices[]`` entries of the primary process.
103 the primary application to the secondary. This is an optional parameter with default size 16384.
107 the primary application's mempool's mbuf data size which is used for packet RX. This is an optional…
H A Ddumpcap.rst11 that are coming into and out of a DPDK primary process.
26 * The ``dpdk-dumpcap`` tool can only be used in conjunction with a primary
36 It exits when the primary application exits.
H A Dproc_info.rst75 * dpdk-procinfo should run alongside primary process with same DPDK version.
78 pass the same NIC PMD libraries as used for the primary application. Any
80 affecting primary application too.
/dpdk/drivers/net/nfp/nfpcore/
H A Dnfp_nsp_cmds.c18 uint16_t primary; member
58 nspi->primary = rte_le_to_cpu_16(ni->primary); in __nfp_nsp_identify()
/dpdk/doc/guides/nics/
H A Dthunderx.rst198 Each port consists of a primary VF and n secondary VF(s). Each VF provides 8 Tx/Rx queues to a port.
202 During PMD initialization, the primary VF's are enumerated by checking the
206 The primary VFs are used as master queue sets. Secondary VFs provide
207 additional queue sets for primary ones. If a port is configured for more then
210 Secondary VFs cannot be shared between primary VFs.
230 all channels. Four primary VFs are reserved as loopback ports.
280 …Here total no of primary VFs = 5 (variable, depends on no of ethernet ports present) + 4 (fixed, l…
283 We want to bind two physical interfaces with 24 queues each device, we attach two primary VFs
288 #. Bind two primary VFs to the ``vfio-pci`` driver:
295 #. Bind four primary VFs to the ``vfio-pci`` driver:
[all …]
/dpdk/drivers/bus/vmbus/linux/
H A Dvmbus_uio.c380 static bool vmbus_isnew_subchannel(struct vmbus_channel *primary, in vmbus_isnew_subchannel() argument
385 STAILQ_FOREACH(c, &primary->subchannel_list, next) { in vmbus_isnew_subchannel()
392 int vmbus_uio_get_subchan(struct vmbus_channel *primary, in vmbus_uio_get_subchan() argument
395 const struct rte_vmbus_device *dev = primary->device; in vmbus_uio_get_subchan()
427 if (!vmbus_isnew_subchannel(primary, relid)) { in vmbus_uio_get_subchan()
/dpdk/drivers/net/netvsc/
H A Dhn_nvs.c142 struct hn_rx_queue *rxq = hv->primary; in hn_nvs_execute()
235 hv->primary->rxbuf_info = rte_calloc("HN_RXBUF_INFO", in hn_nvs_conn_rxbuf()
237 sizeof(*hv->primary->rxbuf_info), in hn_nvs_conn_rxbuf()
239 if (!hv->primary->rxbuf_info) { in hn_nvs_conn_rxbuf()
H A Dhn_ethdev.c506 struct vmbus_channel *primary = hn_primary_chan(hv); in hn_subchan_configure() local
522 err = rte_vmbus_subchan_open(primary, &new_sc); in hn_subchan_configure()
1206 hv->primary = hn_rx_queue_alloc(hv, 0, in eth_hn_dev_init()
1209 if (!hv->primary) in eth_hn_dev_init()
1274 rte_vmbus_chan_close(hv->primary->chan); in eth_hn_dev_uninit()
1275 rte_free(hv->primary); in eth_hn_dev_uninit()
/dpdk/doc/guides/cryptodevs/
H A Dscheduler.rst114 Packet-size based distribution mode, which works with 2 workers, the primary
117 distributed to the primary worker if its data length is equal to or bigger
121 A typical use case in this mode is with the QAT cryptodev as the primary and
143 Fail-over mode, which works with 2 workers, the primary worker and the
145 crypto operation burst to the primary worker. When one or more crypto
/dpdk/doc/guides/howto/
H A Ddebug_troubleshoot.rst12 * single or multiple primary processes
14 * single primary and single secondary
16 * single primary and multiple secondaries
34 primary process, with various processing stages running on multiple cores. The
418 Use pdump in primary to allow secondary to access port-queue pair. The
454 #. For an application that runs as the primary process only, debug functionality
H A Dlm_bond_virtio_sriov.rst21 The VF is set as the primary slave of the bonded device.
125 set bonding primary (slave id) (port id)
127 Set primary to P1 before starting bonding port.
131 testpmd> set bonding primary 1 2
165 testpmd> set bonding primary 0 2
350 testpmd> set bonding primary 1 2
H A Dtelemetry.rst19 socket with path */var/run/dpdk/\*/dpdk_telemetry.v2* (when the primary process
43 #. Launch testpmd as the primary application with telemetry::
H A Dpacket_capture_framework.rst52 * All tools using ``librte_pdump`` can only be used in conjunction with a primary
90 #. Launch testpmd as the primary application::
/dpdk/doc/guides/testpmd_app_ug/
H A Drun_app.rst575 * primary process:
598 primary process and secondary process, which starts from '0'.
609 queues 0 and 1 will be used by the primary process and
617 All the dev ops is supported in primary process. While secondary process is
640 When secondary is running, port in primary is not permitted to be stopped.
641 Reconfigure operation is only valid in primary.
645 level: primary and secondary has its own flow list (but one flow list in HW).
647 But in the testpmd primary process receiving or transmitting packets from the

123