app: remove unneeded atomic header includeRemove the unnecessary rte_atomic.h included in app modules.Signed-off-by: Joyce Kong <[email protected]>Reviewed-by: Ruifeng Wang <[email protected]
app: remove unneeded atomic header includeRemove the unnecessary rte_atomic.h included in app modules.Signed-off-by: Joyce Kong <[email protected]>Reviewed-by: Ruifeng Wang <[email protected]>
show more ...
devtools: forbid indent with tabs in MesonThe rule for indentation in Meson in DPDK is 4 spaces.Any tab should be flagged as an issue, let's extend the check and fixexisting offenders.Fixes: 4
devtools: forbid indent with tabs in MesonThe rule for indentation in Meson in DPDK is 4 spaces.Any tab should be flagged as an issue, let's extend the check and fixexisting offenders.Fixes: 4ad4b20a7905 ("drivers: change indentation in build files")Fixes: 2457705e6474 ("crypto/cnxk: add driver skeleton")Fixes: 634b73104482 ("app/testpmd: build on Windows")Fixes: 3a6bfc37eaf4 ("net/ice: support QoS config VF bandwidth in DCF")Fixes: 8ef09fdc506b ("build: add optional NUMA and CPU counts detection")Fixes: e1369718f553 ("common/octeontx: enable build only on 64-bit Linux")Fixes: 2b504721bfda ("app/bbdev: enable la12xx")Fixes: 6cc51b1293ce ("mem: instrument allocator for ASan")Fixes: c75542ae4200 ("crypto/ipsec_mb: introduce IPsec_mb framework")Fixes: 918fd2f1466b ("crypto/ipsec_mb: move aesni_mb PMD")Fixes: 746825e5c0ea ("crypto/ipsec_mb: move aesni_gcm PMD")Fixes: bc9ef81c42b4 ("crypto/ipsec_mb: move kasumi PMD")Fixes: 4f1cfda59ad3 ("crypto/ipsec_mb: move snow3g PMD")Fixes: cde8df1bda9d ("crypto/ipsec_mb: move zuc PMD")Fixes: f16662885472 ("crypto/ipsec_mb: add chacha_poly PMD")Signed-off-by: David Marchand <[email protected]>Acked-by: Bruce Richardson <[email protected]>Acked-by: Stephen Hemminger <[email protected]>
ethdev: add namespaceAdd 'RTE_ETH' namespace to all enums & macros in a backward compatibleway. The macros for backward compatibility can be removed in next LTS.Also updated some struct names to
ethdev: add namespaceAdd 'RTE_ETH' namespace to all enums & macros in a backward compatibleway. The macros for backward compatibility can be removed in next LTS.Also updated some struct names to have 'rte_eth' prefix.All internal components switched to using new names.Syntax fixed on lines that this patch touches.Signed-off-by: Ferruh Yigit <[email protected]>Acked-by: Tyler Retzlaff <[email protected]>Acked-by: Andrew Rybchenko <[email protected]>Acked-by: Ajit Khaparde <[email protected]>Acked-by: Jerin Jacob <[email protected]>Acked-by: Wisam Jaddo <[email protected]>Acked-by: Rosen Xu <[email protected]>Acked-by: Chenbo Xia <[email protected]>Acked-by: Hemant Agrawal <[email protected]>Acked-by: Somnath Kotur <[email protected]>
app/testpmd: build on Windows- Disable unsupported apps on Windows- Enable building of testpmd on WindowsSigned-off-by: Jie Zhou <[email protected]>Acked-by: Tal Shnaiderman <talshn@nvid
app/testpmd: build on Windows- Disable unsupported apps on Windows- Enable building of testpmd on WindowsSigned-off-by: Jie Zhou <[email protected]>Acked-by: Tal Shnaiderman <[email protected]>Acked-by: Dmitry Kozlyuk <[email protected]>
app: reduce indentation in build filesAs with the lib and drivers directories, we can use "continue" keyword toreduce the indentation level of the majority of the foreach block. At thesame time,
app: reduce indentation in build filesAs with the lib and drivers directories, we can use "continue" keyword toreduce the indentation level of the majority of the foreach block. At thesame time, we can also replace tab indentation with spaces.Signed-off-by: Bruce Richardson <[email protected]>
eal: rename lcore master and slaveReplace master lcore with main lcore andreplace slave lcore with worker lcore.Keep the old functions and macros but mark them as deprecatedfor this release.T
eal: rename lcore master and slaveReplace master lcore with main lcore andreplace slave lcore with worker lcore.Keep the old functions and macros but mark them as deprecatedfor this release.The "--master-lcore" command line option is also deprecatedand any usage will print a warning and use "--main-lcore"as replacement.Signed-off-by: Stephen Hemminger <[email protected]>Acked-by: Anatoly Burakov <[email protected]>
build: replace use of old build macrosUse the newer macros defined by meson in all DPDK source code, to ensurethere are no errors when the old non-standard macros are removed.Signed-off-by: Bruc
build: replace use of old build macrosUse the newer macros defined by meson in all DPDK source code, to ensurethere are no errors when the old non-standard macros are removed.Signed-off-by: Bruce Richardson <[email protected]>Acked-by: Luca Boccassi <[email protected]>Acked-by: Andrew Rybchenko <[email protected]>Acked-by: Rosen Xu <[email protected]>Signed-off-by: Thomas Monjalon <[email protected]>
app: use new link status print formatAdd usage of rte_eth_link_to_str function to applications and docs.Signed-off-by: Ivan Dyukov <[email protected]>Reviewed-by: Ferruh Yigit <ferruh.yigit@i
app: use new link status print formatAdd usage of rte_eth_link_to_str function to applications and docs.Signed-off-by: Ivan Dyukov <[email protected]>Reviewed-by: Ferruh Yigit <[email protected]>
build: remove makefilesA decision was made [1] to no longer support Make in DPDK, this patchremoves all Makefiles that do not make use of pkg-config, along withthe mk directory previously used by
build: remove makefilesA decision was made [1] to no longer support Make in DPDK, this patchremoves all Makefiles that do not make use of pkg-config, along withthe mk directory previously used by make.[1] https://mails.dpdk.org/archives/dev/2020-April/162839.htmlSigned-off-by: Ciara Power <[email protected]>Reviewed-by: Ruifeng Wang <[email protected]>Signed-off-by: Thomas Monjalon <[email protected]>
replace unused attributesThere is a common macro __rte_unused, avoiding warnings,which is now used where appropriate for consistency.Signed-off-by: Thomas Monjalon <[email protected]>
app/pipeline: fix build with gcc 10GCC 10 defaults to -fno-common, this means a linker error will now bereported if the same global variable is defined in more than onecompilation unit.Fixes: 4
app/pipeline: fix build with gcc 10GCC 10 defaults to -fno-common, this means a linker error will now bereported if the same global variable is defined in more than onecompilation unit.Fixes: 48f31ca50cc4 ("app/pipeline: packet framework benchmark")Cc: [email protected]Signed-off-by: Timothy Redaelli <[email protected]>Acked-by: Cristian Dumitrescu <[email protected]>
app/pipeline: check status of getting link infoThe return value of rte_eth_link_get_nowait() was changed from void to int.Update the usage of the function according to the new return type.Signed
app/pipeline: check status of getting link infoThe return value of rte_eth_link_get_nowait() was changed from void to int.Update the usage of the function according to the new return type.Signed-off-by: Andrew Rybchenko <[email protected]>
app: check code of promiscuous mode switchrte_eth_promiscuous_enable()/rte_eth_promiscuous_disable() returnvalue was changed from void to int, so this patch modify usageof these functions across
app: check code of promiscuous mode switchrte_eth_promiscuous_enable()/rte_eth_promiscuous_disable() returnvalue was changed from void to int, so this patch modify usageof these functions across apps according to new return type.Signed-off-by: Ivan Ilchenko <[email protected]>Signed-off-by: Andrew Rybchenko <[email protected]>
net: add rte prefix to IP structureAdd 'rte_' prefix to structures:- rename struct ipv4_hdr as struct rte_ipv4_hdr.- rename struct ipv6_hdr as struct rte_ipv6_hdr.Signed-off-by: Olivier Matz <o
net: add rte prefix to IP structureAdd 'rte_' prefix to structures:- rename struct ipv4_hdr as struct rte_ipv4_hdr.- rename struct ipv6_hdr as struct rte_ipv6_hdr.Signed-off-by: Olivier Matz <[email protected]>Reviewed-by: Stephen Hemminger <[email protected]>Reviewed-by: Maxime Coquelin <[email protected]>Reviewed-by: Ferruh Yigit <[email protected]>
net: add rte prefix to ether structuresAdd '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 structuresAdd '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 tolibrte_net.Signed-off-by: Olivier Matz <[email protected]>Reviewed-by: Stephen Hemminger <[email protected]>Reviewed-by: Maxime Coquelin <[email protected]>Reviewed-by: Ferruh Yigit <[email protected]>
app/pipeline: fix dependency for FreeBSDWhen building on FreeBSD, the compiler emitted an error due to beingunable to find rte_pci.h. This was due to missing dependencies for theapplication.Fix
app/pipeline: fix dependency for FreeBSDWhen building on FreeBSD, the compiler emitted an error due to beingunable to find rte_pci.h. This was due to missing dependencies for theapplication.Fixes: 474572d2ae5a ("app/pipeline: move from test directory")Signed-off-by: Bruce Richardson <[email protected]>
app/pipeline: move from test directoryMove to the app directory, and add to meson build.Signed-off-by: Bruce Richardson <[email protected]>
test: move unit tests to separate directoryThis is to logically group unit tests into their own folder,separating them from "app" folder.Hopefully this will make the unit test in DPDK more visib
test: move unit tests to separate directoryThis is to logically group unit tests into their own folder,separating them from "app" folder.Hopefully this will make the unit test in DPDK more visible.Following binaries moved to "test" folder:cmdline-testtest-acltest-pipelinetest <-- various DPDK unit testsSigned-off-by: Ferruh Yigit <[email protected]>Acked-by: Bruce Richardson <[email protected]>
app/test-pipeline: add cuckoo hashThis patch inclides cuckoo hash table into test-pipelineThis allows to benchmark the performance of the cuckoo hash tableThe following key sizes are supported fo
app/test-pipeline: add cuckoo hashThis patch inclides cuckoo hash table into test-pipelineThis allows to benchmark the performance of the cuckoo hash tableThe following key sizes are supported for cuckoo hash table8, 16, 32, 48, 64, 80, 96, 112 and 128.The test-pipeline can be run using the following commandsay for key size 8./app/testpipeline -c 0xe -n 4 -- -p 0xf --hash-cuckoo-8Signed-off-by: Sankar Chokkalingam <[email protected]>Signed-off-by: Guruprasad Rao <[email protected]>Acked-by: Cristian Dumitrescu <[email protected]>
app/test-pipeline: fix table hash LRU initializationmacro ‘APP_METADATA_OFFSET’ was not used to initialize‘signature_offset’ and ‘key_offset’ part of structrte_table_hash_lru_params.Instead inte
app/test-pipeline: fix table hash LRU initializationmacro ‘APP_METADATA_OFFSET’ was not used to initialize‘signature_offset’ and ‘key_offset’ part of structrte_table_hash_lru_params.Instead integer offset values were directly used.with this fix 'hash-8-lru', 'hash-16-lru', 'hash-32-lru' table types areable to forward traffic as expected.Fixes: 48f31ca50cc4 ("app/pipeline: packet framework benchmark")Signed-off-by: Sankar Chokkalingam <[email protected]>Signed-off-by: Guruprasad Rao <[email protected]>Acked-by: Cristian Dumitrescu <[email protected]>
remove unused ring includesThis patch removes all unused <rte_ring.h> headers.Signed-off-by: Amine Kherbouche <[email protected]>
ethdev: use constants for link stateDefine and use ETH_LINK_UP and ETH_LINK_DOWN where appropriate.Signed-off-by: Marc Sune <[email protected]>Signed-off-by: Thomas Monjalon <thomas.monjalon@6
ethdev: use constants for link stateDefine and use ETH_LINK_UP and ETH_LINK_DOWN where appropriate.Signed-off-by: Marc Sune <[email protected]>Signed-off-by: Thomas Monjalon <[email protected]>
lpm: fix pipeline appsUpdated ip_pipeline app is using new changes from LPM library(Increased number of next hops and added new config structurefor LPM IPv4).Fixes: f1f7261838b3 ("lpm: add a ne
lpm: fix pipeline appsUpdated ip_pipeline app is using new changes from LPM library(Increased number of next hops and added new config structurefor LPM IPv4).Fixes: f1f7261838b3 ("lpm: add a new config structure for IPv4")Signed-off-by: Michal Kobylinski <[email protected]>Acked-by: Cristian Dumitrescu <[email protected]>
pipeline: support packet redirection at action handlersCurrently, there is no mechanism that allows the pipeline ports (in/out)and table action handlers to override the default forwarding decision
pipeline: support packet redirection at action handlersCurrently, there is no mechanism that allows the pipeline ports (in/out)and table action handlers to override the default forwarding decision(as previously configured per input port or in the table entry). The port(in/out) and table action handler prototypes have been changed to allowpipeline action handlers (port in/out, table) to remove the selectedpackets from the further pipeline processing and to take full ownershipfor these packets. This feature will be helpful to implement functionssuch as exception handling (e.g. TTL =0), load balancing etc.Signed-off-by: Jasvinder Singh <[email protected]>Acked-by: Cristian Dumitrescu <[email protected]>
table: add key mask to 8 and 16-byte hash parametersThis patch relates to ABI change proposed for librte_table.The key_mask parameter is added for 8-byte and 16-bytekey extendible bucket and LRU
table: add key mask to 8 and 16-byte hash parametersThis patch relates to ABI change proposed for librte_table.The key_mask parameter is added for 8-byte and 16-bytekey extendible bucket and LRU tables.The release notesis updated and the deprecation notice is removed.Signed-off-by: Fan Zhang <[email protected]>Signed-off-by: Jasvinder Singh <[email protected]>Acked-by: Cristian Dumitrescu <[email protected]>
12