[dpdk-dev] [PATCH] app/test lib/librte_pmd_af_packet: fix check for null & fix possible memory leak

2014-12-17 Thread Daniel Mrzyglod
app/test/test_sched.c: -Fix several checking for NULL pointer lib/librte_pmd_af_packet/rte_eth_af_packet.c: -Not munmaped queue area -Fix several checking for NULL pointer Signed-off-by: Daniel Mrzyglod --- app/test/test_sched.c| 2 ++ lib/librte_pmd_af_packet

[dpdk-dev] [PATCH] af_packet: fix memory allocation check

2014-12-18 Thread Daniel Mrzyglod
In rte_eth_af_packet.c we are we are missing NULL pointer checks after calls to alocate memory for queues. Add checking NULL pointer and error handling. Signed-off-by: Daniel Mrzyglod --- lib/librte_pmd_af_packet/rte_eth_af_packet.c | 4 1 file changed, 4 insertions(+) diff --git a/lib

[dpdk-dev] [PATCH] test: fix missing NULL pointer checks

2014-12-18 Thread Daniel Mrzyglod
In test_sched, we are missing NULL pointer checks after calls to create the mempool and to allocate an mbuf. Add in these checks using VERIFY macros. Signed-off-by: Daniel Mrzyglod --- app/test/test_sched.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/test/test_sched.c b/app/test

[dpdk-dev] [PATCH] af_packet: fix memory allocation check

2014-12-18 Thread Daniel Mrzyglod
In rte_eth_af_packet.c we are we are missing NULL pointer checks after calls to alocate memory for queues. Add checking NULL pointer and error handling. Signed-off-by: Daniel Mrzyglod --- lib/librte_pmd_af_packet/rte_eth_af_packet.c | 4 1 file changed, 4 insertions(+) diff --git a/lib

[dpdk-dev] [PATCH] af_packet: fix possible memory leak

2014-12-19 Thread Daniel Mrzyglod
In rte_pmd_init_internals, we are mapping memory but not released if error occure it could produce memoryleak. Add unmmap function to release memory. Signed-off-by: Daniel Mrzyglod --- lib/librte_pmd_af_packet/rte_eth_af_packet.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/lib

[dpdk-dev] [PATCH] Added Spinlock to l3fwd-vf example to prevent race conditioning

2014-07-08 Thread Daniel Mrzyglod
Signed-off-by: Daniel Mrzyglod --- examples/l3fwd-vf/main.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/l3fwd-vf/main.c b/examples/l3fwd-vf/main.c index 2ca5c21..57852d0 100644 --- a/examples/l3fwd-vf/main.c +++ b/examples/l3fwd-vf/main.c @@ -54,6 +54,7

[dpdk-dev] [PATCH] ADD mode 5(tlb) to link bonding pmd

2014-09-17 Thread Daniel Mrzyglod
This patch set adds support of mode 5 to link bonding pmd This patchset depend on Declan Doherty patch set: http://dpdk.org/ml/archives/dev/2014-September/005069.html Signed-off-by: Daniel Mrzyglod --- lib/librte_pmd_bond/rte_eth_bond.h | 23 lib/librte_pmd_bond

[dpdk-dev] [PATCH v2] ADD mode 5(tlb) to link bonding pmd

2014-09-26 Thread Daniel Mrzyglod
Signed-off-by: Daniel Mrzyglod --- app/test/test_link_bonding.c | 501 +++- app/test/virtual_pmd.c |6 +- app/test/virtual_pmd.h |7 + lib/librte_pmd_bond/rte_eth_bond.h | 23 ++ lib/librte_pmd_bond

[dpdk-dev] [PATCH] kni:fix build on Ubuntu 12.04.5 with current HWE

2014-09-30 Thread Daniel Mrzyglod
Recent Ubuntu 12.04.5 LTS is shipped with 3.13.0-36.63 as the only supported kernel. Patch a09b359daca3d8af43dc22a57b34cf317f958236 describe the problem. Signed-off-by: Daniel Mrzyglod --- lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h |3 ++- 1 file changed, 2 insertions(+), 1

[dpdk-dev] [PATCH] doc: fix openssl formating text in documentation

2017-01-10 Thread Daniel Mrzyglod
the code section was lacking indendation to be be corectly formatted. Signed-off-by: Daniel Mrzyglod --- doc/guides/cryptodevs/openssl.rst | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/guides/cryptodevs/openssl.rst b/doc/guides/cryptodevs

[dpdk-dev] [PATCH] doc: fix openssl formating text

2017-01-10 Thread Daniel Mrzyglod
The code section was lacking indentation to be be correctly formatted. Signed-off-by: Daniel Mrzyglod --- doc/guides/cryptodevs/openssl.rst | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/guides/cryptodevs/openssl.rst b/doc/guides/cryptodevs

[dpdk-dev] [PATCH] app/test-crypto-perf: fix gcc compilation under FreeBSD

2017-02-01 Thread Daniel Mrzyglod
this fix error: implicit declaration of function 'getline' Signed-off-by: Daniel Mrzyglod --- app/test-crypto-perf/cperf_test_vector_parsing.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-crypto-perf/cperf_test_vector_parsing.c b/app/test-c

[dpdk-dev] [PATCH v2] app/test-crypto-perf: fix gcc compilation under FreeBSD

2017-02-02 Thread Daniel Mrzyglod
This patch fixes error: implicit declaration of function 'getline' Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application") Signed-off-by: Daniel Mrzyglod --- v2: * rewrite patch messege * add fixline --- app/test-crypto-perf/cperf_test_vector_parsi

[dpdk-dev] [PATCH v3] app/test-crypto-perf: fix compilation under FreeBSD

2017-02-07 Thread Daniel Mrzyglod
This patch fixes error: implicit declaration of function 'getline' Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application") Signed-off-by: Daniel Mrzyglod --- v3: * remove gcc from commit subject because it's common for all compillers v2: * re

[dpdk-dev] [PATCH] test/bonding: fix namespace bonding mode4 unit tests

2017-07-05 Thread Daniel Mrzyglod
ring network driver is limited to 32 characters the name of device was extened to net_ring_unit_test_mode4_slave_0 which is 33 Fixes: 5e41ab250dfa ("app/test: unit tests for bonding mode 4") Signed-off-by: Daniel Mrzyglod --- test/test/test_link_bonding_mode4.c | 8 1 file

[dpdk-dev] [PATCH v2 0/3] Bonding add additional aggregators mode for 802.3AD

2017-07-19 Thread Daniel Mrzyglod
biggest number of slaves V2: -fix eal argument parsing -add cmdline help in testpmd -add unit test -fix checkpatch warnings -update device name in unit tests Daniel Mrzyglod (3): drivers/bonding: add other agg selection modes testpmd: add cmndlines to support different aggregation modes

[dpdk-dev] [PATCH v2 1/3] drivers/bonding: add other agg selection modes

2017-07-19 Thread Daniel Mrzyglod
bandwidth count - takes aggregator with biggest number of slaves Signed-off-by: Daniel Mrzyglod --- drivers/net/bonding/rte_eth_bond_8023ad.c | 193 -- drivers/net/bonding/rte_eth_bond_8023ad.h | 32 drivers/net/bonding/rte_eth_bond_8023ad_private.h | 1

[dpdk-dev] [PATCH v2 2/3] testpmd: add cmndlines to support different aggregation modes

2017-07-19 Thread Daniel Mrzyglod
This patch add support for different aggregator modes in similar manner that is provided in linux kernel. testpmd> set bonding agg_mode testpmd> show bonding config Signed-off-by: Daniel Mrzyglod --- app/test-pmd/cmdline.c | 94 +-

[dpdk-dev] [PATCH v2 3/3] test/bonding: add test case for agg selection in mode4

2017-07-19 Thread Daniel Mrzyglod
Signed-off-by: Daniel Mrzyglod --- test/test/test_link_bonding_mode4.c | 83 +++-- 1 file changed, 79 insertions(+), 4 deletions(-) diff --git a/test/test/test_link_bonding_mode4.c b/test/test/test_link_bonding_mode4.c index 8b64bbf71..8e9e23db5 100644 --- a

[dpdk-dev] [PATCH] doc: fix testpmd literal block representation

2017-07-20 Thread Daniel Mrzyglod
There were mising :: so file was parsed in wrong way Fixes: c735b831b0c1 ("app/testpmd: add cmd for dedicated LACP Rx/Tx queues") Signed-off-by: Daniel Mrzyglod --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/

[dpdk-dev] [PATCH] app/testpmd: fix argument cannot be negative

2017-07-25 Thread Daniel Mrzyglod
Coverity issue: 143454 Fixes: a92a5a2cbbff ("app/testpmd: add command for loading DDP") Signed-off-by: Daniel Mrzyglod --- app/test-pmd/config.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index ee6644d10.

[dpdk-dev] [PATCH] test/bonding: fix namespace of the rss tests

2017-07-26 Thread Daniel Mrzyglod
drivers are looking by name of the device so change namespace to proper one Fixes: 43b630244e7e ("app/test: add dynamic bonding RSS configuration") Signed-off-by: Daniel Mrzyglod --- test/test/test_link_bonding_rssconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --

[dpdk-dev] [PATCH] doc: add testpmd bonding mode 4 aggregators mode

2017-07-26 Thread Daniel Mrzyglod
Add testpmd commands for setting aggregators mode in mode 4 (IEEE802.3AD). Signed-off-by: Daniel Mrzyglod --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 8 1 file changed, 8 insertions(+) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug

[dpdk-dev] [PATCH] app/crypto-perf: fix for segfault when bad optype is used with gcm alghorithms

2017-02-16 Thread Daniel Mrzyglod
When somebody use bad --optype with aead alghorithms segmentation fault could happen. Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application") Signed-off-by: Daniel Mrzyglod --- How to reproduce: AESNI_GCM: ./build/app/dpdk-test-crypto-perf -c 0

[dpdk-dev] [PATCH v2] app/crypto-perf: fix for segfault when bad optype is used with gcm alghorithms

2017-02-16 Thread Daniel Mrzyglod
When somebody use bad --optype with aead alghorithms segmentation fault could happen. Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application") Signed-off-by: Daniel Mrzyglod --- Changes for v2: - fix checkpatch error related with whitespace - fix spelling

[dpdk-dev] [PATCH v3] app/crypto-perf: fix avoid wrong optype for AEAD algorithms

2017-03-08 Thread Daniel Mrzyglod
When somebody use bad --optype with aead alghorithms segmentation fault could happen. Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application") Signed-off-by: Daniel Mrzyglod --- Changes for v3: - fix headline of this patch - add ccm alghorithm Changes for v

[dpdk-dev] [PATCH 0/2] Bonding add additional aggregators mode for 802.3AD

2017-05-26 Thread Daniel Mrzyglod
biggest number of slaves Daniel Mrzyglod (2): drivers/bonding: add other agg selection modes for mode4 app/testpmd: add support for different aggregation mode in IEEE802.3ad bonding app/test-pmd/cmdline.c| 90 +- drivers/net/bonding

[dpdk-dev] [PATCH 1/2] drivers/bonding: add other agg selection modes for mode4

2017-05-26 Thread Daniel Mrzyglod
bandwidth count - takes aggregator with biggest number of slaves Signed-off-by: Daniel Mrzyglod --- drivers/net/bonding/rte_eth_bond_8023ad.c | 191 -- drivers/net/bonding/rte_eth_bond_8023ad.h | 32 drivers/net/bonding/rte_eth_bond_8023ad_private.h | 1

[dpdk-dev] [PATCH 2/2] app/testpmd: add support for different aggregation mode in IEEE802.3ad bonding

2017-05-26 Thread Daniel Mrzyglod
This patch add support for different aggregator modes in similar manner that is provided in linux kernel. testpmd> set bonding agg_mode testpmd> show bonding config Signed-off-by: Daniel Mrzyglod --- app/test-pmd/cmdline.c | 90 +-

[dpdk-dev] [PATCH] mk: add support for ICC 15 compiler

2015-01-22 Thread Daniel Mrzyglod
uot; 15527 - loop was not vectorized: function call to fprintf cannot be vectorize Signed-off-by: Daniel Mrzyglod --- mk/toolchain/icc/rte.vars.mk | 7 +++ 1 file changed, 7 insertions(+) diff --git a/mk/toolchain/icc/rte.vars.mk b/mk/toolchain/icc/rte.vars.mk index 5503fb0..e39d710 10064

[dpdk-dev] [PATCH v2] test: fix missing NULL pointer checks

2015-01-27 Thread Daniel Mrzyglod
In test_sched, we are missing NULL pointer checks after calls to create the mempool and to allocate an mbuf. Add in these checks using TEST_ASSERT_NOT_NULL macros. Signed-off-by: Daniel Mrzyglod --- app/test/test_sched.c | 23 --- 1 file changed, 12 insertions(+), 11

[dpdk-dev] [PATCH v3] test: fix missing NULL pointer checks

2015-01-27 Thread Daniel Mrzyglod
k when the failure occured. v3 changes: - remove VERIFY macro - fix spelling error. - change unproper comment v2 changes: - Replace all VERIFY macros instances by proper TEST_ASSERT* macros. - fix description v1 changes: - first iteration of patch using VERIFY macro. Signed-off-by: Daniel Mrzyglod

[dpdk-dev] [PATCH v4] test: fix missing NULL pointer checks

2015-01-30 Thread Daniel Mrzyglod
iption v1 changes: - first iteration of patch using VERIFY macro. Signed-off-by: Daniel Mrzyglod --- app/test/test_sched.c | 120 ++ 1 file changed, 83 insertions(+), 37 deletions(-) diff --git a/app/test/test_sched.c b/app/test/test_sched.c ind

[dpdk-dev] [PATCH] net/i40e: fix return code not checked

2017-08-10 Thread Daniel Mrzyglod
Calling i40e_vsi_delete_mac without checking return value (as is done elsewhere 5 out of 6 times) Coverity issue: 140735 Fixes: 43c89d5a4fde ("net/i40e: set VF MAC from PF") Signed-off-by: Daniel Mrzyglod --- drivers/net/i40e/rte_pmd_i40e.c | 4 +++- 1 file changed, 3 insertions(+),

[dpdk-dev] [PATCH] app/testpmd: wrong usage of fseek & ftell to determine filesize

2017-08-18 Thread Daniel Mrzyglod
rity issue: 143454 Fixes: a92a5a2cbbff ("app/testpmd: add command for loading DDP") Signed-off-by: Daniel Mrzyglod --- app/test-pmd/config.c | 39 --- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/app/test-pmd/config.c b/app/tes

[dpdk-dev] [PATCH] eal: fix resource leak

2017-09-19 Thread Daniel Mrzyglod
Memory allocated in strdup is not free. Coverity issue: 143257 Fixes: d8a2bc71dfc2 ("log: remove app path from syslog id") Cc: tho...@monjalon.net Signed-off-by: Daniel Mrzyglod --- lib/librte_eal/linuxapp/eal/eal.c | 16 1 file changed, 16 insertions(+) diff -

[dpdk-dev] [PATCH] net/virtio: fix of untrusted scalar value

2017-09-20 Thread Daniel Mrzyglod
: 6a84c37e3975 ("net/virtio-user: add vhost-user adapter layer") Cc: jianfeng@intel.com Signed-off-by: Daniel Mrzyglod --- drivers/net/virtio/virtio_user/vhost_user.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/virtio/virtio_user/vhost_user.c b/drivers/

[dpdk-dev] [PATCH v2] net/virtio: fix of untrusted scalar value

2017-09-20 Thread Daniel Mrzyglod
. Coverity issue: 139601 Fixes: 6a84c37e3975 ("net/virtio-user: add vhost-user adapter layer") Cc: jianfeng@intel.com Cc: stable@sta...@dpdk.org Signed-off-by: Daniel Mrzyglod --- v2: * Add Cc for stable in gitlog massage * Add Coverity line * v1 was acked by Acked-by: Jianfeng Tan d

[dpdk-dev] [PATCH v2] eal: fix resource leak

2017-09-22 Thread Daniel Mrzyglod
Memory allocated in strdup is not free. Coverity issue: 143257 Fixes: d8a2bc71dfc2 ("log: remove app path from syslog id") Cc: tho...@monjalon.net Signed-off-by: Daniel Mrzyglod --- v2: * Fix due to compilation errors lib/librte_eal/linuxapp/eal/eal.c | 18 +- 1 fi

[dpdk-dev] [PATCH v3] net/virtio: fix of untrusted scalar value

2017-09-22 Thread Daniel Mrzyglod
. Coverity issue: 139601 Fixes: 6a84c37e3975 ("net/virtio-user: add vhost-user adapter layer") Cc: jianfeng@intel.com Cc: sta...@dpdk.org Signed-off-by: Daniel Mrzyglod --- v3: * there were wrong v2 email adress for stable dpdk mailinglist * fix compilation errors v2: * Add Cc for stable

[dpdk-dev] [PATCH v3] eal: fix resource leak

2017-10-11 Thread Daniel Mrzyglod
Memory allocated in strdup is not free. Coverity issue: 143257 Fixes: d8a2bc71dfc2 ("log: remove app path from syslog id") Cc: tho...@monjalon.net Cc: sta...@dpdk.org Signed-off-by: Daniel Mrzyglod --- v3: * remove strdup because it's basically striped argv[0] v2: * Fix due

[dpdk-dev] [PATCH] net/bonding: fix setting default aggregator mode to stable

2017-10-20 Thread Daniel Mrzyglod
This patch change default aggregator mode to stable when using rte_eth_bond_create() Fixes: 6d72657ce379 ("net/bonding: add other aggregator modes") Signed-off-by: Daniel Mrzyglod --- drivers/net/bonding/rte_eth_bond_pmd.c | 21 - 1 file changed, 20 insert

[dpdk-dev] [PATCH v2] test/pmd_perf: fix for segmentation fault

2017-10-27 Thread Daniel Mrzyglod
face. Fixes: 002ade70e933 ("app/test: measure cycles per packet in Rx/Tx") Cc: cunming.li...@intel.com Cc: sta...@dpdk.org Signed-off-by: Daniel Mrzyglod --- test/test/test_pmd_perf.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/test/test/test_

[dpdk-dev] [PATCH v2] examples/ip_pipeline: fix build error for gcc 4.8

2016-06-21 Thread Daniel Mrzyglod
ninitialized in this function [-Werror=maybe-uninitialized] struct app_pktq_out_params *pktq_out = Fixes: 760064838ec0 ("examples/ip_pipeline: link routing output ports to devices") Signed-off-by: Daniel Mrzyglod Acked-by: Cristian Dumitrescu --- examples/ip_pipeline/app.h |

[dpdk-dev] [PATCH v3] eal/linuxapp: fix resource leak

2016-06-22 Thread Daniel Mrzyglod
This patch fix all cases to do proper handle all munmap if pointer of hugepage is not NULL which prohibits resource leak. Coverity issue: 97920 Fixes: b6a468ad41d5 ("memory: add --socket-mem option") Signed-off-by: Daniel Mrzyglod --- lib/librte_eal/linuxapp/eal/eal_memory.c | 6

[dpdk-dev] [PATCH] doc: Add requirements for x32 ABI

2015-02-13 Thread Daniel Mrzyglod
This patch add requirements about compiler and distribution support. Signed-off-by: Daniel Mrzyglod --- doc/guides/linux_gsg/sys_reqs.rst | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/doc/guides/linux_gsg/sys_reqs.rst b/doc/guides/linux_gsg/sys_reqs.rst index

[dpdk-dev] [PATCH v2] doc: Add requirements for x32 ABI

2015-02-16 Thread Daniel Mrzyglod
This patch add requirements about compiler and distribution support. v2: spelling fixes Signed-off-by: Daniel Mrzyglod --- doc/guides/linux_gsg/sys_reqs.rst | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/doc/guides/linux_gsg/sys_reqs.rst b/doc/guides/linux_gsg

[dpdk-dev] [PATCH] cmdline: fix type format from unsigned to size_t for buffer size

2015-02-20 Thread Daniel Mrzyglod
Function match_inst is used to take buffor using sizeof() which is size_t type. This modification also involved changing '%u' to '%zu' in printf function. Signed-off-by: Daniel Mrzyglod --- lib/librte_cmdline/cmdline_parse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 dele

[dpdk-dev] [PATCH v2] cfgfile: fix unitialised buffer

2015-06-29 Thread Daniel Mrzyglod
: Daniel Mrzyglod --- lib/librte_cfgfile/rte_cfgfile.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/librte_cfgfile/rte_cfgfile.c b/lib/librte_cfgfile/rte_cfgfile.c index b81c273..9c85e9f 100644 --- a/lib/librte_cfgfile/rte_cfgfile.c +++ b/lib/librte_cfgfile/rte_cfgfile.c @@ -96,7

[dpdk-dev] [PATCH v3] cfgfile: fix unitialised buffer

2015-06-29 Thread Daniel Mrzyglod
: -Simplify the initialization of buffer. Changes in v2: -Found the real nature of problem. Only buffer was not initilized. Changes in v1: -Add additional separate IO buffer and initialize both buffers. Signed-off-by: Daniel Mrzyglod --- lib/librte_cfgfile/rte_cfgfile.c | 2 +- 1 file changed, 1

[dpdk-dev] [PATCH] x32 ABI support, first iteration

2014-11-13 Thread Daniel Mrzyglod
Signed-off-by: Konstantin Ananyev Signed-off-by: Daniel Mrzyglod --- config/defconfig_x86_x32-native-linuxapp-gcc | 46 mk/arch/x86_x32/rte.vars.mk | 63 2 files changed, 109 insertions(+) create mode 100644 config

[dpdk-dev] [PATCH v3 0/2] ADD mode 5(tlb) to link bonding pmd

2014-11-26 Thread Daniel Mrzyglod
This mode provides an adaptive transmit load balancing. It dynamically changes the transmitting slave, according to the computed load. Statistics are collected in 100ms intervals and scheduled every 10ms. Daniel Mrzyglod (2): This patch add support of mode 5 to link bonding pmd Unit tests for

[dpdk-dev] [PATCH v3 1/2] This patch add support of mode 5 to link bonding pmd

2014-11-26 Thread Daniel Mrzyglod
d-off-by: Daniel Mrzyglod --- lib/librte_pmd_bond/rte_eth_bond.h | 11 ++ lib/librte_pmd_bond/rte_eth_bond_args.c| 1 + lib/librte_pmd_bond/rte_eth_bond_pmd.c | 160 - lib/librte_pmd_bond/rte_eth_bond_private.h | 2 +- 4 files changed, 171 insertio

[dpdk-dev] [PATCH v3 2/2] Unit tests for Mode 5 of Bonding Transmit Load balancing.

2014-11-26 Thread Daniel Mrzyglod
This patch add unit tests for mode 5 - tlb - to the others link bonding unit tests. Signed-off-by: Daniel Mrzyglod --- app/test/test_link_bonding.c | 499 ++- app/test/virtual_pmd.c | 6 +- 2 files changed, 502 insertions(+), 3 deletions(-) diff

[dpdk-dev] [PATCH v4 0/2] ADD mode 5(tlb) to link bonding pmd

2014-11-27 Thread Daniel Mrzyglod
virtualpmd driver. change internals->slaves[i].last_obytes to have proper values. Update codebase to Declan's patches. v1 change: Add support for mode 5 (Transmit load balancing) into pmd driver Daniel Mrzyglod (2): This patch add support of mode 5 to link bonding pmd Unit tests fo

[dpdk-dev] [PATCH v4 1/2] This patch add support of mode 5 to link bonding pmd

2014-11-27 Thread Daniel Mrzyglod
-off-by: Daniel Mrzyglod --- lib/librte_pmd_bond/rte_eth_bond.h | 6 ++ lib/librte_pmd_bond/rte_eth_bond_args.c| 1 + lib/librte_pmd_bond/rte_eth_bond_pmd.c | 160 - lib/librte_pmd_bond/rte_eth_bond_private.h | 2 +- 4 files changed, 166 insertions

[dpdk-dev] [PATCH v4 0/2] ADD mode 5(tlb) to link bonding pmd

2014-11-27 Thread Daniel Mrzyglod
virtualpmd driver. change internals->slaves[i].last_obytes to have proper values. Update codebase to Declan's patches. v1 change: Add support for mode 5 (Transmit load balancing) into pmd driver Daniel Mrzyglod (2): This patch add support of mode 5 to link bonding pmd Unit tests fo

[dpdk-dev] [PATCH v4 2/2] Unit tests for Mode 5 of Bonding Transmit Load balancig.

2014-11-27 Thread Daniel Mrzyglod
This Patch add unit tests for mode 5 - tlb - to the oders link bonding unit tests. Signed-off-by: Daniel Mrzyglod --- app/test/test_link_bonding.c | 499 ++- app/test/virtual_pmd.c | 6 +- 2 files changed, 502 insertions(+), 3 deletions(-) diff

[dpdk-dev] [PATCH v4 2/2] Unit tests for Mode 5 of Bonding Transmit Load balancig.

2014-11-27 Thread Daniel Mrzyglod
This Patch add unit tests for mode 5 - tlb - to the oders link bonding unit tests. Signed-off-by: Daniel Mrzyglod --- app/test/test_link_bonding.c | 499 ++- app/test/virtual_pmd.c | 6 +- 2 files changed, 502 insertions(+), 3 deletions(-) diff

[dpdk-dev] [PATCH] Modify tools/setup.sh to be compatible with fedora 21

2014-10-08 Thread Daniel Mrzyglod
From: Daniel Mrzyglod script was expecting /lib/modules/$(uname -r)/kernel/drivers/uio/uio.ko but in fedora 21 there are Compressed kernel modules - xz (LZMA) Signed-off-by: Daniel Mrzyglod --- tools/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/setup.sh

[dpdk-dev] [PATCH v2] Modify tools/setup.sh to be compatible with fedora 21

2014-10-09 Thread Daniel Mrzyglod
script was expecting /lib/modules/$(uname -r)/kernel/drivers/uio/uio.ko but in fedora 21 there are Compressed kernel modules - xz (LZMA) Signed-off-by: Daniel Mrzyglod --- tools/setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/setup.sh b/tools/setup.sh index

[dpdk-dev] [PATCH v3] Modify tools/setup.sh to be compatible with fedora 21

2014-10-10 Thread Daniel Mrzyglod
script was expecting /lib/modules/$(uname -r)/kernel/drivers/uio/uio.ko but in fedora 21 there are Compressed kernel modules - xz (LZMA) V3 patch: Remove sudo V2 patch: Use modinfo instead ls V1 patch: use ls instead checking if specific file exist Signed-off-by: Daniel Mrzyglod --- tools

[dpdk-dev] [PATCH 0/3] add sample ptp slave application

2015-10-02 Thread Daniel Mrzyglod
implementation NIC speed independent. * Check for linkup/down. Daniel Mrzyglod (3): ethdev: add additional ieee1588 support functions ixgbe: add additional ieee1588 support functions example: PTP client slave minimal implementation MAINTAINERS| 3 + drivers

[dpdk-dev] [PATCH 1/3] ethdev: add additional ieee1588 support functions

2015-10-02 Thread Daniel Mrzyglod
: Daniel Mrzyglod --- lib/librte_ether/rte_ethdev.c | 36 +++ lib/librte_ether/rte_ethdev.h | 64 ++ lib/librte_ether/rte_ether_version.map | 9 + 3 files changed, 109 insertions(+) diff --git a/lib/librte_ether/rte_ethdev.c b/lib

[dpdk-dev] [PATCH 2/3] ixgbe: add additional ieee1588 support functions

2015-10-02 Thread Daniel Mrzyglod
Add additional functions to support the existing IEEE1588 functionality and to enable getting, setting and adjusting the device time. Signed-off-by: Daniel Mrzyglod --- drivers/net/ixgbe/ixgbe_ethdev.c | 250 +-- drivers/net/ixgbe/ixgbe_ethdev.h | 24 2

[dpdk-dev] [PATCH 3/3] example: PTP client slave minimal implementation

2015-10-02 Thread Daniel Mrzyglod
Add a sample application that acts as a PTP slave using the DPDK ieee1588 functions. Signed-off-by: Daniel Mrzyglod --- MAINTAINERS| 3 + examples/Makefile | 1 + examples/ptpclient/Makefile| 59 + examples/ptpclient/ptpclient.c | 525

[dpdk-dev] [PATCH v2 0/6] add sample ptp slave application

2015-10-30 Thread Daniel Mrzyglod
dev: - change function names to more proper. Doc: - add documentation for ptpclient sample: - add kernel adjustment option - add portmask option to provide portmask to aplication Daniel Mrzyglod (4): ethdev: add additional ieee1588 support functions ixgbe: add additional ieee1588 support functi

[dpdk-dev] [PATCH v2 1/6] ethdev: add additional ieee1588 support functions

2015-10-30 Thread Daniel Mrzyglod
: Daniel Mrzyglod --- doc/guides/rel_notes/release_2_2.rst | 3 ++ lib/librte_ether/rte_ethdev.c | 36 +++ lib/librte_ether/rte_ethdev.h | 64 ++ lib/librte_ether/rte_ether_version.map | 9 + 4 files changed, 112 insertions

[dpdk-dev] [PATCH v2 2/6] ixgbe: add additional ieee1588 support functions

2015-10-30 Thread Daniel Mrzyglod
Add additional functions to support the existing IEEE1588 functionality and to enable getting, setting and adjusting the device time. Signed-off-by: Daniel Mrzyglod Signed-off-by: Pablo de Lara --- drivers/net/ixgbe/ixgbe_ethdev.c | 313 +-- drivers/net

[dpdk-dev] [PATCH v2 3/6] igb: add additional ieee1588 support functions

2015-10-30 Thread Daniel Mrzyglod
From: Pablo de Lara Add additional functions to support the existing IEEE1588 functionality and to enable getting, setting and adjusting the device time. Signed-off-by: Pablo de Lara Signed-off-by: Daniel Mrzyglod --- drivers/net/e1000/e1000_ethdev.h | 22 +++ drivers/net/e1000/igb_ethdev.c

[dpdk-dev] [PATCH v2 4/6] i40e: add additional ieee1588 support functions

2015-10-30 Thread Daniel Mrzyglod
From: Pablo de Lara Add additional functions to support the existing IEEE1588 functionality and to enable getting, setting and adjusting the device time. Signed-off-by: Pablo de Lara Signed-off-by: Daniel Mrzyglod --- drivers/net/i40e/i40e_ethdev.c | 214

[dpdk-dev] [PATCH v2 5/6] example: PTP client slave minimal implementation

2015-10-30 Thread Daniel Mrzyglod
Add a sample application that acts as a PTP slave using the DPDK ieee1588 functions. Signed-off-by: Daniel Mrzyglod --- MAINTAINERS | 3 + doc/guides/rel_notes/release_2_2.rst | 5 + examples/Makefile| 1 + examples/ptpclient/Makefile

[dpdk-dev] [PATCH v2 6/6] doc: add a PTPCLIENT sample guide

2015-10-30 Thread Daniel Mrzyglod
It includes: - Add the ptpclient picture with svg format. - Add the ptpclient.rst file - Change the index.rst file for the above pictures index. Signed-off-by: Daniel Mrzyglod --- doc/guides/sample_app_ug/img/ptpclient.svg | 520 + doc/guides/sample_app_ug

[dpdk-dev] [PATCH v4] eal/linuxapp: fix resource leak

2016-07-06 Thread Daniel Mrzyglod
Current code does not munmap 'hugepage' mapping (hugepage info file) on function exit, leaking resources. Coverity issue: 97920 Fixes: b6a468ad41d5 ("memory: add --socket-mem option") Signed-off-by: Daniel Mrzyglod --- lib/librte_eal/linuxapp/eal/eal_memory.c | 9 +++-

[dpdk-dev] [PATCH] ixgbe: fix unused value

2016-06-02 Thread Daniel Mrzyglod
ed Rx") Coverity ID 13335 Signed-off-by: Daniel Mrzyglod --- drivers/net/ixgbe/ixgbe_rxtx_vec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_rxtx_vec.c b/drivers/net/ixgbe/ixgbe_rxtx_vec.c index e97ea82..61c7aad 100644 --- a/drivers/net/ixgbe/ixgbe_rxtx_vec.c +++

[dpdk-dev] [PATCH] examples/ip_pipeline: fix build error for gcc 4.8

2016-06-09 Thread Daniel Mrzyglod
ninitialized in this function [-Werror=maybe-uninitialized] struct app_pktq_out_params *pktq_out = Fixes: 760064838ec0 ("examples/ip_pipeline: link routing output ports to devices") Signed-off-by: Daniel Mrzyglod --- examples/ip_pipeline/app.h |4 ++-- 1 file changed, 2 insertions(

[dpdk-dev] [PATCH v3 0/7] add sample ptp slave application

2015-11-03 Thread Daniel Mrzyglod
>V2: PMDs: - add support for e1000 - add support for ixgbe - add support for i40 ethdev: - change function names to more proper. Doc: - add documentation for ptpclient sample: - add kernel adjustment option - add portmask option to provide portmask to aplication Daniel Mrzyglod (5):

[dpdk-dev] [PATCH v3 1/7] ethdev: add additional ieee1588 support functions

2015-11-03 Thread Daniel Mrzyglod
: Daniel Mrzyglod --- doc/guides/rel_notes/release_2_2.rst | 3 ++ lib/librte_ether/rte_ethdev.c | 36 +++ lib/librte_ether/rte_ethdev.h | 64 ++ lib/librte_ether/rte_ether_version.map | 3 ++ 4 files changed, 106 insertions(+) diff

[dpdk-dev] [PATCH v3 2/7] net: Add common PTP structures and functions

2015-11-03 Thread Daniel Mrzyglod
This patch add common functions and structures used for PTP processing. Signed-off-by: Daniel Mrzyglod --- lib/librte_net/Makefile | 2 +- lib/librte_net/rte_ptp.h | 105 +++ 2 files changed, 106 insertions(+), 1 deletion(-) create mode 100644 lib

[dpdk-dev] [PATCH v3 3/7] ixgbe: add additional ieee1588 support functions

2015-11-03 Thread Daniel Mrzyglod
Add additional functions to support the existing IEEE1588 functionality and to enable getting, setting and adjusting the device time. Signed-off-by: Daniel Mrzyglod Signed-off-by: Pablo de Lara --- drivers/net/ixgbe/ixgbe_ethdev.c | 272 +-- drivers/net

[dpdk-dev] [PATCH v3 4/7] igb: add additional ieee1588 support functions

2015-11-03 Thread Daniel Mrzyglod
From: Pablo de Lara Add additional functions to support the existing IEEE1588 functionality and to enable getting, setting and adjusting the device time. Signed-off-by: Pablo de Lara Signed-off-by: Daniel Mrzyglod --- drivers/net/e1000/e1000_ethdev.h | 3 + drivers/net/e1000/igb_ethdev.c

[dpdk-dev] [PATCH v3 5/7] i40e: add additional ieee1588 support functions

2015-11-03 Thread Daniel Mrzyglod
From: Pablo de Lara Add additional functions to support the existing IEEE1588 functionality and to enable getting, setting and adjusting the device time. Signed-off-by: Pablo de Lara Signed-off-by: Daniel Mrzyglod --- drivers/net/i40e/i40e_ethdev.c | 192

[dpdk-dev] [PATCH v3 6/7] example: PTP client slave minimal implementation

2015-11-03 Thread Daniel Mrzyglod
Add a sample application that acts as a PTP slave using the DPDK ieee1588 functions. Signed-off-by: Daniel Mrzyglod --- MAINTAINERS | 3 + doc/guides/rel_notes/release_2_2.rst | 5 + examples/Makefile| 1 + examples/ptpclient/Makefile

[dpdk-dev] [PATCH v3 7/7] doc: add a PTPCLIENT sample guide

2015-11-03 Thread Daniel Mrzyglod
It includes: - Add the ptpclient picture with svg format. - Add the ptpclient.rst file - Change the index.rst file for the above pictures index. Signed-off-by: Daniel Mrzyglod --- doc/guides/sample_app_ug/img/ptpclient.svg | 520 + doc/guides/sample_app_ug

[dpdk-dev] [PATCH v4 0/7] add sample ptp slave application

2015-11-04 Thread Daniel Mrzyglod
e: - add kernel adjustment option - add portmask option to provide portmask to aplication Daniel Mrzyglod (5): ethdev: add additional ieee1588 support functions net: Add common PTP structures and functions ixgbe: add additional ieee1588 support functions example: PTP client slav

[dpdk-dev] [PATCH v4 1/7] ethdev: add additional ieee1588 support functions

2015-11-04 Thread Daniel Mrzyglod
: Daniel Mrzyglod --- doc/guides/rel_notes/release_2_2.rst | 3 ++ lib/librte_ether/rte_ethdev.c | 36 +++ lib/librte_ether/rte_ethdev.h | 65 +- lib/librte_ether/rte_ether_version.map | 3 ++ 4 files changed, 106 insertions(+), 1

[dpdk-dev] [PATCH v4 2/7] net: Add common PTP structures and functions

2015-11-04 Thread Daniel Mrzyglod
This patch add common functions and structures used for PTP processing. Signed-off-by: Daniel Mrzyglod --- lib/librte_net/Makefile | 2 +- lib/librte_net/rte_ptp.h | 105 +++ 2 files changed, 106 insertions(+), 1 deletion(-) create mode 100644 lib

[dpdk-dev] [PATCH v4 3/7] ixgbe: add additional ieee1588 support functions

2015-11-04 Thread Daniel Mrzyglod
Add additional functions to support the existing IEEE1588 functionality and to enable getting, setting and adjusting the device time. Signed-off-by: Daniel Mrzyglod Signed-off-by: Pablo de Lara --- drivers/net/ixgbe/ixgbe_ethdev.c | 272 +-- drivers/net

[dpdk-dev] [PATCH v4 4/7] igb: add additional ieee1588 support functions

2015-11-04 Thread Daniel Mrzyglod
From: Pablo de Lara Add additional functions to support the existing IEEE1588 functionality and to enable getting, setting and adjusting the device time. Signed-off-by: Pablo de Lara Signed-off-by: Daniel Mrzyglod --- drivers/net/e1000/e1000_ethdev.h | 3 + drivers/net/e1000/igb_ethdev.c

[dpdk-dev] [PATCH v4 5/7] i40e: add additional ieee1588 support functions

2015-11-04 Thread Daniel Mrzyglod
From: Pablo de Lara Add additional functions to support the existing IEEE1588 functionality and to enable getting, setting and adjusting the device time. Signed-off-by: Pablo de Lara Signed-off-by: Daniel Mrzyglod --- drivers/net/i40e/i40e_ethdev.c | 192

[dpdk-dev] [PATCH v4 6/7] example: PTP client slave minimal implementation

2015-11-04 Thread Daniel Mrzyglod
Add a sample application that acts as a PTP slave using the DPDK ieee1588 functions. Signed-off-by: Daniel Mrzyglod --- MAINTAINERS | 3 + doc/guides/rel_notes/release_2_2.rst | 5 + examples/Makefile| 1 + examples/ptpclient/Makefile

[dpdk-dev] [PATCH v4 7/7] doc: add a PTPCLIENT sample guide

2015-11-04 Thread Daniel Mrzyglod
It includes: - Add the ptpclient picture with svg format. - Add the ptpclient.rst file - Change the index.rst file for the above pictures index. Signed-off-by: Daniel Mrzyglod --- doc/guides/sample_app_ug/img/ptpclient.svg | 520 + doc/guides/sample_app_ug

[dpdk-dev] [PATCH v5 0/7] add sample ptp slave application

2015-11-05 Thread Daniel Mrzyglod
Doc: - add documentation for ptpclient sample: - add kernel adjustment option - add portmask option to provide portmask to aplication Daniel Mrzyglod (5): ethdev: add additional ieee1588 support functions net: Add common PTP structures and functions ixgbe: add additional ieee1588 support functio

[dpdk-dev] [PATCH v5 1/7] ethdev: add additional ieee1588 support functions

2015-11-05 Thread Daniel Mrzyglod
: Daniel Mrzyglod --- doc/guides/rel_notes/release_2_2.rst | 3 ++ lib/librte_ether/rte_ethdev.c | 36 +++ lib/librte_ether/rte_ethdev.h | 65 +- lib/librte_ether/rte_ether_version.map | 3 ++ 4 files changed, 106 insertions(+), 1

[dpdk-dev] [PATCH v5 2/7] net: Add common PTP structures and functions

2015-11-05 Thread Daniel Mrzyglod
This patch add common functions and structures used for PTP processing. Signed-off-by: Daniel Mrzyglod --- lib/librte_net/Makefile | 2 +- lib/librte_net/rte_ptp.h | 105 +++ 2 files changed, 106 insertions(+), 1 deletion(-) create mode 100644 lib

[dpdk-dev] [PATCH v5 3/7] ixgbe: add additional ieee1588 support functions

2015-11-05 Thread Daniel Mrzyglod
Add additional functions to support the existing IEEE1588 functionality and to enable getting, setting and adjusting the device time. Signed-off-by: Daniel Mrzyglod Signed-off-by: Pablo de Lara --- drivers/net/ixgbe/ixgbe_ethdev.c | 272 +-- drivers/net

[dpdk-dev] [PATCH v5 4/7] igb: add additional ieee1588 support functions

2015-11-05 Thread Daniel Mrzyglod
From: Pablo de Lara Add additional functions to support the existing IEEE1588 functionality and to enable getting, setting and adjusting the device time. Signed-off-by: Pablo de Lara Signed-off-by: Daniel Mrzyglod --- drivers/net/e1000/e1000_ethdev.h | 3 + drivers/net/e1000/igb_ethdev.c

[dpdk-dev] [PATCH v5 5/7] i40e: add additional ieee1588 support functions

2015-11-05 Thread Daniel Mrzyglod
From: Pablo de Lara Add additional functions to support the existing IEEE1588 functionality and to enable getting, setting and adjusting the device time. Signed-off-by: Pablo de Lara Signed-off-by: Daniel Mrzyglod --- drivers/net/i40e/i40e_ethdev.c | 196

[dpdk-dev] [PATCH v5 6/7] example: PTP client slave minimal implementation

2015-11-05 Thread Daniel Mrzyglod
Add a sample application that acts as a PTP slave using the DPDK ieee1588 functions. Signed-off-by: Daniel Mrzyglod --- MAINTAINERS | 3 + doc/guides/rel_notes/release_2_2.rst | 5 + examples/Makefile| 1 + examples/ptpclient/Makefile

[dpdk-dev] [PATCH v5 7/7] doc: add a PTPCLIENT sample guide

2015-11-05 Thread Daniel Mrzyglod
It includes: - Add the ptpclient picture with svg format. - Add the ptpclient.rst file - Change the index.rst file for the above pictures index. Signed-off-by: Daniel Mrzyglod --- doc/guides/sample_app_ug/img/ptpclient.svg | 520 + doc/guides/sample_app_ug

  1   2   >