[dpdk-dev] [PATCH 8/8] lib: change function suffix in distributor

2019-09-30 Thread Marcin Baran
The functions and structures version 2.0 is still in use in librte_distributor for single packet mode but the version suffix "_v20" needs to be changed to "_single" in order to avoid confusion. Signed-off-by: Marcin Baran --- lib/librte_distributor/Makefile

[dpdk-dev] [PATCH 7/8] lib: remove dead code from distributor

2019-09-30 Thread Marcin Baran
After updating ABI policy old and unused code needs to be removed and all libraries symbols version should be set to v20. Signed-off-by: Marcin Baran --- lib/librte_distributor/rte_distributor.c | 56 +++-- .../rte_distributor_v1705.h | 61

[dpdk-dev] [PATCH 4/8] build: change ABI version to 20.0

2019-09-30 Thread Marcin Baran
From: Pawel Modrak Merge all vesions in linker version script files to DPDK_20.0. Use version 20.0 as default version in source files. Signed-off-by: Pawel Modrak --- .../rte_pmd_bbdev_fpga_lte_fec_version.map| 5 +- .../null/rte_pmd_bbdev_null_version.map | 3 +- .../rte_pmd_bbd

[dpdk-dev] [PATCH 5/8] lib: remove dead code from timer

2019-09-30 Thread Marcin Baran
After updating ABI policy old and unused code needs to be removed and all libraries symbols version should be set to v20. Signed-off-by: Marcin Baran --- lib/librte_timer/rte_timer.c | 85 +++- lib/librte_timer/rte_timer.h | 15 --- 2 files changed, 5

[dpdk-dev] [PATCH 6/8] lib: remove dead code from lpm

2019-09-30 Thread Marcin Baran
After updating ABI policy old and unused code needs to be removed and all libraries symbols version should be set to v20. Signed-off-by: Marcin Baran --- lib/librte_lpm/rte_lpm.c | 995 ++ lib/librte_lpm/rte_lpm.h | 88 lib/librte_lpm/rte_lpm6.c | 128

[dpdk-dev] [PATCH 2/8] buildtools: scripts for updating symbols abi version

2019-09-30 Thread Marcin Baran
From: Pawel Modrak The scripts updates version number for binding symbols and version map files. Signed-off-by: Pawel Modrak --- buildtools/update_default_symbol_abi.py | 57 buildtools/update_version_map_abi.py| 110 2 files changed, 167 insertions(+

[dpdk-dev] [PATCH 3/8] buildtools: add ABI versioning check script

2019-09-30 Thread Marcin Baran
The script 'check-abi-version.sh' should be used to check whether built libraries are versioned with correct ABI number (provided ABI, provided ABI+1 or EXPERIMENTAL). Signed-off-by: Marcin Baran Signed-off-by: Pawel Modrak --- buildtools/check-abi-versi

[dpdk-dev] [PATCH 1/8] config: change ABI versioning for global

2019-09-30 Thread Marcin Baran
The libraries should be maintained using global ABI versioning. The changes includes adding global ABI version support for both makefile and meson build system. Experimental libraries should be marked as 0. Signed-off-by: Marcin Baran Signed-off-by: Pawel Modrak --- buildtools/meson.build | 2

[dpdk-dev] [PATCH v6 6/6] doc/guides/: provide IOAT sample app guide

2019-09-30 Thread Marcin Baran
Added guide for IOAT sample app usage and code description. Signed-off-by: Marcin Baran --- doc/guides/sample_app_ug/index.rst | 1 + doc/guides/sample_app_ug/intro.rst | 4 + doc/guides/sample_app_ug/ioat.rst | 581 + 3 files changed, 586 insertions(+) create

[dpdk-dev] [PATCH v6 5/6] examples/ioat: add stats printing for each port

2019-09-30 Thread Marcin Baran
Added printing stats of ports each second. The stats printing is done using master core. The information provided informs about packets received, dropped and send as well as statistics of rawdev devices. Signed-off-by: Marcin Baran Signed-off-by: Pawel Modrak --- examples/ioat/ioatfwd.c | 235

[dpdk-dev] [PATCH v6 1/6] examples/ioat: create sample app on ioat driver usage

2019-09-30 Thread Marcin Baran
ff-by: Pawel Modrak Signed-off-by: Marcin Baran --- examples/Makefile | 3 + examples/ioat/Makefile| 54 + examples/ioat/ioatfwd.c | 439 ++ examples/ioat/meson.build | 15 ++ examples/meson.build | 1 + 5 files changed, 512 inser

[dpdk-dev] [PATCH v6 4/6] examples/ioat: add two threads configuration

2019-09-30 Thread Marcin Baran
From: Pawel Modrak Added possibility to use two lcores: first for packet receiving and copying, second for packets sending. Signed-off-by: Pawel Modrak Signed-off-by: Marcin Baran --- examples/ioat/ioatfwd.c | 47 + 1 file changed, 43 insertions(+), 4

[dpdk-dev] [PATCH v6 3/6] examples/ioat: add rawdev copy mode support

2019-09-30 Thread Marcin Baran
Added support for copying packets using rawdev device. Each port's Rx queue is assigned DMA channel for copy. Signed-off-by: Marcin Baran Signed-off-by: Pawel Modrak --- examples/ioat/ioatfwd.c | 117 +++- 1 file changed, 115 insertions(+), 2 dele

[dpdk-dev] [PATCH v6 2/6] examples/ioat: add software copy support

2019-09-30 Thread Marcin Baran
Added support for copying packets using software copy mode and MAC address changing. The copies are processed using one lcore. Signed-off-by: Marcin Baran Signed-off-by: Pawel Modrak --- examples/ioat/ioatfwd.c | 177 1 file changed, 177 insertions

[dpdk-dev] [PATCH v6 0/6] examples/ioat: sample app on ioat driver usage

2019-09-30 Thread Marcin Baran
eson build whether IOAT is supported v2: - change printing total stats to be deltas - update documentation - fix 1 thread/sw copy/multiple Rx queues packet dropping - divide patch into several presenting functional change Marcin Baran (4): examples/ioat: add software copy support examples/ioat:

[dpdk-dev] [PATCH v5 6/6] doc/guides/: provide IOAT sample app guide

2019-09-20 Thread Marcin Baran
Added guide for IOAT sample app usage and code description. Signed-off-by: Marcin Baran --- doc/guides/sample_app_ug/index.rst | 1 + doc/guides/sample_app_ug/intro.rst | 4 + doc/guides/sample_app_ug/ioat.rst | 764 + 3 files changed, 769 insertions(+) create

[dpdk-dev] [PATCH v5 5/6] examples/ioat: add stats printing for each port

2019-09-20 Thread Marcin Baran
Added printing stats of ports each second. The stats printing is done using master core. The information provided informs about packets received, dropped and send as well as statistics of rawdev devices. Signed-off-by: Marcin Baran Signed-off-by: Pawel Modrak --- examples/ioat/ioatfwd.c | 245

[dpdk-dev] [PATCH v5 3/6] examples/ioat: add rawdev copy mode support

2019-09-20 Thread Marcin Baran
Added support for copying packets using rawdev device. Each port's Rx queue is assigned DMA channel for copy. Signed-off-by: Marcin Baran Signed-off-by: Pawel Modrak --- examples/ioat/ioatfwd.c | 236 1 file changed, 189 insertions(+), 47 dele

[dpdk-dev] [PATCH v5 4/6] examples/ioat: add two threads configuration

2019-09-20 Thread Marcin Baran
From: Pawel Modrak Added possibility to use two lcores: first for packet receiving and copying, second for packets sending. Signed-off-by: Pawel Modrak Signed-off-by: Marcin Baran --- examples/ioat/ioatfwd.c | 92 ++--- 1 file changed, 67 insertions(+), 25

[dpdk-dev] [PATCH v5 0/6] examples/ioat: sample app on ioat driver usage

2019-09-20 Thread Marcin Baran
eues packet dropping - divide patch into several presenting functional change Marcin Baran (4): examples/ioat: add software copy support examples/ioat: add rawdev copy mode support examples/ioat: add stats printing for each port doc/guides/: provide IOAT sample app guide Pawel Modra

[dpdk-dev] [PATCH v5 1/6] examples/ioat: create sample app on ioat driver usage

2019-09-20 Thread Marcin Baran
ff-by: Pawel Modrak Signed-off-by: Marcin Baran --- examples/Makefile | 3 + examples/ioat/Makefile| 54 + examples/ioat/ioatfwd.c | 439 ++ examples/ioat/meson.build | 15 ++ examples/meson.build | 1 + 5 files changed, 512 inser

[dpdk-dev] [PATCH v5 2/6] examples/ioat: add software copy support

2019-09-20 Thread Marcin Baran
Added support for copying packets using software copy mode and MAC address changing. The copies are processed using one lcore. Signed-off-by: Marcin Baran Signed-off-by: Pawel Modrak --- examples/ioat/ioatfwd.c | 211 +++- 1 file changed, 188 insertions

[dpdk-dev] [PATCH v4 4/6] examples/ioat: add two threads configuration

2019-09-19 Thread Marcin Baran
From: Pawel Modrak Added possibility to use two lcores: first for packet receiving and copying, second for packets sending. Signed-off-by: Pawel Modrak Signed-off-by: Marcin Baran --- examples/ioat/ioatfwd.c | 92 ++--- 1 file changed, 67 insertions(+), 25

[dpdk-dev] [PATCH v4 5/6] examples/ioat: add stats printing for each port

2019-09-19 Thread Marcin Baran
Added printing stats of ports each second. The stats printing is done using master core. The information provided informs about packets received, dropped and send as well as statistics of rawdev devices. Signed-off-by: Marcin Baran Signed-off-by: Pawel Modrak --- examples/ioat/ioatfwd.c | 245

[dpdk-dev] [PATCH v4 6/6] doc/guides/: provide IOAT sample app guide

2019-09-19 Thread Marcin Baran
Added guide for IOAT sample app usage and code description. Signed-off-by: Marcin Baran --- doc/guides/sample_app_ug/index.rst | 1 + doc/guides/sample_app_ug/intro.rst | 4 + doc/guides/sample_app_ug/ioat.rst | 764 + 3 files changed, 769 insertions(+) create

[dpdk-dev] [PATCH v4 3/6] examples/ioat: add rawdev copy mode support

2019-09-19 Thread Marcin Baran
Added support for copying packets using rawdev device. Each port's Rx queue is assigned DMA channel for copy. Signed-off-by: Marcin Baran Signed-off-by: Pawel Modrak --- examples/ioat/ioatfwd.c | 236 1 file changed, 189 insertions(+), 47 dele

[dpdk-dev] [PATCH v4 2/6] examples/ioat: add software copy support

2019-09-19 Thread Marcin Baran
Added support for copying packets using software copy mode and MAC address changing. The copies are processed using one lcore. Signed-off-by: Marcin Baran Signed-off-by: Pawel Modrak --- examples/ioat/ioatfwd.c | 211 +++- 1 file changed, 188 insertions

[dpdk-dev] [PATCH v4 0/6] examples/ioat: sample app on ioat driver usage

2019-09-19 Thread Marcin Baran
add check for meson build whether IOAT is supported v2: - change printing total stats to be deltas - update documentation - fix 1 thread/sw copy/multiple Rx queues packet dropping - divide patch into several presenting functional change Marcin Baran (4): examples/ioat: add software co

[dpdk-dev] [PATCH v4 1/6] examples/ioat: create sample app on ioat driver usage

2019-09-19 Thread Marcin Baran
ff-by: Pawel Modrak Signed-off-by: Marcin Baran --- examples/Makefile | 3 + examples/ioat/Makefile| 54 + examples/ioat/ioatfwd.c | 439 ++ examples/ioat/meson.build | 23 ++ examples/meson.build | 1 + 5 files changed, 520 inser

[dpdk-dev] [PATCH v3 6/6] doc/guides/: provide IOAT sample app guide

2019-09-18 Thread Marcin Baran
Added guide for IOAT sample app usage and code description. Signed-off-by: Marcin Baran --- doc/guides/sample_app_ug/index.rst | 1 + doc/guides/sample_app_ug/intro.rst | 4 + doc/guides/sample_app_ug/ioat.rst | 764 + 3 files changed, 769 insertions(+) create

[dpdk-dev] [PATCH v3 2/6] examples/ioat: add software copy support

2019-09-18 Thread Marcin Baran
Added support for copying packets using software copy mode and MAC address changing. The copies are processed using one lcore. Signed-off-by: Marcin Baran Signed-off-by: Pawel Modrak --- examples/ioat/ioatfwd.c | 211 +++- 1 file changed, 188 insertions

[dpdk-dev] [PATCH v3 5/6] examples/ioat: add stats printing for each port

2019-09-18 Thread Marcin Baran
Added printing stats of ports each second. The stats printing is done using master core. The information provided informs about packets received, dropped and send as well as statistics of rawdev devices. Signed-off-by: Marcin Baran Signed-off-by: Pawel Modrak --- examples/ioat/ioatfwd.c | 245

[dpdk-dev] [PATCH v3 3/6] examples/ioat: add rawdev copy mode support

2019-09-18 Thread Marcin Baran
Added support for copying packets using rawdev device. Each port's Rx queue is assigned DMA channel for copy. Signed-off-by: Marcin Baran Signed-off-by: Pawel Modrak --- examples/ioat/ioatfwd.c | 236 1 file changed, 189 insertions(+), 47 dele

[dpdk-dev] [PATCH v3 0/6] examples/ioat: sample app on ioat driver usage

2019-09-18 Thread Marcin Baran
er IOAT is supported v2: - change printing total stats to be deltas - update documentation - fix 1 thread/sw copy/multiple Rx queues packet dropping - divide patch into several presenting functional change Marcin Baran (4): examples/ioat: add software copy support examples/ioat: add rawdev

[dpdk-dev] [PATCH v3 4/6] examples/ioat: add two threads configuration

2019-09-18 Thread Marcin Baran
From: Pawel Modrak Added possibility to use two lcores: first for packet receiving and copying, second for packets sending. Signed-off-by: Pawel Modrak Signed-off-by: Marcin Baran --- examples/ioat/ioatfwd.c | 92 ++--- 1 file changed, 67 insertions(+), 25

[dpdk-dev] [PATCH v3 1/6] examples/ioat: create sample app on ioat driver usage

2019-09-18 Thread Marcin Baran
ff-by: Pawel Modrak Signed-off-by: Marcin Baran --- examples/Makefile | 3 + examples/ioat/Makefile| 54 + examples/ioat/ioatfwd.c | 439 ++ examples/ioat/meson.build | 18 ++ examples/meson.build | 1 + 5 files changed, 515 inser

[dpdk-dev] [PATCH v2 6/6] doc/guides/: provide IOAT sample app guide

2019-09-13 Thread Marcin Baran
Added guide for IOAT sample app usage and code description. Signed-off-by: Marcin Baran --- doc/guides/sample_app_ug/index.rst | 1 + doc/guides/sample_app_ug/intro.rst | 4 + doc/guides/sample_app_ug/ioat.rst | 764 + 3 files changed, 769 insertions(+) create

[dpdk-dev] [PATCH v2 5/6] examples/ioat: add stats printing for each port

2019-09-13 Thread Marcin Baran
Added printing stats of ports each second. The stats printing is done using master core. The information provided informs about packets received, dropped and send as well as statistics of rawdev devices. Signed-off-by: Marcin Baran Signed-off-by: Pawel Modrak --- examples/ioat/ioatfwd.c | 245

[dpdk-dev] [PATCH v2 4/6] examples/ioat: add two threads configuration

2019-09-13 Thread Marcin Baran
From: Pawel Modrak Added possibility to use two lcores: first for packet receiving and copying, second for packets sending. Signed-off-by: Pawel Modrak Signed-off-by: Marcin Baran --- examples/ioat/ioatfwd.c | 92 ++--- 1 file changed, 67 insertions(+), 25

[dpdk-dev] [PATCH v2 3/6] examples/ioat: add rawdev copy mode support

2019-09-13 Thread Marcin Baran
Added support for copying packets using rawdev device. Each port's Rx queue is assigned DMA channel for copy. Signed-off-by: Marcin Baran Signed-off-by: Pawel Modrak --- examples/ioat/ioatfwd.c | 236 1 file changed, 189 insertions(+), 47 dele

[dpdk-dev] [PATCH v2 2/6] examples/ioat: add software copy support

2019-09-13 Thread Marcin Baran
Added support for copying packets using software copy mode and MAC address changing. The copies are processed using one lcore. Signed-off-by: Marcin Baran Signed-off-by: Pawel Modrak --- examples/ioat/ioatfwd.c | 211 +++- 1 file changed, 188 insertions

[dpdk-dev] [PATCH v2 1/6] examples/ioat: create sample app on ioat driver usage

2019-09-13 Thread Marcin Baran
ff-by: Pawel Modrak Signed-off-by: Marcin Baran --- examples/Makefile | 3 + examples/ioat/Makefile| 54 + examples/ioat/ioatfwd.c | 439 ++ examples/ioat/meson.build | 13 ++ examples/meson.build | 1 + 5 files changed, 510 inser

[dpdk-dev] [PATCH v2 0/6] examples/ioat: sample app on ioat driver usage

2019-09-13 Thread Marcin Baran
be deltas - update documentation - fix 1 thread/sw copy/multiple Rx queues packet dropping - divide patch into several presenting functional change Marcin Baran (4): examples/ioat: add software copy support examples/ioat: add rawdev copy mode support examples/ioat: add stats printing for each

[dpdk-dev] [PATCH] examples/ioat: create sample app on ioat driver usage

2019-09-09 Thread Marcin Baran
wel Modrak Signed-off-by: Marcin Baran --- doc/guides/sample_app_ug/index.rst |1 + doc/guides/sample_app_ug/intro.rst |4 + doc/guides/sample_app_ug/ioat.rst | 691 +++ examples/Makefile |3 + examples/ioat/Makefile | 54 ++ examples/ioat