From: Piotr Azarewicz
Previous implementation won't work on every environment. The order of
allocation of bit-fields within a unit (high-order to low-order or
low-order to high-order) is implementation-defined.
Solution: used bytes instead of bit fields.
Signed-off-by: Piotr Azarewicz
---
Hi
The script dpdk-setup.sh was froze wit full cpu usage when EOF input.
For example:
dpdk-setup.sh <<< '11'
or
dpdk-setup.sh <
30/03/2020 16:18, Piotr Sieduszewski:
From: Piotr Sieduszewski
Signed-off-by: Piotr Sieduszewski
Please add some explanation
This patch removes coverity defect CID 374380:
Null pointer dereferences (REVERSE_INULL)
Coverity issue: CID 374380
Fixes: 918fd2f1466b ("crypto/ipsec_mb: move aesni_mb PMD")
Cc: roy.fan.zh...@intel.com
Signed-off-by: Piotr Bronowski
---
drivers/crypto/ipsec_mb/ipsec_mb_private.h |
__vector is necessary.
4. In i40e_rxtx_vec_altivec.c, some type changes from vector unsigned long to
vector unsigned int is necessary since clang doesn't support vector unsigned
long very well and deprecated it.
Signed-off-by: Piotr Kubaj
---
app/test-bbdev/test_bbdev_perf.c
The vector -> dpdk_vector renaming was done because there's a namespace
pollution.
vector is a keyword on ppc64le and that causes an error for clang.
On 21-10-14 19:35:37, Piotr Kubaj wrote:
> Couple of quite common issues:
> 1. In rte_cycles.h, sys/platform/ppc.h and __ppc_get_
, August 3, 2021 1:29 AM
> > To: Juraj Linkeš ; tho...@monjalon.net;
> > david.march...@redhat.com; bruce.richard...@intel.com;
> > honnappa.nagaraha...@arm.com; ruifeng.w...@arm.com;
> > ferruh.yi...@intel.com; jerinjac...@gmail.com; jer...@marvell.com;
> > step...
On 21-08-31 07:54:16, Juraj Linkeš wrote:
>
>
> > -Original Message-
> > From: Piotr Kubaj
> > Sent: Tuesday, August 31, 2021 2:55 AM
> > To: Juraj Linkeš
> > Cc: David Christensen ; tho...@monjalon.net;
> > david.march...@redhat.com; bruce.r
, sys/platform/ppc.h is glibc-dependant and is not
available in other libc's. Use the portable method of reading TBR when
glibc is not used. Taken from
https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/powerpc/sys/platform/ppc.h
Signed-off-by: Piotr Kubaj
---
app/test-
and should not be used in code.
> Renaming it to avoid conflict.
>
> Reported-by: Piotr Kubaj
> Signed-off-by: Ajit Khaparde
> ---
> drivers/net/bnxt/bnxt_irq.c | 2 +-
> drivers/net/bnxt/bnxt_irq.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> d
> On 3/11/21 8:11 AM, Piotr Kubaj wrote:
> > There are couple of issues when building with Clang:
> > 1. vector is a keyword and should not be used in code. I undefined it,
> > but it would probably be better to just change the variable name.
> > 2. vector long is deprecate
Looks like I forgot to commit the change that includes headers for
sysctlbyname().
Patch attached.
On 21-03-15 12:48:19, David Christensen wrote:
>
>
> On 3/11/21 8:11 AM, Piotr Kubaj wrote:
> > There are couple of issues when building with Clang:
> > 1. vector is a keyw
This patch removes coverity defect CID 375828:
Untrusted value as argument (TAINTED_SCALAR)
Coverity issue: CID 375828
Fixes: 918fd2f1466b ("crypto/ipsec_mb: move aesni_mb PMD")
Signed-off-by: Piotr Bronowski
---
drivers/crypto/ipsec_mb/pmd_aesni_gcm.c | 3 +++
1 file changed, 3
This patch removes coverity defect CID 375828:
Untrusted value as argument (TAINTED_SCALAR)
Coverity issue: CID 375828
Fixes: 918fd2f1466b ("crypto/ipsec_mb: move aesni_mb PMD")
Signed-off-by: Piotr Bronowski
Cc: sta...@dpdk.org
---
v2: use a different logic to check dig
This patch removes coverity defect CID 375828:
Untrusted value as argument (TAINTED_SCALAR)
Coverity issue: CID 375828
Fixes: 918fd2f1466b ("crypto/ipsec_mb: move aesni_mb PMD")
Signed-off-by: Piotr Bronowski
Cc: sta...@dpdk.org
---
v3: use a different logic to check dig
This patch removes coverity defect CID 375828:
Untrusted value as argument (TAINTED_SCALAR)
Coverity issue: CID 375828
Fixes: ceb863938708 ("crypto/aesni_gcm: support all truncated digest sizes")
Signed-off-by: Piotr Bronowski
Cc: sta...@dpdk.org
---
v4: commit message corrected
--
__ppc_get_timebase() is only present when glibc is used.
Signed-off-by: Piotr Kubaj
---
lib/eal/ppc/include/rte_altivec.h | 3 +++
lib/eal/ppc/include/rte_cycles.h | 12
lib/eal/ppc/rte_cycles.c | 16
3 files changed, 31 insertions(+)
diff --git a/lib
Well, isn't FreeBSD already supported?
Even https://www.dpdk.org/ mentions supporting FreeBSD.
On 21-05-19 09:53:16, Thomas Monjalon wrote:
> 18/05/2021 22:42, David Christensen:
> > On 5/16/21 5:46 PM, Piotr Kubaj wrote:
> > > __ppc_get_timebase() is only pre
On 21-05-19 11:59:35, Thomas Monjalon wrote:
> 19/05/2021 11:57, Piotr Kubaj:
> > Well, isn't FreeBSD already supported?
> >
> > Even https://www.dpdk.org/ mentions supporting FreeBSD.
>
> Yes it is supposed to be supported.
> But why are you adding all this co
EVP_CIPHER_CTX_set_padding() function always returns 1, so the check is
unneeded.
Fixes: d61f70b4c918 ("crypto/libcrypto: add driver for OpenSSL library")
Signed-off-by: Piotr Azarewicz
---
drivers/crypto/openssl/rte_openssl_pmd.c |3 +--
1 file changed, 1 insertion(+), 2
.
* Session-less mode.
* Out-of place processing
* Scatter-gatter support for chained mbufs (only out-of place and
destination mbuf must be contiguous)
Verified current unit tests and added new unit tests to verify new
functionalities.
Signed-off-by: Piotr Azarewicz
---
To be applied on top of
.
* Session-less mode.
* Out-of place processing
* Scatter-gatter support for chained mbufs (only out-of place and
destination mbuf must be contiguous)
Verified current unit tests and added new unit tests to verify new
functionalities.
Signed-off-by: Piotr Azarewicz
Acked-by: Declan Doherty
v6
.
* Session-less mode.
* Out-of place processing
* Scatter-gatter support for chained mbufs (only out-of place and
destination mbuf must be contiguous)
Signed-off-by: Piotr Azarewicz
Acked-by: Declan Doherty
---
v6 changes:
- rebase on top of dpdk-next-crypto
v5 changes:
- rebase on top of dpdk
Added new unit tests for AES-NI GCM PMD to verify new functionalities.
Signed-off-by: Piotr Azarewicz
Acked-by: Declan Doherty
---
v5 changes:
- rebase on top of dpdk-next-crypto
- fix typo
v4 changes:
- rebase on top of dpdk-next-crypto
v3 changes:
- rebase on top of dpdk-next-crypto
v2
;)
Signed-off-by: Piotr Azarewicz
---
drivers/crypto/openssl/rte_openssl_pmd.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/crypto/openssl/rte_openssl_pmd.c
b/drivers/crypto/openssl/rte_openssl_pmd.c
index 5f8fa33..832ea1d 100644
--- a/drivers/crypto/openssl/rte_openssl_p
.
* Session-less mode.
* Out-of place processing
* Scatter-gatter support for chained mbufs (only out-of place and
destination mbuf must be contiguous)
Verified current unit tests and added new unit tests to verify new
functionalities.
Signed-off-by: Piotr Azarewicz
---
To be applied on top of
0
2048 0.47 7.77 0 0
Signed-off-by: Piotr Azarewicz
---
To be applied on top of:
[dpdk-dev] [PATCH v3 0/5] Chained Mbufs support in SW PMDs
v4 changes:
- rebase on top of dpdk-next-crypto
- update the script test-build.sh
v3
The cmds and thread_cmds both are the arrays of cmdline_parse_ctx_t.
So the goal is to copy elements size of cmdline_parse_ctx_t not
cmdline_parse_ctx_t*.
Coverity issue: 120412
Fixes: b4aee0fb9c6d ("examples/ip_pipeline: reconfigure thread binding
dynamically")
Signed-off-by: Piotr
$(RTE_SDK)/scripts $(DESTDIR)$(sdkdir)
--
Regards
Piotr Bartosiewicz
("examples/ip_pipeline: add master pipeline")
Fixes: eb32fe7c5574 ("examples/ip_pipeline: rework initialization parameters")
Signed-off-by: Piotr Azarewicz
---
v2 changes:
- add the same fix in two other places
examples/ip_pipeline/init.c|2 +-
W dniu 08.12.2015 o 20:07, Martinx - ? pisze:
> On 8 December 2015 at 17:03, Thomas Monjalon
> mailto:thomas.monjalon at 6wind.com>> wrote:
>
> 2015-12-08 18:01, Piotr Bartosiewicz:
> >
> > > cp: cannot stat
> > >
> ?/home/t
A new 'make install' wrongly assumes that the output module name is
always 'uname -r' even if RTE_KERNELDIR is passed.
# make install T=... DESTDIR=/tmp/dpdk
RTE_KERNELDIR=/lib/modules/3.16.0-4-amd64/build
...
# ls /tmp/dpdk/lib/modules/
4.2.0-18-generic
--
Regards
Piotr Bartosiewicz
W dniu 17.12.2015 o 00:26, Thomas Monjalon pisze:
> 2015-12-16 15:14, Piotr Bartosiewicz:
>> A new 'make install' wrongly assumes that the output module name is
>> always 'uname -r' even if RTE_KERNELDIR is passed.
> No it does not assume anything, it is ju
rovided
Select 'LPM' or 'EM' based on run time selection f.e.
> l3fwd -c 0x1 -n 1 -- -p 0x1 -E ... (EM)
> l3fwd -c 0x1 -n 1 -- -p 0x1 -L ... (LPM)
Options "E" and "L" are mutualy-exclusive.
If none selec
The example is calling rte_eal_wait_lcore without checking return value.
Now it is fixed by checking the value and print proper message.
Coverity issue: 37789
Coverity issue: 37790
Fixes: cc7e8ae84faa ("examples/bond: add example application for link bonding
mode 6")
Signed-off
- fix leaking memory
- cleaning up
Signed-off-by: Maciej Gajdzica
Signed-off-by: Piotr Azarewicz
Acked-by: Cristian Dumitrescu
---
examples/ip_pipeline/Makefile |1 +
examples/ip_pipeline/app.h | 12 +
examples/ip_pipeline/config_pa
: Cristian Dumitrescu
Piotr Azarewicz (3):
port: add mp/mc ring ports
port: fix ras ring ports
examples/ip_pipeline: add mp/mc and frag/ras swq
examples/ip_pipeline/app.h | 14 ++
examples/ip_pipeline/config_check.c | 45 -
examples/ip_pipeline/config_parse
ring_multi_reader input port (on top of multi consumer rte_ring)
ring_multi_writer output port (on top of multi producer rte_ring)
Signed-off-by: Piotr Azarewicz
---
lib/librte_port/rte_port_ring.c | 311 +++---
lib/librte_port/rte_port_ring.h | 35
reassembly port")
Signed-off-by: Piotr Azarewicz
---
lib/librte_port/rte_port_ras.c |8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/lib/librte_port/rte_port_ras.c b/lib/librte_port/rte_port_ras.c
index 6bd0f8c..e45d450 100644
--- a/lib/librte_port/rte_port_
Add integrated MP/MC and fragmentation/reassembly support to SWQs
Signed-off-by: Piotr Azarewicz
---
examples/ip_pipeline/app.h | 14 +++
examples/ip_pipeline/config_check.c | 45 +++-
examples/ip_pipeline/config_parse.c | 195 +--
examples
fix usage RTE_MBUF_METADATA_* macros
Acked-by: Cristian Dumitrescu
Piotr Azarewicz (3):
port: add mp/mc ring ports
port: fix ras/frag ring ports
examples/ip_pipeline: add mp/mc and frag/ras swq
examples/ip_pipeline/app.h | 14 ++
examples/ip_pipeline/config_check.c | 45 -
ring_multi_reader input port (on top of multi consumer rte_ring)
ring_multi_writer output port (on top of multi producer rte_ring)
Signed-off-by: Piotr Azarewicz
---
lib/librte_port/rte_port_ring.c | 311 +++---
lib/librte_port/rte_port_ring.h | 35
ue to redefinition the macros.
Fixes: 50f54a84dfb7 ("port: add IPv6 reassembly port")
Fixes: ba92d511ddac ("port: move metadata offset reference at mbuf head")
Signed-off-by: Piotr Azarewicz
---
lib/librte_port/rte_port_frag.c |5 +++--
lib/librte_port/rte_port_ras.c |8
Add integrated MP/MC and fragmentation/reassembly support to SWQs
Signed-off-by: Piotr Azarewicz
---
examples/ip_pipeline/app.h | 14 +++
examples/ip_pipeline/config_check.c | 45 +++-
examples/ip_pipeline/config_parse.c | 195 +--
examples
- fix leaking memory
- cleaning up
v4 changes:
- fix compilation with gcc 5.1
- add proper checking if thread exist
Signed-off-by: Maciej Gajdzica
Signed-off-by: Piotr Azarewicz
Acked-by: Cristian Dumitrescu
---
examples/ip_pipeline/Makefile |1 +
examples/ip_pip
- fix leaking memory
- cleaning up
v4 changes:
- fix compilation with gcc 5.1
- add proper checking if thread exist
v5 changes:
- better approach about v4 changes
Signed-off-by: Maciej Gajdzica
Signed-off-by: Piotr Azarewicz
Acked-by: Cristian Dumitrescu
---
examples/ip_pipeline/Mak
ction (due to remove the union above)
Signed-off-by: Piotr Azarewicz
---
lib/librte_ip_frag/rte_ip_frag.h| 13 ++---
lib/librte_ip_frag/rte_ipv6_fragmentation.c |6 ++
lib/librte_port/rte_port_ras.c | 10 +++---
3 files changed, 11 insertions(+
ction (due to remove the union above)
v3 changes:
- add macros to read/set fragment_offset and more_flags values
Signed-off-by: Piotr Azarewicz
---
lib/librte_ip_frag/rte_ip_frag.h| 27 ---
lib/librte_ip_frag/rte_ipv6_fragmentation.c | 12 ++--
ction (due to remove the union above)
v3 changes:
- add macros to read/set fragment_offset and more_flags values
v4 changes:
- two additional fixes due to remove the union and due to changes in
macros
Signed-off-by: Piotr Azarewicz
---
lib/librte_ip_frag/rte_ip_frag.h|
This patch set enhancement ip_pipeline application:
- librte_port: add support for multi-producer/multi-consumer ring ports
- librte_port: bug fixes for ring ports with IPv4/IPv6 reassembly support
- ip_pipeline application: integrate MP/MC and fragmentation/reassembly support
to SWQs
Piotr
ring_multi_reader input port (on top of multi consumer rte_ring)
ring_multi_writer output port (on top of multi producer rte_ring)
Signed-off-by: Piotr Azarewicz
---
lib/librte_port/rte_port_ring.c | 399 ++-
lib/librte_port/rte_port_ring.h | 34 +++-
2
Add integrated MP/MC and fragmentation/reassembly support to SWQs
Signed-off-by: Piotr Azarewicz
---
examples/ip_pipeline/app.h | 14 +++
examples/ip_pipeline/config_check.c | 45 +++-
examples/ip_pipeline/config_parse.c | 195 +--
examples
Bug fixes for ring ports with IPv4/IPv6 reassembly support.
Previous implementation can't work properly due to incorrect choosing
process function.
Also, assuming that, when processing ip packet, ip header is know we can
set l3_len parameter here.
Signed-off-by: Piotr Azarewicz
---
of code)
- for bulk commands: simplified error checking
- added additional config files
Acked-by: Cristian Dumitrescu
Daniel Mrzyglod (1):
examples/ip_pipeline: modifies firewall pipeline CLI
Piotr Azarewicz (4):
examples/ip_pipeline: add helper functions for parsing string
examples
Add a couple of additional functions that will allow to parse many types
of input parameters, i.e.: bool, 16, 32, 64 bits, hex, etc.
Signed-off-by: Piotr Azarewicz
Acked-by: Cristian Dumitrescu
---
examples/ip_pipeline/Makefile |1 +
examples/ip_pipeline/config_parse.c | 257
From: Tomasz Kulasek
All link commands are merged into one command:
cmd_link_parsed.
Improve run command to allow run periodically.
Adding static keyword to a lot of token declarations.
Signed-off-by: Tomasz Kulasek
Signed-off-by: Michal Kobylinski
Acked-by: Cristian Dumitrescu
---
examples/
From: Daniel Mrzyglod
Each command are merged into one: cmd_firewall_parsed.
ADD command format is changed:
p firewall add priority ipv4
port
and bulk command was modified:
1. firewall add bulk
File line format:
priority ipv4
port
(protomask is a hex value)
File line exa
From: Tomasz Kulasek
This patch modifies flow classifications pipeline command line
interface. All commands are merged into one cmd_fc_parsed.
Additionally a classification for ipv6, ipv4 and qinq can be added from
configuration file.
1. flow add qinq bulk
File line format:
qinq port id
File
All commands merged into one: cmd_action_parsed.
modified bulk command:
action flow bulk
File line format:
flow
meter 0 meter 1 meter 2
meter 3
policer 0policer 1
policer 2policer 3
port
Signed-off-by: Marcin Kerlin
Signed-off-by: Piotr Azarewicz
Acked-by
Several routing commands are merged into two commands:
route and arp - these two commands are handled by cli library.
Rest of the commands are handled internaly by the pipeline code.
Signed-off-by: Piotr Azarewicz
Acked-by: Cristian Dumitrescu
---
examples/ip_pipeline/config/l2fwd.cfg
Update edge router usecase config files to use bulk commands.
Signed-off-by: Piotr Azarewicz
Acked-by: Cristian Dumitrescu
---
.../ip_pipeline/config/edge_router_downstream.cfg | 30 +++-
.../ip_pipeline/config/edge_router_downstream.sh |7 ++--
.../ip_pipeline/config
:
- rte_port_ring:
- fixed checkpatch errors
- interlace the implementation of multi into the implementation of
single
- reduced the amount of code duplication
Piotr Azarewicz (3):
port: add mp/mc ring ports
port: fix ras ring ports
examples/ip_pipeline: add mp/mc and
ring_multi_reader input port (on top of multi consumer rte_ring)
ring_multi_writer output port (on top of multi producer rte_ring)
Signed-off-by: Piotr Azarewicz
---
lib/librte_port/rte_port_ring.c | 311 +++
lib/librte_port/rte_port_ring.h | 35 -
2
Bug fixes for ring ports with IPv4/IPv6 reassembly support.
Previous implementation can't work properly due to incorrect choosing
process function.
Also, assuming that, when processing ip packet, ip header is know we can
set l3_len parameter here.
Signed-off-by: Piotr Azarewicz
---
Add integrated MP/MC and fragmentation/reassembly support to SWQs
Signed-off-by: Piotr Azarewicz
---
examples/ip_pipeline/app.h | 14 +++
examples/ip_pipeline/config_check.c | 45 +++-
examples/ip_pipeline/config_parse.c | 195 +--
examples
While parsing token string there may be several modes:
- fixed single string
- multi-choice single string
- any single string
This patch add one more mode - any multi string.
Signed-off-by: Piotr Azarewicz
---
app/test/test_cmdline_string.c|9 ---
lib/librte_cmdline
While parsing token string there may be several modes:
- fixed single string
- multi-choice single string
- any single string
This patch add one more mode - any multi string.
Signed-off-by: Piotr Azarewicz
---
v2 changes:
- add cmdline_multi_string_t type for the new mode
app/test
rong operator used (CONSTANT_EXPRESSION_RESULT)
operator_confusion: rxdctl | 33554432 is always 1/true regardless of the
values of its operand. This occurs as the logical second operand of
'&&'.
Coverity issue: 13215
Coverity issue: 13216
Fixes: 029fd06d40fa ("ixgbe: queue start a
While parsing token string there may be several modes:
- fixed single string
- multi-choice single string
- any single string
This patch add one more mode - any multi string.
Signed-off-by: Piotr Azarewicz
Acked-by: Olivier Matz
---
v3 changes:
- add a comment above the definiton of
ACK
-Original Message-
From: Ye, Xiaolong
Sent: Monday, December 16, 2019 3:43 AM
To: Xing, Beilei ; Zhang, Qi Z
Cc: dev@dpdk.org; Stillwell Jr, Paul M ; Ye,
Xiaolong ; Kwapulinski, Piotr
Subject: [PATCH v3 24/36] net/i40e/base: make i40e_set_mac_type() public
Make
ACK
-Original Message-
From: Ye, Xiaolong
Sent: Monday, December 16, 2019 3:44 AM
To: Xing, Beilei ; Zhang, Qi Z
Cc: dev@dpdk.org; Stillwell Jr, Paul M ; Ye,
Xiaolong ; Kwapulinski, Piotr
Subject: [PATCH v3 33/36] net/i40e/base: introduce firmware EMP reset register
offsets
ACK
-Original Message-
From: Ye, Xiaolong
Sent: Monday, January 13, 2020 3:40 AM
To: Xing, Beilei ; Zhang, Qi Z
Cc: dev@dpdk.org; Ye, Xiaolong ; Kwapulinski, Piotr
Subject: [PATCH v4 33/36] net/i40e/base: introduce firmware EMP reset register
offsets
Introduce offsets of firmware
ACK
-Original Message-
From: Ye, Xiaolong
Sent: Monday, January 13, 2020 3:40 AM
To: Xing, Beilei ; Zhang, Qi Z
Cc: dev@dpdk.org; Ye, Xiaolong ; Kwapulinski, Piotr
Subject: [PATCH v4 24/36] net/i40e/base: make i40e_set_mac_type() public
Make i40e_set_mac_type() public. i40e driver
;
Done
Above works only witch additional empty line:
for NIC in ${RTE_NIC-:3d:00.1} ; do
$RTE_SDK/usertools/dpdk-setup.sh <<< "51
${NIC}
62
"
Done
.. or other deadlock:
usertools/dpdk-setup.sh <<< '41
62
'
user
From: Piotr Sieduszewski
Signed-off-by: Piotr Sieduszewski
---
usertools/dpdk-setup.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usertools/dpdk-setup.sh b/usertools/dpdk-setup.sh
index e5bbe9fee..c9660f950 100755
--- a/usertools/dpdk-setup.sh
+++ b/usertools/dpdk
ACK
-Original Message-
From: Min, JiaqiX
Sent: Wednesday, April 8, 2020 12:05 PM
To: dev@dpdk.org
Cc: Min, JiaqiX ; Kwapulinski, Piotr
Subject: [PATCH v2 3/4] net/i40e/base: add constants for PTP pins
Introduce constants for handling PTP pins used for external clock source.
Signed
ACK
-Original Message-
From: Min, JiaqiX
Sent: Wednesday, March 25, 2020 4:24 AM
To: dev@dpdk.org
Cc: Min, JiaqiX ; Kwapulinski, Piotr
Subject: [PATCH 3/3] net/i40e/base: add constants for PTP pins
Introduce constants for handling PTP pins used for external clock source.
Signed-off
how to use this driver, go to:
doc/guides/cryptodevs/libcrypto.rst
Slawomir Mrozowicz (2):
libcrypto_pmd: initial implementation of SW crypto device
lib/cryptodev: added support to libcrypto PMD
Piotr Azarewicz (1)
app/test: added tests for libcrypto PMD
Daniel Mrzyglod (1)
examples/l2fwd
From: Marcin Kerlin
This code provides the initial implementation of the libcrypto
poll mode driver. All cryptography operations are using Openssl
library crypto API. Each algorithm uses EVP_ interface from
openssl API - which is recommended by Openssl maintainers.
LibCrypto PMD has support for:
From: Marcin Kerlin
This patch adds libcrypto poll mode driver support to
librte_cryptodev library.
Signed-off-by: Slawomir Mrozowicz
---
lib/librte_cryptodev/rte_cryptodev.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/librte_cryptodev/rte_cryptodev.h
b/lib/librte_cryptodev/rte
From: Marcin Kerlin
This patch containes unit tests for libcrypto PMD. User can
use app/test application to check how to use this pmd and to
verify crypto processing.
Test name is cryptodev_libcrypto_autotest.
For performance test cryptodev_libcrypto_perftest can be used.
Signed-off-by: Piotr
From: Marcin Kerlin
To verify real traffic l2fwd-crypto example can be used with this command:
sudo ./build/l2fwd-crypto -c 0x3 -n 4 --vdev "cryptodev_libcrypto_pmd"
--vdev "cryptodev_libcrypto_pmd"
-- -p 0x3 --chain CIPHER_HASH --cipher_op ENCRYPT --cipher_algo AES_CBC
--cipher_key 00:01:02:03:0
wd -c 0x1 -n 1 -- -p 0x1 -E ... (EM)
> l3fwd -c 0x1 -n 1 -- -p 0x1 -L ... (LPM)
Options "E" and "L" are mutualy-exclusive.
If none selected, "L" is default.
Signed-off-by: Ravi Kerur
Signed-off-by: Piotr Azarewicz
Tested-by: Tomasz Kulasek
rovided
Select 'LPM' or 'EM' based on run time selection f.e.
> l3fwd -c 0x1 -n 1 -- -p 0x1 -E ... (EM)
> l3fwd -c 0x1 -n 1 -- -p 0x1 -L ... (LPM)
Options "E" and "L" are mutualy-exclusive.
If none selec
esult (CONSTANT_EXPRESSION_RESULT)
result_independent_of_operands: ol_flags & (18014398509481984ULL /* 1ULL
<< 54 */) is always 0 regardless of the values of its operands. This
occurs as the logical operand of if.
Coverity issue: 13218
Fixes: fefed3d1e62c ("enic: new driver")
Signed-off-by: Piotr Az
error checking
- added additional config files
Acked-by: Cristian Dumitrescu
Piotr Azarewicz (7):
examples/ip_pipeline: add helper functions for parsing string
examples/ip_pipeline: modifies common pipeline CLI
examples/ip_pipeline: modifies firewall pipeline CLI
examples/ip_pipeline
Add a couple of additional functions that will allow to parse many types
of input parameters, i.e.: bool, 16, 32, 64 bits, hex, etc.
Signed-off-by: Piotr Azarewicz
Acked-by: Cristian Dumitrescu
---
examples/ip_pipeline/Makefile |1 +
examples/ip_pipeline/config_parse.c | 257
All link commands are merged into one command:
cmd_link_parsed.
Improve run command to allow run periodically.
Adding static keyword to a lot of token declarations.
Signed-off-by: Tomasz Kulasek
Signed-off-by: Michal Kobylinski
Acked-by: Cristian Dumitrescu
---
examples/ip_pipeline/pipeline/pi
Each command are merged into one: cmd_firewall_parsed.
ADD command format is changed:
p firewall add priority ipv4
port
and bulk command was modified:
1. firewall add bulk
File line format:
priority ipv4
port
(protomask is a hex value)
File line example:
priority 0 ipv4 1.
All commands merged into one: cmd_action_parsed.
modified bulk command:
action flow bulk
File line format:
flow
meter 0 meter 1 meter 2
meter 3
policer 0policer 1
policer 2policer 3
port
Signed-off-by: Marcin Kerlin
Signed-off-by: Piotr Azarewicz
Acked-by
This patch modifies flow classifications pipeline command line
interface. All commands are merged into one cmd_fc_parsed.
Additionally a classification for ipv6, ipv4 and qinq can be added from
configuration file.
1. flow add qinq bulk
File line format:
qinq port id
File line example:
qinq 1 2
Several routing commands are merged into two commands:
route and arp - these two commands are handled by cli library.
Rest of the commands are handled internaly by the pipeline code.
Signed-off-by: Piotr Azarewicz
Acked-by: Cristian Dumitrescu
---
examples/ip_pipeline/config/l2fwd.cfg
Update edge router usecase config files to use bulk commands.
Signed-off-by: Piotr Azarewicz
Acked-by: Cristian Dumitrescu
---
.../ip_pipeline/config/edge_router_downstream.cfg | 30 +++-
.../ip_pipeline/config/edge_router_downstream.sh |7 ++--
.../ip_pipeline/config
, sizeof (int) is extraneous and should be replaced with 1.
Coverity issue: 30709
Fixes: 1d6c3ee3321a ("examples/quota_watermark: initial import")
Signed-off-by: Piotr Azarewicz
---
examples/quota_watermark/qw/init.c |2 +-
examples/quota_watermark/qwctl/qwctl.c |2 +
Coverity issue: 120136
Signed-off-by: Piotr Azarewicz
---
examples/l2fwd-crypto/main.c | 18 +-
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c
index d18c813..e1f0a1e 100644
--- a/examples/l2fwd-crypto/main.c
/test: added tests for libcrypto PMD")
Signed-off-by: Piotr Azarewicz
---
app/test/test_cryptodev.c | 28 +---
1 file changed, 25 insertions(+), 3 deletions(-)
diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index 2917454..914bb0b 100644
---
/test: add libcrypto")
Signed-off-by: Piotr Azarewicz
---
v2 change:
- changed check if aad.len > MBUF_SIZE
- added assertion check for rte_pktmbuf_alloc
app/test/test_cryptodev.c | 32 +---
1 file changed, 29 insertions(+), 3 deletions(-)
diff --g
ured packet is not decrypted, what is wrong.
Fixes: 387259bd6c67 ("examples/l2fwd-crypto: add sample application")
Signed-off-by: Piotr Azarewicz
---
examples/l2fwd-crypto/main.c | 23 ---
1 file changed, 8 insertions(+), 15 deletions(-)
diff --git a/examples/l2f
to other event ports.
Signed-off-by: Piotr Krzewinski
---
v2:
* Fixed unittest and doxygen issues
---
app/test/test_service_cores.c | 54 +++
lib/eal/common/rte_service.c | 52 -
lib/eal/include/rte_service.h | 34
to other event ports.
Signed-off-by: Piotr Krzewinski
---
app/test/test_service_cores.c | 54 +++
lib/eal/common/rte_service.c | 48 ++-
lib/eal/include/rte_service.h | 33 +
lib/eal/version.map | 4 +++
4
Perf test service_perf_autotest was failing after introduction
of lcore variables. Fixed getting of idle_ and error_ service
call statistics.
Fixes: b24bbaedbba2 ("service: keep per-lcore state in lcore variable")
Cc: mattias.ronnb...@ericsson.com
Cc: sta...@dpdk.org
Signed-off
1 - 100 of 101 matches
Mail list logo