[dpdk-dev] [PATCH v2] examples/l3fwd: exact-match rework

2016-02-24 Thread Tomasz Kulasek
nges in v2: - patch rebase to be applicable on top of "Modify and modularize l3fwd code" v3 Signed-off-by: Tomasz Kulasek Acked-by: Konstantin Ananyev --- examples/l3fwd/l3fwd.h|8 + examples/l3fwd/l3fwd_em.c | 12 +- examples/l

[dpdk-dev] [PATCH] examples: l3fwd exact-match path rework

2016-01-29 Thread Tomasz Kulasek
okup, used before, it is used by default. Old implementation is moved to the file l3fwd_em_hlm_sse.h and can be enabled with HASH_LOOKUP_MULTI global define in compilation time. This patch depends of Ravi Kerur's "Modify and modularize l3fwd code" and should be applied after it. S

[dpdk-dev] [PATCH 2/2] examples: sample apps rework to use buffered tx api

2016-01-15 Thread Tomasz Kulasek
* packet_ordering * qos_meter Signed-off-by: Bruce Richardson Signed-off-by: Tomasz Kulasek --- examples/l2fwd-jobstats/main.c | 73 + examples/l2fwd-keepalive/main.c| 79 --- examples/l2fwd/main.c

[dpdk-dev] [PATCH 1/2] ethdev: add buffered tx api

2016-01-15 Thread Tomasz Kulasek
, which frees the packets (as the default callback does), as well as updating a user-provided counter, so that the number of dropped packets can be tracked. Signed-off-by: Bruce Richardson Signed-off-by: Tomasz Kulasek --- config/common_bsdapp |1 + config/common_linuxapp

[dpdk-dev] [PATCH 0/2] add support for buffered tx to ethdev

2016-01-15 Thread Tomasz Kulasek
rte_eth_tx_buffer* APIs in: * l2fwd-jobstats * l2fwd-keepalive * l2fwd * l3fwd-acl * l3fwd-power * link_status_interrupt * client_server_mp * l2fwd_fork * packet_ordering * qos_meter Tomasz Kulasek (2): ethdev: add buffered tx api examples: sample apps rework to use buffered tx api config

[dpdk-dev] [PATCH 2/2] examples: sample apps rework to use buffered tx api

2016-01-15 Thread Tomasz Kulasek
r_mp * l2fwd_fork * packet_ordering * qos_meter Signed-off-by: Bruce Richardson Signed-off-by: Tomasz Kulasek --- examples/l2fwd-jobstats/main.c | 73 + examples/l2fwd-keepalive/main.c| 79 --- exa

[dpdk-dev] [PATCH 1/2] ethdev: add buffered tx api

2016-01-15 Thread Tomasz Kulasek
reference callback is provided, which frees the packets (as the default callback does), as well as updating a user-provided counter, so that the number of dropped packets can be tracked. Signed-off-by: Bruce Richardson Signed-off-by: Tomasz Kulasek --- config/common_bsdapp

[dpdk-dev] [PATCH 0/2] add support for buffered tx to ethdev

2016-01-15 Thread Tomasz Kulasek
errupt * client_server_mp * l2fwd_fork * packet_ordering * qos_meter Tomasz Kulasek (2): ethdev: add buffered tx api examples: sample apps rework to use buffered tx api config/common_bsdapp |1 + config/common_linuxapp |1 + ex

[dpdk-dev] [PATCH] bonding: fix enumerated type mixed with another type

2015-11-05 Thread Tomasz Kulasek
ICC complains about enumerated types being mixed in link bonding driver, as ETH_MQ_RX_RSS is an enum type of mq_mode and not a bitmask as it was being treated. Fixes: 734ce47f71e0 ("bonding: support RSS dynamic configuration") Signed-off-by: Tomasz Kulasek --- drivers/n

[dpdk-dev] [PATCH v7 9/9] doc: dynamic rss configuration for bonding

2015-10-30 Thread Tomasz Kulasek
Documentation update about implementation details and requirements for Dynamic RSS Configuration for Bonding. Signed-off-by: Tomasz Kulasek Acked-by: Declan Doherty --- .../prog_guide/link_bonding_poll_mode_drv_lib.rst | 34 ++-- 1 file changed, 32 insertions(+), 2 deletions

[dpdk-dev] [PATCH v7 8/9] doc: fixed spellings and typos

2015-10-30 Thread Tomasz Kulasek
Signed-off-by: Tomasz Kulasek Acked-by: Declan Doherty --- .../prog_guide/link_bonding_poll_mode_drv_lib.rst |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst b/doc/guides/prog_guide

[dpdk-dev] [PATCH v7 7/9] bonding: per queue stats

2015-10-30 Thread Tomasz Kulasek
This patch adds fills bonding port's stats with a sum of corresponding values taken from bonded slaves, when stats are requested for bonding port. v5 changes: - removed queue_stats_mapping_set from eth_dev_ops of bonding device Signed-off-by: Tomasz Kulasek Acked-by: Declan Doherty

[dpdk-dev] [PATCH v7 6/9] test: dynamic rss configuration

2015-10-30 Thread Tomasz Kulasek
v7 changes: - Makefile for test app changed to not break compilation when CONFIG_RTE_LIBRTE_PMD_NULL=n (now module is silently omitted when requirements not met) Signed-off-by: Tomasz Kulasek Acked-by: Declan Doherty --- app/test/Makefile|7 + app/test

[dpdk-dev] [PATCH v7 5/9] null: virtual dynamic rss configuration

2015-10-30 Thread Tomasz Kulasek
: - replaced memcpy with rte_memcpy Signed-off-by: Tomasz Kulasek Acked-by: Tetsuya Mukawa --- drivers/net/null/rte_eth_null.c | 115 +++ 1 file changed, 115 insertions(+) diff --git a/drivers/net/null/rte_eth_null.c b/drivers/net/null/rte_eth_null.c index

[dpdk-dev] [PATCH v7 4/9] null: export eth_dev_null_create

2015-10-30 Thread Tomasz Kulasek
v6 changes: - reordered with patch 5/9 - fixed forward dependency to patch patch 5/9 Signed-off-by: Tomasz Kulasek Acked-by: Tetsuya Mukawa --- drivers/net/null/Makefile |2 +- drivers/net/null/rte_eth_null.c |4 ++- drivers/net/null/rte_eth_null.h

[dpdk-dev] [PATCH v7 3/9] null: extend number of virtual queues

2015-10-30 Thread Tomasz Kulasek
This patch adds a possibility to configure more than one queue on null device. v5 changes: - fixed queues number configuration (using internals->nb_*_queues instead of dev->data->nb_*_queues) Signed-off-by: Tomasz Kulasek Acked-by: Tetsuya Mukawa --- drivers/net/null/rte_eth_null

[dpdk-dev] [PATCH v7 2/9] null: fix segfault when null_pmd added to bonding

2015-10-30 Thread Tomasz Kulasek
This patch initializes eth_dev->link_intr_cbs queue used when null pmd is added to the bonding. v5 changes: - removed unnecessary malloc for eth_driver (rte_null_pmd) Signed-off-by: Tomasz Kulasek Acked-by: Tetsuya Mukawa --- drivers/net/null/rte_eth_null.c |2 ++ 1 file changed

[dpdk-dev] [PATCH v7 1/9] bonding: rss dynamic configuration

2015-10-30 Thread Tomasz Kulasek
asily used as a pattern providing expected behavior, even if slaves RETA sizes are different. Signed-off-by: Tomasz Kulasek Acked-by: Declan Doherty --- drivers/net/bonding/rte_eth_bond_api.c | 28 drivers/net/bonding/rte_eth_bond_pmd.c | 205 ++-- drivers/n

[dpdk-dev] [PATCH v7 0/9] Dynamic RSS Configuration for Bonding

2015-10-30 Thread Tomasz Kulasek
supporting dynamic RSS configuration in bonding), - some code cleanups, - updated documentation, Tomasz Kulasek (9): bonding: rss dynamic configuration null: fix segfault when null_pmd added to bonding null: extend number of virtual queues null: export eth_dev_null_create null: virtu

[dpdk-dev] [PATCH v7 9/9] doc: dynamic rss configuration for bonding

2015-10-30 Thread Tomasz Kulasek
tomaszx.kulasek at intel.com> <1446213364-11856-1-git-send-email-tomaszx.kulasek at intel.com> Documentation update about implementation details and requirements for Dynamic RSS Configuration for Bonding. Signed-off-by: Tomasz Kulasek Acked-by: Declan Doherty --- .../prog_guide/link_bondi

[dpdk-dev] [PATCH v7 8/9] doc: fixed spellings and typos

2015-10-30 Thread Tomasz Kulasek
ek at intel.com> <1446213364-11856-1-git-send-email-tomaszx.kulasek at intel.com> Signed-off-by: Tomasz Kulasek Acked-by: Declan Doherty --- .../prog_guide/link_bonding_poll_mode_drv_lib.rst |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[dpdk-dev] [PATCH v7 7/9] bonding: per queue stats

2015-10-30 Thread Tomasz Kulasek
m eth_dev_ops of bonding device Signed-off-by: Tomasz Kulasek Acked-by: Declan Doherty --- drivers/net/bonding/rte_eth_bond_pmd.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c

[dpdk-dev] [PATCH v7 6/9] test: dynamic rss configuration

2015-10-30 Thread Tomasz Kulasek
ek at intel.com> <1446213364-11856-1-git-send-email-tomaszx.kulasek at intel.com> v7 changes: - Makefile for test app changed to not break compilation when CONFIG_RTE_LIBRTE_PMD_NULL=n (now module is silently omitted when requirements not met) Signed-off-by: Tomasz Kulasek

[dpdk-dev] [PATCH v7 5/9] null: virtual dynamic rss configuration

2015-10-30 Thread Tomasz Kulasek
6 changes: - reordered with patch 4/9 - recreated due to the changes in patch 4/9 v5 changes: - replaced memcpy with rte_memcpy Signed-off-by: Tomasz Kulasek Acked-by: Tetsuya Mukawa --- drivers/net/null/rte_eth_null.c | 115 +++ 1 file

[dpdk-dev] [PATCH v7 4/9] null: export eth_dev_null_create

2015-10-30 Thread Tomasz Kulasek
ek at intel.com> <1446213364-11856-1-git-send-email-tomaszx.kulasek at intel.com> v6 changes: - reordered with patch 5/9 - fixed forward dependency to patch patch 5/9 Signed-off-by: Tomasz Kulasek Acked-by: Tetsuya Mukawa --- drivers/net/null/Makefile |

[dpdk-dev] [PATCH v7 3/9] null: extend number of virtual queues

2015-10-30 Thread Tomasz Kulasek
ek at intel.com> <1446213364-11856-1-git-send-email-tomaszx.kulasek at intel.com> This patch adds a possibility to configure more than one queue on null device. v5 changes: - fixed queues number configuration (using internals->nb_*_queues instead of dev->data->nb_*

[dpdk-dev] [PATCH v7 2/9] null: fix segfault when null_pmd added to bonding

2015-10-30 Thread Tomasz Kulasek
ek at intel.com> <1446213364-11856-1-git-send-email-tomaszx.kulasek at intel.com> This patch initializes eth_dev->link_intr_cbs queue used when null pmd is added to the bonding. v5 changes: - removed unnecessary malloc for eth_driver (rte_null_pmd) Signed-off-by: Tomasz

[dpdk-dev] [PATCH v7 1/9] bonding: rss dynamic configuration

2015-10-30 Thread Tomasz Kulasek
opagated over the slaves "as is". 3) RETA for bonding is an internal table managed by bonding API, and is used as a pattern to set up slaves. Its size is GCD of all RETA sizes, so it can be easily used as a pattern providing expected behavior, even if slaves RETA sizes are different. Sig

[dpdk-dev] [PATCH v7 0/9] Dynamic RSS Configuration for Bonding

2015-10-30 Thread Tomasz Kulasek
ffloads for bonding, - fix - changed error to warning when slave is synchronizing due to the bonding's initial configuration (to allow use slaves' drivers not supporting dynamic RSS configuration in bonding), - some code cleanups, - updated documentation, Tomasz Kulasek (9): bondin

[dpdk-dev] [PATCH v6 8/9] doc: fixed spellings and typos

2015-10-16 Thread Tomasz Kulasek
Signed-off-by: Tomasz Kulasek --- .../prog_guide/link_bonding_poll_mode_drv_lib.rst |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst b/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst index 96e554f

[dpdk-dev] [PATCH v6 7/9] bonding: per queue stats

2015-10-16 Thread Tomasz Kulasek
This patch adds fills bonding port's stats with a sum of corresponding values taken from bonded slaves, when stats are requested for bonding port. v5 changes: - removed queue_stats_mapping_set from eth_dev_ops of bonding device Signed-off-by: Tomasz Kulasek --- drivers/net/bonding

[dpdk-dev] [PATCH v6 6/9] test: dynamic rss configuration

2015-10-16 Thread Tomasz Kulasek
Signed-off-by: Tomasz Kulasek --- app/test/Makefile|8 + app/test/test_link_bonding_rssconf.c | 679 ++ 2 files changed, 687 insertions(+) create mode 100644 app/test/test_link_bonding_rssconf.c diff --git a/app/test/Makefile b/app/test

[dpdk-dev] [PATCH v6 5/9] null: virtual dynamic rss configuration

2015-10-16 Thread Tomasz Kulasek
: - replaced memcpy with rte_memcpy Signed-off-by: Tomasz Kulasek --- drivers/net/null/rte_eth_null.c | 115 +++ 1 file changed, 115 insertions(+) diff --git a/drivers/net/null/rte_eth_null.c b/drivers/net/null/rte_eth_null.c index 236d998..64e9000 100644

[dpdk-dev] [PATCH v6 4/9] null: export eth_dev_null_create

2015-10-16 Thread Tomasz Kulasek
v6 changes: - reordered with patch 5/9 - fixed forward dependency to the patch 5/9 Signed-off-by: Tomasz Kulasek --- drivers/net/null/Makefile |2 +- drivers/net/null/rte_eth_null.c |4 ++- drivers/net/null/rte_eth_null.h | 40

[dpdk-dev] [PATCH v6 3/9] null: extend number of virtual queues

2015-10-16 Thread Tomasz Kulasek
This patch adds a possibility to configure more than one queue on null device. v5 changes: - fixed queues number configuration (using internals->nb_*_queues instead of dev->data->nb_*_queues) Signed-off-by: Tomasz Kulasek --- drivers/net/null/rte_eth_null

[dpdk-dev] [PATCH v6 2/9] null: fix segfault when null_pmd added to bonding

2015-10-16 Thread Tomasz Kulasek
This patch initializes eth_dev->link_intr_cbs queue used when null pmd is added to the bonding. v5 changes: - removed unnecessary malloc for eth_driver (rte_null_pmd) Signed-off-by: Tomasz Kulasek --- drivers/net/null/rte_eth_null.c |2 ++ 1 file changed, 2 insertions(+) diff --

[dpdk-dev] [PATCH v6 1/9] bonding: rss dynamic configuration

2015-10-16 Thread Tomasz Kulasek
asily used as a pattern providing expected behavior, even if slaves RETA sizes are different. Signed-off-by: Tomasz Kulasek --- drivers/net/bonding/rte_eth_bond_api.c | 28 drivers/net/bonding/rte_eth_bond_pmd.c | 205 ++-- drivers/net/bonding/rte_eth_bond

[dpdk-dev] [PATCH v6 0/9] Dynamic RSS Configuration for Bonding

2015-10-16 Thread Tomasz Kulasek
lly zeroed flow_type_rss_offloads for bonding, - fix - changed error to warning when slave is synchronizing due to the bonding's initial configuration (to allow use slaves' drivers not supporting dynamic RSS configuration in bonding), - some code cleanups, - updated documentation, Tomasz

[dpdk-dev] [PATCH v5 9/9] doc: dynamic rss configuration for bonding

2015-09-30 Thread Tomasz Kulasek
Documentation update about implementation details and requirements for Dynamic RSS Configuration for Bonding. Signed-off-by: Tomasz Kulasek --- .../prog_guide/link_bonding_poll_mode_drv_lib.rst | 34 ++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/doc

[dpdk-dev] [PATCH v5 8/9] doc: fixed spellings and typos

2015-09-30 Thread Tomasz Kulasek
Signed-off-by: Tomasz Kulasek --- .../prog_guide/link_bonding_poll_mode_drv_lib.rst |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst b/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst index 96e554f

[dpdk-dev] [PATCH v5 7/9] bonding: per queue stats

2015-09-30 Thread Tomasz Kulasek
This patch fills bonding port's stats with a sum of corresponding values taken from bonded slaves, when stats are requested for bonding port. v5 changes: - removed queue_stats_mapping_set from eth_dev_ops of bonding device Signed-off-by: Tomasz Kulasek --- drivers/net/bonding

[dpdk-dev] [PATCH v5 6/9] test: dynamic rss configuration

2015-09-30 Thread Tomasz Kulasek
Signed-off-by: Tomasz Kulasek --- app/test/Makefile|8 + app/test/test_link_bonding_rssconf.c | 679 ++ 2 files changed, 687 insertions(+) create mode 100644 app/test/test_link_bonding_rssconf.c diff --git a/app/test/Makefile b/app/test

[dpdk-dev] [PATCH v5 5/9] null: export eth_dev_null_create

2015-09-30 Thread Tomasz Kulasek
Signed-off-by: Tomasz Kulasek --- drivers/net/null/Makefile |2 +- drivers/net/null/rte_eth_null.c |2 +- drivers/net/null/rte_eth_null.h | 40 + drivers/net/null/rte_pmd_null_version.map |7 + 4 files changed, 49

[dpdk-dev] [PATCH v5 4/9] null: virtual dynamic rss configuration

2015-09-30 Thread Tomasz Kulasek
This implementation allows to set and read RSS configuration for null device, and is used to validate right values propagation over the slaves, in test units for dynamic RSS configuration for bonding. v5 changes: - replaced memcpy with rte_memcpy Signed-off-by: Tomasz Kulasek --- drivers/net

[dpdk-dev] [PATCH v5 3/9] null: extend number of virtual queues

2015-09-30 Thread Tomasz Kulasek
This patch adds a possibility to configure more than one queue on null device. v5 changes: - fixed queues number configuration (using internals->nb_*_queues instead of dev->data->nb_*_queues) Signed-off-by: Tomasz Kulasek --- drivers/net/null/rte_eth_null

[dpdk-dev] [PATCH v5 2/9] null: fix segfault when null_pmd added to bonding

2015-09-30 Thread Tomasz Kulasek
This patch initializes eth_dev->link_intr_cbs queue used when null pmd is added to the bonding. v5 changes: - removed unnecessary malloc for eth_driver (rte_null_pmd) Signed-off-by: Tomasz Kulasek --- drivers/net/null/rte_eth_null.c |2 ++ 1 file changed, 2 insertions(+) diff --

[dpdk-dev] [PATCH v5 1/9] bonding: rss dynamic configuration

2015-09-30 Thread Tomasz Kulasek
asily used as a pattern providing expected behavior, even if slaves RETA sizes are different. Signed-off-by: Tomasz Kulasek --- drivers/net/bonding/rte_eth_bond_api.c | 28 drivers/net/bonding/rte_eth_bond_pmd.c | 205 ++-- drivers/net/bonding/rte_eth_bond

[dpdk-dev] [PATCH v5 0/9] Dynamic RSS Configuration for Bonding

2015-09-30 Thread Tomasz Kulasek
when slave is synchronizing due to the bonding's initial configuration (to allow use slaves' drivers not supporting dynamic RSS configuration in bonding), - some code cleanups, - updated documentation, Tomasz Kulasek (9): bonding: rss dynamic configuration null: fix segfault when null

[PATCH 2/4] null: extend number of virtual queues

2015-09-29 Thread Tomasz Kulasek
--- drivers/net/null/rte_eth_null.c | 28 +++- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/drivers/net/null/rte_eth_null.c b/drivers/net/null/rte_eth_null.c index b498ef1..68cb723 100644 --- a/drivers/net/null/rte_eth_null.c +++

[dpdk-dev] [PATCHv4 9/9] doc: dynamic rss configuration for bonding

2015-07-15 Thread Tomasz Kulasek
Documentation update about implementation details and requirements for Dynamic RSS Configuration for Bonding. Signed-off-by: Tomasz Kulasek --- .../prog_guide/link_bonding_poll_mode_drv_lib.rst | 34 ++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/doc

[dpdk-dev] [PATCHv4 8/9] doc: fixed spellings and typos

2015-07-15 Thread Tomasz Kulasek
Signed-off-by: Tomasz Kulasek --- .../prog_guide/link_bonding_poll_mode_drv_lib.rst |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst b/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst index 96e554f

[dpdk-dev] [PATCHv4 7/9] bonding: queue stats mapping

2015-07-15 Thread Tomasz Kulasek
This patch adds propagation of mapping over the slaves, and fills bonding port's stats with a sum of corresponding values taken from bonded slaves, when stats are requested for bonding port. Signed-off-by: Tomasz Kulasek --- drivers/net/bonding/rte_eth_bond_pmd.c | 34

[dpdk-dev] [PATCHv4 6/9] test: dynamic rss configuration

2015-07-15 Thread Tomasz Kulasek
: - adapted to use null pmd driver in place of ring pmd Signed-off-by: Tomasz Kulasek --- app/test/Makefile|8 + app/test/test_link_bonding_rssconf.c | 679 ++ 2 files changed, 687 insertions(+) create mode 100644 app/test

[dpdk-dev] [PATCHv4 5/9] null: export eth_dev_null_create

2015-07-15 Thread Tomasz Kulasek
To use eth_dev_null_create in application this method needs to be exported. Signed-off-by: Tomasz Kulasek --- drivers/net/null/Makefile |2 +- drivers/net/null/rte_eth_null.c |3 ++- drivers/net/null/rte_eth_null.h | 40

[dpdk-dev] [PATCHv4 4/9] null: virtual dynamic rss configuration

2015-07-15 Thread Tomasz Kulasek
This implementation allows to set and read RSS configuration for null device, and is used to validate right values propagation over the slaves, in test units for dynamic RSS configuration for bonding. Signed-off-by: Tomasz Kulasek --- drivers/net/null/rte_eth_null.c | 116

[dpdk-dev] [PATCHv4 3/9] null: extend number of virtual queues

2015-07-15 Thread Tomasz Kulasek
This patch adds a possibility to configure more than one queue on null device. Signed-off-by: Tomasz Kulasek --- drivers/net/null/rte_eth_null.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/null/rte_eth_null.c b/drivers/net/null/rte_eth_null.c

[dpdk-dev] [PATCHv4 2/9] null: fix segfault when null_pmd added to bonding

2015-07-15 Thread Tomasz Kulasek
When device is added to the bonding, the link status callback is added to the slave's eth_dev->link_intr_cbs list. This list is not initialized for null pmd and adding it to the bonding segfaults application. This patch allocates and sets up required structures. Signed-off-by: Tomasz Kula

[dpdk-dev] [PATCHv4 1/9] bonding: rss dynamic configuration

2015-07-15 Thread Tomasz Kulasek
asily used as a pattern providing expected behavior, even if slaves RETA sizes are different. Signed-off-by: Tomasz Kulasek --- drivers/net/bonding/rte_eth_bond_api.c | 28 drivers/net/bonding/rte_eth_bond_pmd.c | 205 ++-- drivers/net/bonding/rte_eth_bond

[dpdk-dev] [PATCHv4 0/9] Dynamic RSS Configuration for Bonding

2015-07-15 Thread Tomasz Kulasek
oo complex and introducing a new dependency, - addapted null pmd to be used as testing device for dynamic RSS configuration, - addapted test units to use null pmd instead of ring pmd, - ring pmd is not used and changed in this patchset, Tomasz Kulasek (9): bonding: rss dynamic configurat

[dpdk-dev] [PATCH v3 8/8] doc: dynamic rss configuration for bonding

2015-06-29 Thread Tomasz Kulasek
Documentation update about implementation details and requirements for Dynamic RSS Configuration for Bonding. Signed-off-by: Tomasz Kulasek --- .../prog_guide/link_bonding_poll_mode_drv_lib.rst | 34 ++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/doc

[dpdk-dev] [PATCH v3 7/8] doc: fixed spellings and typos

2015-06-29 Thread Tomasz Kulasek
Signed-off-by: Tomasz Kulasek --- .../prog_guide/link_bonding_poll_mode_drv_lib.rst |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst b/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst index 96e554f

[dpdk-dev] [PATCH v3 6/8] examples: dynamic rss configuration for bonding

2015-06-29 Thread Tomasz Kulasek
Signed-off-by: Tomasz Kulasek --- examples/bond_rss/Makefile | 59 +++ examples/bond_rss/bondrss.c | 293 ++ examples/bond_rss/bondrss.h | 163 examples/bond_rss/config.c | 251 examples/bond_rss/ui.c | 945 +++ 5

[dpdk-dev] [PATCH v3 5/8] ring: queue stats mapping set dummy implementation

2015-06-29 Thread Tomasz Kulasek
Per queue statistics are already implemented for ring device, but with static mapping (stat_idx == queue_id). This fix is required, if you want to use ring device in test application and is used only to point that per queue statistics are provided for this device. Signed-off-by: Tomasz Kulasek

[dpdk-dev] [PATCH v3 4/8] bonding: queue stats mapping

2015-06-29 Thread Tomasz Kulasek
Queue stats mapping is used in example application. This patch adds propagation of mapping over the slaves, and fills bonding port's stats with a sum of corresponding values taken from bonded slaves, when stats are requested for bonding port. Signed-off-by: Tomasz Kulasek --- drivers/net

[dpdk-dev] [PATCH v3 2/8] ring: dynamic rss configuration

2015-06-29 Thread Tomasz Kulasek
This implementation allows to set and read RSS configuration for ring device, and is used to validate right values propagation over the slaves, in test units for dynamic RSS configuration for bonding. It have no impact on packet processing by ring device. Signed-off-by: Tomasz Kulasek

[dpdk-dev] [PATCH v3 0/8] Dynamic RSS Configuration for Bonding

2015-06-29 Thread Tomasz Kulasek
chronizing due to the bonding's initial configuration (to allow use slaves' drivers not supporting dynamic RSS configuration in bonding), - some code cleanups, - updated documentation, Tomasz Kulasek (8): bonding: rss dynamic configuration ring: dynamic rss configuration test: d

[dpdk-dev] [PATCH v2] vpmd: rss hash ol_flag for unified packet type

2015-06-26 Thread Tomasz Kulasek
recreated due to a renaming of RTE_UNIFIED_PKT_TYPE to RTE_NEXT_ABI in "unified packet size v8" Signed-off-by: Tomasz Kulasek --- drivers/net/ixgbe/ixgbe_rxtx_vec.c | 114 1 file changed, 88 insertions(+), 26 deletions(-) diff --git

[dpdk-dev] [PATCH] vpmd: rss hash ol_flag

2015-06-24 Thread Tomasz Kulasek
This patch adds management of PKT_RX_FDIR and PKT_RX_RSS_HASH ol_flags in vPMD. Signed-off-by: Tomasz Kulasek --- drivers/net/ixgbe/ixgbe_rxtx_vec.c | 41 +++- 1 file changed, 31 insertions(+), 10 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_rxtx_vec.c b

[dpdk-dev] [PATCH] bond: fix check initial link status of slave

2015-06-24 Thread Tomasz Kulasek
properly. Signed-off-by: Tomasz Kulasek --- drivers/net/bonding/rte_eth_bond_pmd.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c index 8bad2e1..277b310 100644 --- a/drivers/net/bonding

[dpdk-dev] [PATCH v2 8/8] doc: dynamic rss configuration for bonding

2015-06-19 Thread Tomasz Kulasek
Documentation update about implementation details and requirements for Dynamic RSS Configuration for Bonding. Signed-off-by: Tomasz Kulasek --- .../prog_guide/link_bonding_poll_mode_drv_lib.rst | 34 ++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/doc

[dpdk-dev] [PATCH v2 7/8] doc: fixed spellings and typos

2015-06-19 Thread Tomasz Kulasek
Signed-off-by: Tomasz Kulasek --- .../prog_guide/link_bonding_poll_mode_drv_lib.rst |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst b/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst index 96e554f

[dpdk-dev] [PATCH v2 6/8] examples: dynamic rss configuration for bonding

2015-06-19 Thread Tomasz Kulasek
-off-by: Tomasz Kulasek --- examples/bond_rss/Makefile | 59 +++ examples/bond_rss/bondrss.c | 293 ++ examples/bond_rss/bondrss.h | 163 examples/bond_rss/config.c | 251 examples/bond_rss/ui.c | 920 +++ 5

[dpdk-dev] [PATCH v2 5/8] ring: queue stats mapping set dummy implementation

2015-06-19 Thread Tomasz Kulasek
Per queue statistics are already implemented for ring device, but with static mapping (stat_idx == queue_id). This fix is required, if you want to use ring device in test application and is used only to point that per queue statistics are provided for this device. Signed-off-by: Tomasz Kulasek

[dpdk-dev] [PATCH v2 4/8] bond: queue stats mapping

2015-06-19 Thread Tomasz Kulasek
Queue stats mapping is used in example application. This patch adds propagation of mapping over the slaves, and fills bonding port's stats with a sum of corresponding values taken from bonded slaves, when stats are requested for bonding port. Signed-off-by: Tomasz Kulasek --- drivers/net

[dpdk-dev] [PATCH v2 3/8] test: dynamic rss configuration

2015-06-19 Thread Tomasz Kulasek
to the bonding a) Remove slave from bonding. b) Change its configuration to other than bonding. c) Add slave to the started bonding device. d) Check if slaves configuration changed. 3) Repeat point 1) and 2) with RSS multi-queue mode enabled/disabled for bonding port. Signed-off-by: Tomasz

[dpdk-dev] [PATCH v2 2/8] ring: dynamic rss configuration

2015-06-19 Thread Tomasz Kulasek
This implementation allows to set and read RSS configuration for ring device, and is used to validate right values propagation over the slaves, in test units for dynamic RSS configuration for bonding. It have no impact on packet processing by ring device. Signed-off-by: Tomasz Kulasek

[dpdk-dev] [PATCH v2 1/8] bond: rss dynamic configuration

2015-06-19 Thread Tomasz Kulasek
asily used as a pattern providing expected behavior, even if slaves RETA sizes are different. Signed-off-by: Tomasz Kulasek --- drivers/net/bonding/rte_eth_bond_api.c | 27 drivers/net/bonding/rte_eth_bond_pmd.c | 209 ++-- drivers/net/bonding/rte_eth_bond

[dpdk-dev] [PATCH v2 0/8] Dynamic RSS Configuration for Bonding

2015-06-19 Thread Tomasz Kulasek
's initial configuration (to allow use slaves' drivers not supporting dynamic RSS configuration in bonding), - some code cleanups, - updated documentation, Tomasz Kulasek (8): bond: rss dynamic configuration ring: dynamic rss configuration test: dynamic rss configuration bond: queue sta

[dpdk-dev] [PATCH 8/8] doc: dynamic rss configuration for bonding

2015-06-03 Thread Tomasz Kulasek
Documentation update about implementation details and requirements for Dynamic RSS Configuration for Bonding. Signed-off-by: Tomasz Kulasek --- .../prog_guide/link_bonding_poll_mode_drv_lib.rst | 32 ++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/doc

[dpdk-dev] [PATCH 7/8] doc: fixed spellings and typos

2015-06-03 Thread Tomasz Kulasek
Signed-off-by: Tomasz Kulasek --- .../prog_guide/link_bonding_poll_mode_drv_lib.rst |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst b/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst index 96e554f

[dpdk-dev] [PATCH 6/8] examples: dynamic rss configuration for bonding

2015-06-03 Thread Tomasz Kulasek
-off-by: Tomasz Kulasek --- examples/bond_rss/Makefile | 59 +++ examples/bond_rss/bondrss.c | 293 ++ examples/bond_rss/bondrss.h | 163 examples/bond_rss/config.c | 251 examples/bond_rss/ui.c | 915 +++ 5

[dpdk-dev] [PATCH 5/8] ring: queue stats mapping set dummy implementation

2015-06-03 Thread Tomasz Kulasek
Per queue statistics are already implemented for ring device, but with static mapping (stat_idx == queue_id). This fix is required, if you want to use ring device in test application and is used only to point that per queue statistics are provided for this device. Signed-off-by: Tomasz Kulasek

[dpdk-dev] [PATCH 4/8] bond: queue stats mapping

2015-06-03 Thread Tomasz Kulasek
Queue stats mapping is used in example application. This patch adds propagation of mapping over the slaves, and fills bonding port's stats with a sum of corresponding values taken from bonded slaves, when stats are requested for bonding port. Signed-off-by: Tomasz Kulasek --- drivers/net

[dpdk-dev] [PATCH 3/8] test: dynamic rss configuration

2015-06-03 Thread Tomasz Kulasek
to the bonding a) Remove slave from bonding. b) Change its configuration to other than bonding. c) Add slave to the started bonding device. d) Check if slaves configuration changed. 3) Repeat point 1) and 2) with RSS multi-queue mode enabled/disabled for bonding port. Signed-off-by: Tomasz

[dpdk-dev] [PATCH 2/8] ring: dynamic rss configuration

2015-06-03 Thread Tomasz Kulasek
This implementation allows to set and read RSS configuration for ring device, and is used to validate right values propagation over the slaves, in test units for dynamic RSS configuration for bonding. It have no impact on packet processing by ring device. Signed-off-by: Tomasz Kulasek

[dpdk-dev] [PATCH 1/8] bond: dynamic rss configuration

2015-06-03 Thread Tomasz Kulasek
RETA sizes, so it can be easily used as a pattern providing expected behavior, even if slaves RETA sizes are different. Signed-off-by: Tomasz Kulasek --- drivers/net/bonding/rte_eth_bond_api.c | 22 drivers/net/bonding/rte_eth_bond_pmd.c | 192 ++-- d

[dpdk-dev] [PATCH 0/8] Dynamic RSS Configuration for Bonding

2015-06-03 Thread Tomasz Kulasek
onsistency of RSS configuration for slaves isn't required. Turning on/off RSS mode for slaves when bonding is started is not possible. Other RSS configuration is propagated over slaves, when bonding device API is used to do it. Tomasz Kulasek (8): bond: dynamic rss configuration ring: d

[dpdk-dev] [PATCH v4 4/4] pmd_bond: Set routines required by test app global

2015-02-13 Thread Tomasz Kulasek
rte_eth_bond_8023ad_setup and rte_eth_bond_8023ad_conf_get entries need to be exported to be used by test application for shared libraries compilation. Signed-off-by: Tomasz Kulasek --- lib/librte_pmd_bond/rte_eth_bond_version.map |2 ++ 1 file changed, 2 insertions(+) diff --git a/lib

[dpdk-dev] [PATCH v4 3/4] mk: Link test app against librte_pmd_ring when needed

2015-02-13 Thread Tomasz Kulasek
This patch links test application against librte_pmd_ring.so for shared libraries. It's required as long as librte_pmd_ring provides some aditional routines used for testing purposes and must be "hard-linked". Signed-off-by: Tomasz Kulasek --- app/test/Makefile | 15 +

[dpdk-dev] [PATCH v4 2/4] test: Unit tests for mode 4

2015-02-13 Thread Tomasz Kulasek
- Adapting to changes in the initialize_eth_header API Signed-off-by: Pawel Wodkowski Signed-off-by: Tomasz Kulasek --- app/test/Makefile |1 + app/test/test_link_bonding.c |2 +- app/test/test_link_bonding_mode4.c | 1413 3 files

[dpdk-dev] [PATCH v4 1/4] test: test.h rework

2015-02-13 Thread Tomasz Kulasek
Signed-off-by: Pawel Wodkowski Signed-off-by: Tomasz Kulasek --- app/test/test.h | 112 --- 1 file changed, 66 insertions(+), 46 deletions(-) diff --git a/app/test/test.h b/app/test/test.h index 896f7db..5450986 100644 --- a/app/test/test.h

[dpdk-dev] [PATCH v4 0/4] Unit tests for mode 4

2015-02-13 Thread Tomasz Kulasek
v3 changes - Fix compilation issues for dynamic libraries - Re-create a series of patches to maintain consistency v2 changes - Patch split for better readability Tomasz Kulasek (4): test: test.h rework test: Unit tests for mode 4 mk: Link test app against librte_pmd_ring when needed pmd

[dpdk-dev] [PATCH v3] mk: Link test app against librte_pmd_ring when needed

2015-01-29 Thread Tomasz Kulasek
This patch links test application against librte_pmd_ring.so for shared libraries. It's required as long as librte_pmd_ring provides some aditional routines used for configuration and testing purposes and must be "hard-linked". Signed-off-by: Tomasz Kulasek --- app/test/Makef

[dpdk-dev] [PATCH v3 2/3] test: Unit tests for mode 4

2015-01-29 Thread Tomasz Kulasek
re-created for current release to maintain consistency Signed-off-by: Pawel Wodkowski Signed-off-by: Tomasz Kulasek --- app/test/Makefile |1 + app/test/test_link_bonding.c |2 +- app/test/test_link_bonding_mode4.c | 1412 3

[dpdk-dev] [PATCH v3 1/3] test: test.h rework

2015-01-29 Thread Tomasz Kulasek
v3 changes - No major changes. Patch re-created for current release to maintain consistency. Signed-off-by: Pawel Wodkowski Signed-off-by: Tomasz Kulasek --- app/test/test.h | 112 --- 1 file changed, 66 insertions(+), 46 deletions

[dpdk-dev] [PATCH v2 2/2] Unit tests for mode 4

2015-01-19 Thread Tomasz Kulasek
-by: Tomasz Kulasek Signed-off-by: Pawel Wodkowski --- app/test/Makefile |1 + app/test/test_link_bonding.c |2 +- app/test/test_link_bonding_mode4.c | 1412 3 files changed, 1414 insertions(+), 1 deletion(-) create mode 100644 app/test

[dpdk-dev] [PATCH v2 1/2] Unit tests - test.h rework

2015-01-19 Thread Tomasz Kulasek
Signed-off-by: Tomasz Kulasek Signed-off-by: Pawel Wodkowski --- app/test/test.h | 112 --- 1 file changed, 66 insertions(+), 46 deletions(-) diff --git a/app/test/test.h b/app/test/test.h index 896f7db..5450986 100644 --- a/app/test/test.h

[dpdk-dev] [PATCH v2 0/2] unit tests add mode 4 unit test

2015-01-19 Thread Tomasz Kulasek
Update v2: Patch split - separated test.h rework and unit test for mode 4 patch. Tomasz Kulasek (2): Unit tests - test.h rework Unit tests for mode 4 app/test/Makefile |1 + app/test/test.h| 112 +-- app/test/test_link_bonding.c |2 +- app

[dpdk-dev] [PATCH v2 3/3] PMD Ring - Fix for MAC per device management

2015-01-19 Thread Tomasz Kulasek
Initialization procedure fix to allow per device MAC configuration. Signed-off-by: Tomasz Kulasek Signed-off-by: Pawel Wodkowski --- lib/librte_pmd_ring/rte_eth_ring.c | 30 +- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/lib/librte_pmd_ring

[dpdk-dev] [PATCH v2 2/3] PMD Ring - Add MAC addr add/remove functions

2015-01-19 Thread Tomasz Kulasek
Added MAC addr add/remove dummy callbacks. Signed-off-by: Tomasz Kulasek Signed-off-by: Pawel Wodkowski --- lib/librte_pmd_ring/rte_eth_ring.c | 16 1 file changed, 16 insertions(+) diff --git a/lib/librte_pmd_ring/rte_eth_ring.c b/lib/librte_pmd_ring/rte_eth_ring.c index

<    1   2   3   >