#
8750576f |
| 14-Oct-2024 |
Nandini Persad <nandinipersad361@gmail.com> |
doc: reword some sample app guides
I have reviewed these sections for grammar/clarity and made small modifications to the formatting of sections to adhere to a template which will create uniformalit
doc: reword some sample app guides
I have reviewed these sections for grammar/clarity and made small modifications to the formatting of sections to adhere to a template which will create uniformality in the sample application user guides overall.
Signed-off-by: Nandini Persad <nandinipersad361@gmail.com> Acked-by: Chengwen Feng <fengchengwen@huawei.com>
show more ...
|
#
885807ae |
| 13-Jun-2023 |
Stephen Hemminger <stephen@networkplumber.org> |
doc: fix description of maximum Rx queues per lcore option
Several commands have a -q option but the description in the documentation was unclear. It is the upper limit on the number of queues per l
doc: fix description of maximum Rx queues per lcore option
Several commands have a -q option but the description in the documentation was unclear. It is the upper limit on the number of queues per lcore.
Suggested-by: Vipin Varghese <vipin.varghese@intel.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
show more ...
|
#
b54403fd |
| 13-Oct-2021 |
Sarosh Arif <sarosh.arif@emumba.com> |
examples/l2fwd: add promiscuous mode option
The default behaviour of l2fwd is to exit if we are unable to turn promiscuous mode on. On some aws instances turning promiscuous mode on is not permitted
examples/l2fwd: add promiscuous mode option
The default behaviour of l2fwd is to exit if we are unable to turn promiscuous mode on. On some aws instances turning promiscuous mode on is not permitted. In such cases there should be a way to run the application without promiscuous mode.
This patch allows user to turn promiscuous mode on via command line parameter. l3fwd has a similar option available.
Signed-off-by: Sarosh Arif <sarosh.arif@emumba.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
9a212dc0 |
| 16-Jul-2021 |
Conor Fogarty <conor.fogarty@intel.com> |
doc: use code snippets in sample app guides
Currently the sample app user guides use hard coded code snippets, this patch changes these to use literalinclude which will dynamically update the snippe
doc: use code snippets in sample app guides
Currently the sample app user guides use hard coded code snippets, this patch changes these to use literalinclude which will dynamically update the snippets as changes are made to the code. This was introduced in commit 413c75c33c40 ("doc: show how to include code in guides"). Comments within the sample apps were updated to accommodate this as part of this patch. This will help to ensure that the code within the sample app user guides is up to date and not out of sync with the actual code.
Signed-off-by: Conor Fogarty <conor.fogarty@intel.com> Signed-off-by: Conor Walsh <conor.walsh@intel.com> Acked-by: John McNamara <john.mcnamara@intel.com>
show more ...
|
#
e2a94f9a |
| 21-Oct-2020 |
Ciara Power <ciara.power@intel.com> |
doc: remove references to make from apps guide
While make has been deprecated for DPDK, it's still applicable for some example apps to be built standalone, this patch adjusts the guides to take that
doc: remove references to make from apps guide
While make has been deprecated for DPDK, it's still applicable for some example apps to be built standalone, this patch adjusts the guides to take that into consideration.
Signed-off-by: Ciara Power <ciara.power@intel.com> Acked-by: Nicolas Chautru <nicolas.chautru@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
cb056611 |
| 15-Oct-2020 |
Stephen Hemminger <stephen@networkplumber.org> |
eal: rename lcore master and slave
Replace master lcore with main lcore and replace slave lcore with worker lcore.
Keep the old functions and macros but mark them as deprecated for this release.
T
eal: rename lcore master and slave
Replace master lcore with main lcore and replace slave lcore with worker lcore.
Keep the old functions and macros but mark them as deprecated for this release.
The "--master-lcore" command line option is also deprecated and any usage will print a warning and use "--main-lcore" as replacement.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
show more ...
|
#
fa19eb20 |
| 27-Apr-2020 |
Vamsi Attunuru <vattunuru@marvell.com> |
examples/l2fwd: add forwarding port mapping option
Current l2fwd application statically configures adjacent ports as destination ports for forwarding the traffic.
Add a portmap option to pass the f
examples/l2fwd: add forwarding port mapping option
Current l2fwd application statically configures adjacent ports as destination ports for forwarding the traffic.
Add a portmap option to pass the forwarding port pair mapping which allows the user to configure forwarding port mapping.
If no portmap argument is specified, destination port map is not changed and traffic gets forwarded with existing mapping.
To align port/queue configuration of each lcore with destination port map, port/queue configuration of each lcore gets modified when portmap option is specified.
Ex: ./l2fwd -c 0xff -- -p 0x3f -q 2 --portmap="(0,3)(1,4)(2,5)"
With above portmap option, traffic received from portid = 0 gets forwarded to port = 3 and vice versa, similarly traffic gets forwarded on other port pairs (1,4) and (2,5)
Signed-off-by: Vamsi Attunuru <vattunuru@marvell.com> Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Andrzej Ostruszka <aostruszka@marvell.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
87db93e0 |
| 06-May-2020 |
David Marchand <david.marchand@redhat.com> |
remove references to private PCI probe function
rte_pci_probe() is private to the PCI bus. Clean the remaining references in the documentation and comments.
Fixes: c752998b5e2e ("pci: introduce lib
remove references to private PCI probe function
rte_pci_probe() is private to the PCI bus. Clean the remaining references in the documentation and comments.
Fixes: c752998b5e2e ("pci: introduce library and driver") Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com> Reviewed-by: Gaetan Rivet <grive@u256.net>
show more ...
|
#
a0fbab25 |
| 03-Jun-2019 |
Bao-Long Tran <longtb5@viettel.com.vn> |
doc: remove useless Rx configuration in l2fwd guide
Update doc the match with code.
Fixes: 81f7ecd9 ("examples: use factorized default Rx/Tx configuration") Cc: stable@dpdk.org
Signed-off-by: Bao-
doc: remove useless Rx configuration in l2fwd guide
Update doc the match with code.
Fixes: 81f7ecd9 ("examples: use factorized default Rx/Tx configuration") Cc: stable@dpdk.org
Signed-off-by: Bao-Long Tran <longtb5@viettel.com.vn>
show more ...
|
#
538da7a1 |
| 21-May-2019 |
Olivier Matz <olivier.matz@6wind.com> |
net: add rte prefix to ether functions
Add 'rte_' prefix to functions: - rename is_same_ether_addr() as rte_is_same_ether_addr(). - rename is_zero_ether_addr() as rte_is_zero_ether_addr(). - rename
net: add rte prefix to ether functions
Add 'rte_' prefix to functions: - rename is_same_ether_addr() as rte_is_same_ether_addr(). - rename is_zero_ether_addr() as rte_is_zero_ether_addr(). - rename is_unicast_ether_addr() as rte_is_unicast_ether_addr(). - rename is_multicast_ether_addr() as rte_is_multicast_ether_addr(). - rename is_broadcast_ether_addr() as rte_is_broadcast_ether_addr(). - rename is_universal_ether_addr() as rte_is_universal_ether_addr(). - rename is_local_admin_ether_addr() as rte_is_local_admin_ether_addr(). - rename is_valid_assigned_ether_addr() as rte_is_valid_assigned_ether_addr(). - rename eth_random_addr() as rte_eth_random_addr(). - rename ether_addr_copy() as rte_ether_addr_copy(). - rename ether_format_addr() as rte_ether_format_addr().
Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Reviewed-by: Stephen Hemminger <stephen@networkplumber.org> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
6d13ea8e |
| 21-May-2019 |
Olivier Matz <olivier.matz@6wind.com> |
net: add rte prefix to ether structures
Add 'rte_' prefix to structures: - rename struct ether_addr as struct rte_ether_addr. - rename struct ether_hdr as struct rte_ether_hdr. - rename struct vlan_
net: add rte prefix to ether structures
Add 'rte_' prefix to structures: - rename struct ether_addr as struct rte_ether_addr. - rename struct ether_hdr as struct rte_ether_hdr. - rename struct vlan_hdr as struct rte_vlan_hdr. - rename struct vxlan_hdr as struct rte_vxlan_hdr. - rename struct vxlan_gpe_hdr as struct rte_vxlan_gpe_hdr.
Do not update the command line library to avoid adding a dependency to librte_net.
Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Reviewed-by: Stephen Hemminger <stephen@networkplumber.org> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
218c4e68 |
| 06-Mar-2019 |
Bruce Richardson <bruce.richardson@intel.com> |
mk: use linux and freebsd in config names
Rather than using linuxapp and bsdapp everywhere, we can change things to use the, more readable, terms "linux" and "freebsd" in our build configs. Rather t
mk: use linux and freebsd in config names
Rather than using linuxapp and bsdapp everywhere, we can change things to use the, more readable, terms "linux" and "freebsd" in our build configs. Rather than renaming the configs we can just duplicate the existing ones with the new names using symlinks, and use the new names exclusively internally. ["make showconfigs" also only shows the new names to keep the list short] The result is that backward compatibility is kept fully but any new builds or development can be done using the newer names, i.e. both "make config T=x86_64-native-linuxapp-gcc" and "T=x86_64-native-linux-gcc" work.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
c6698a3e |
| 02-Jul-2018 |
Thomas Monjalon <thomas@monjalon.net> |
ethdev: convert remaining apps to new offload API
Some test applications and examples were not converted to the new offload API introduced in 17.11.
For reference, see "Hardware Offload" in doc/gu
ethdev: convert remaining apps to new offload API
Some test applications and examples were not converted to the new offload API introduced in 17.11.
For reference, see "Hardware Offload" in doc/guides/prog_guide/poll_mode_drv.rst
Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
a9dbe180 |
| 05-Apr-2018 |
Thomas Monjalon <thomas@monjalon.net> |
fix ethdev port id validation
Some DPDK applications wrongly assume these requirements: - no hotplug, i.e. ports are never detached - all allocated ports are available to the application
Su
fix ethdev port id validation
Some DPDK applications wrongly assume these requirements: - no hotplug, i.e. ports are never detached - all allocated ports are available to the application
Such application assume a valid port index is in the range [0..count[.
There are three consequences when using such wrong design: - new ports having an index higher than the port count won't be valid - old ports being detached (RTE_ETH_DEV_UNUSED) can be valid
Such mistake will be less common with growing hotplug awareness. All applications and examples inside this repository - except testpmd - must be fixed to use the function rte_eth_dev_is_valid_port.
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
show more ...
|
#
8728ccf3 |
| 05-Apr-2018 |
Thomas Monjalon <thomas@monjalon.net> |
fix ethdev ports enumeration
Some DPDK applications wrongly assume these requirements: - no hotplug, i.e. ports are never detached - all allocated ports are available to the application
Suc
fix ethdev ports enumeration
Some DPDK applications wrongly assume these requirements: - no hotplug, i.e. ports are never detached - all allocated ports are available to the application
Such application iterates over ports by its own mean. The most common pattern is to request the port count and assume ports with index in the range [0..count[ can be used.
There are three consequences when using such wrong design: - new ports having an index higher than the port count won't be seen - old ports being detached (RTE_ETH_DEV_UNUSED) can be seen as ghosts - failsafe sub-devices (RTE_ETH_DEV_DEFERRED) will be seen by the application
Such mistake will be less common with growing hotplug awareness. All applications and examples inside this repository - except testpmd - must be fixed to use the iterator RTE_ETH_FOREACH_DEV.
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
show more ...
|
#
5630257f |
| 01-Feb-2018 |
Ferruh Yigit <ferruh.yigit@intel.com> |
doc: convert Intel license headers to SPDX tags
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
|
#
7cacb056 |
| 25-Oct-2017 |
Herakliusz Lipiec <herakliusz.lipiec@intel.com> |
doc: add generic build instructions for sample apps
Moved duplicated, and occasionally outdated, doc sections from each of the sample app guides chapters to a common chapter at the start.
This redu
doc: add generic build instructions for sample apps
Moved duplicated, and occasionally outdated, doc sections from each of the sample app guides chapters to a common chapter at the start.
This reduces the duplication in the docs and provides a single point of reference for compiling the sample apps.
Signed-off-by: Herakliusz Lipiec <herakliusz.lipiec@intel.com> Signed-off-by: Marko Kovacevic <marko.kovacevic@intel.com>
show more ...
|
#
c6d6982d |
| 13-Oct-2017 |
Zhiyong Yang <zhiyong.yang@intel.com> |
doc: update port id type
Since port id has changed from uint8_t to uint16_t in dpdk code, So update the change in related doc.
Fixes: f8244c6399d9 ("ethdev: increase port id range")
Signed-off-by:
doc: update port id type
Since port id has changed from uint8_t to uint16_t in dpdk code, So update the change in related doc.
Fixes: f8244c6399d9 ("ethdev: increase port id range")
Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com> Acked-by: John McNamara <john.mcnamara@intel.com>
show more ...
|
#
3dcfe039 |
| 04-May-2017 |
Thomas Monjalon <thomas@monjalon.net> |
pci: remove eal prefix
The PCI code will move to the bus drivers directory. Rename functions from rte_eal_pci_ to rte_pci_ to prepare the move of the driver out of EAL.
Signed-off-by: Thomas Monjal
pci: remove eal prefix
The PCI code will move to the bus drivers directory. Rename functions from rte_eal_pci_ to rte_pci_ to prepare the move of the driver out of EAL.
Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Stephen Hemminger <stephen@networkplumber.org>
show more ...
|
#
5a11168d |
| 14-Mar-2017 |
Hemant Agrawal <hemant.agrawal@nxp.com> |
mbuf: use pktmbuf helper to create the pool
When possible, replace the uses of rte_mempool_create() with the helper provided in librte_mbuf: rte_pktmbuf_pool_create().
This is the preferred way to
mbuf: use pktmbuf helper to create the pool
When possible, replace the uses of rte_mempool_create() with the helper provided in librte_mbuf: rte_pktmbuf_pool_create().
This is the preferred way to create a mbuf pool.
This also updates the documentation.
Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> Acked-by: Olivier Matz <olivier.matz@6wind.com>
show more ...
|
#
35b09d76 |
| 27-Feb-2017 |
Keith Wiles <keith.wiles@intel.com> |
doc: use corelist instead of coremask
The coremask option in DPDK is difficult to use and we should be promoting the use of the corelist (-l) option. The patch adjusts the docs to use -l EAL option
doc: use corelist instead of coremask
The coremask option in DPDK is difficult to use and we should be promoting the use of the corelist (-l) option. The patch adjusts the docs to use -l EAL option instead of the -c option.
The patch only changes the docs and not the code as the -c option will continue to exist unless it is removed in the future. The -c option should be kept to maintain backward compatibility.
Signed-off-by: Keith Wiles <keith.wiles@intel.com> Acked-by: John McNamara <john.mcnamara@intel.com>
show more ...
|
#
cf435a07 |
| 23-Sep-2016 |
Maxime Coquelin <maxime.coquelin@redhat.com> |
examples/l2fwd: add option --[no-]mac-updating
l2fwd could be useful for testing virtual devices without the need of physical ones.
To achieve this, this patch adds a new option to enable/disable t
examples/l2fwd: add option --[no-]mac-updating
l2fwd could be useful for testing virtual devices without the need of physical ones.
To achieve this, this patch adds a new option to enable/disable the MAC addresses updating done at forwarding time: --[no-]mac-updating
It enables the use of l2fwd for basic VM to VM communication.
By default, MAC address updating remains enabled, to keep consistency with previous usage.
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com> Acked-by: John McNamara <john.mcnamara@intel.com>
show more ...
|
#
3ec02f9c |
| 17-Jul-2016 |
John McNamara <john.mcnamara@intel.com> |
doc: fix sphinx highlighting warnings
Fix warnings raised by Python Sphinx 1.4.5:
guides/sample_app_ug/ip_pipeline.rst:334: WARNING: Could not lex literal_block as "ini". Highlighting skipp
doc: fix sphinx highlighting warnings
Fix warnings raised by Python Sphinx 1.4.5:
guides/sample_app_ug/ip_pipeline.rst:334: WARNING: Could not lex literal_block as "ini". Highlighting skipped.
guides/sample_app_ug/l2_forward_real_virtual.rst:467: WARNING: Could not lex literal_block as "c". Highlighting skipped.
guides/sample_app_ug/l3_forward.rst:293: WARNING: Could not lex literal_block as "c". Highlighting skipped.
guides/sample_app_ug/vm_power_management.rst:162: WARNING: Could not lex literal_block as "xml". Highlighting skipped.
These warnings arise from invalid syntax in code-block directives.
Fixes: f1e779ec5b50 ("doc: update ip pipeline app guide") Fixes: d0dff9ba445e ("doc: sample application user guide") Fixes: c75f4e6a7a2b ("doc: add vm power mgmt app")
Signed-off-by: John McNamara <john.mcnamara@intel.com>
show more ...
|
#
b4e0f64f |
| 03-May-2016 |
Mauricio Vasquez B <mauricio.vasquezbernal@studenti.polito.it> |
examples: remove useless check of port count
The rte_eth_dev_count() function will never return a value greater than RTE_MAX_ETHPORTS, so that checking is useless.
Signed-off-by: Mauricio Vasquez B
examples: remove useless check of port count
The rte_eth_dev_count() function will never return a value greater than RTE_MAX_ETHPORTS, so that checking is useless.
Signed-off-by: Mauricio Vasquez B <mauricio.vasquezbernal@studenti.polito.it> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
513b0723 |
| 25-Feb-2016 |
Mauricio Vasquez B <mauricio.vasquezbernal@studenti.polito.it> |
doc: fix references in sample apps guide
MANY references in the sample applications user guide are wrong because they are hard-coded and section numbers have changed over the time. This patch change
doc: fix references in sample apps guide
MANY references in the sample applications user guide are wrong because they are hard-coded and section numbers have changed over the time. This patch changes thoses references to dynamic ones, in this way if section numbers change the reference get updated automatically.
Signed-off-by: Mauricio Vasquez B <mauricio.vasquezbernal@studenti.polito.it>
show more ...
|