[dpdk-dev] [PATCH] eal: fix crash on mmap error in rte_eal_hugepage_attach()

2016-09-28 Thread maciej.cze...@caviumnetworks.com
From: Maciej Czekaj In ASLR-enabled system, it is possible that selected virtual space is occupied by program segments. Therefore, error path should not blindly unmap all memmory segments but only those already mapped. Steps that lead to crash: 1. memeseg 0 in secondary process overlaps with

[dpdk-dev] [PATCH] l3fwd: Fix compilation & enable exact match mode on ARM

2016-03-10 Thread maciej.cze...@caviumnetworks.com
From: Maciej Czekaj This patch depends on following pending patches: lpm: add support for NEON http://dpdk.org/dev/patchwork/patch/10479/ lpm: make rte_lpm_lookupx4 API definition architecture agnostic http://dpdk.org/dev/patchwork/patch/10478/ Maciej Czekaj (1): l3fwd: Fix compilation & enabl

[dpdk-dev] [PATCH] l3fwd: Fix compilation & enable exact match mode on ARM.

2016-03-10 Thread maciej.cze...@caviumnetworks.com
From: Maciej Czekaj Enable NEON support in exact match mode. l3fwd example did not compile on ARM due to SSE2 instrincics used in generic part. Some instrinsins were used to initialize data structures and those were replaced by ordinary structure initalization. All SSE2 intrinsics used in forward

[dpdk-dev] [PATCH] l3fwd: Fix compilation & enable exact match mode on ARM

2016-03-10 Thread maciej.cze...@caviumnetworks.com
From: Maciej Czekaj This patch depends on following pending patches: lpm: add support for NEON http://dpdk.org/dev/patchwork/patch/10479/ lpm: make rte_lpm_lookupx4 API definition architecture agnostic http://dpdk.org/dev/patchwork/patch/10478/ Maciej Czekaj (1): l3fwd: Fix compilation & enabl

[dpdk-dev] [PATCH] l3fwd: Fix compilation & enable exact match mode on ARM.

2016-03-10 Thread maciej.cze...@caviumnetworks.com
From: Maciej Czekaj Enable NEON support in exact match mode. l3fwd example did not compile on ARM due to SSE2 instrincics used in generic part. Some instrinsins were used to initialize data structures and those were replaced by ordinary structure initalization. All SSE2 intrinsics used in forward

[dpdk-dev] [PATCH v2] l3fwd: Fix compilation & enable exact match mode on ARM.

2016-03-15 Thread maciej.cze...@caviumnetworks.com
From: Maciej Czekaj v2: * Fixed compilation issue with HASH_MULTI_LOOKUP Maciej Czekaj (1): l3fwd: Fix compilation & enable exact match mode on ARM. examples/l3fwd/l3fwd.h| 4 ++- examples/l3fwd/l3fwd_em.c | 72 --- examples/l3fwd/l3f

[dpdk-dev] [PATCH v2] l3fwd: Fix compilation & enable exact match mode on ARM.

2016-03-15 Thread maciej.cze...@caviumnetworks.com
From: Maciej Czekaj Enable NEON support in exact match mode. l3fwd example did not compile on ARM due to SSE2 instrincics used in generic part. Some instrinsins were used to initialize data structures and those were replaced by ordinary structure initalization. All SSE2 intrinsics used in forward

[dpdk-dev] [PATCH 0/3] testpmd: extend commands for better scatter-gather tests

2016-04-22 Thread maciej.cze...@caviumnetworks.com
From: Maciej Czekaj This patch adds 1 parameter and 2 command line items: * --enable-scatter * port config all scatter on|off * port config all txqflags value With these, testpmd can be used for testing scatter-gather in both TX and RX. Maciej Czekaj (3): app/testpmd: add "enable-scatter"

[dpdk-dev] [PATCH 1/3] app/testpmd: add "enable-scatter" parameter

2016-04-22 Thread maciej.cze...@caviumnetworks.com
From: Maciej Czekaj This parameter allows for controlling rxmode.enable_scatter which in turn allow for multi-segment packet receive tests. Signed-off-by: Maciej Czekaj --- app/test-pmd/parameters.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-pmd/parameters.

[dpdk-dev] [PATCH 2/3] app/testpmd: extend port config with scatter parameter

2016-04-22 Thread maciej.cze...@caviumnetworks.com
From: Maciej Czekaj "port config all scatter on|off" allows for controlling rxmode.enable_scatter in command line. Signed-off-by: Maciej Czekaj --- app/test-pmd/cmdline.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/app/test-pmd/cmdline

[dpdk-dev] [PATCH 3/3] app/testpmd: support setting up txq_flags value in command line

2016-04-22 Thread maciej.cze...@caviumnetworks.com
From: Maciej Czekaj "port config all txqflags " allows for specifying txq_flags value in command line. Signed-off-by: Maciej Czekaj --- app/test-pmd/cmdline.c | 64 ++ 1 file changed, 64 insertions(+) diff --git a/app/test-pmd/cm

[dpdk-dev] [PATCH v2 0/3] testpmd: extend commands for better scatter-gather tests

2016-04-22 Thread maciej.cze...@caviumnetworks.com
From: Maciej Czekaj v2: - included documentation changes - added value check for "port config all txqflags" as in --tqxflags paramater Maciej Czekaj (3): app/testpmd: add "enable-scatter" parameter app/testpmd: extend port config with scatter parameter app/testpmd: support setting up txq

[dpdk-dev] [PATCH v2 1/3] app/testpmd: add "enable-scatter" parameter

2016-04-22 Thread maciej.cze...@caviumnetworks.com
From: Maciej Czekaj This parameter allows for controlling rxmode.enable_scatter which in turn allow for multi-segment packet receive tests. Signed-off-by: Maciej Czekaj --- app/test-pmd/parameters.c | 3 +++ doc/guides/testpmd_app_ug/run_app.rst | 4 2 files ch

[dpdk-dev] [PATCH v2 2/3] app/testpmd: extend port config with scatter parameter

2016-04-22 Thread maciej.cze...@caviumnetworks.com
From: Maciej Czekaj "port config all scatter on|off" allows for controlling rxmode.enable_scatter in command line. Signed-off-by: Maciej Czekaj --- app/test-pmd/cmdline.c | 17 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 11 +++

[dpdk-dev] [PATCH v2 3/3] app/testpmd: support setting up txq_flags value in command line

2016-04-22 Thread maciej.cze...@caviumnetworks.com
From: Maciej Czekaj "port config all txqflags " allows for specifying txq_flags value in command line. Signed-off-by: Maciej Czekaj --- app/test-pmd/cmdline.c | 69 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 9 2 files

[dpdk-dev] [PATCH] app/testpmd: configure flowgen packet size though --txpkts

2016-08-26 Thread maciej.cze...@caviumnetworks.com
From: Maciej Czekaj "flowgen" forwarding mode has fixed packet size (300). Let it re-use --txpkts option for specifying generated packet size. Signed-off-by: Maciej Czekaj --- app/test-pmd/config.c | 2 +- app/test-pmd/flowgen.c | 3 +-