[dpdk-dev] [PATCH] Allow verbose output for INSTALL-SHARED

2014-11-02 Thread Keith Wiles
Signed-off-by: Keith Wiles --- mk/rte.shared.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/rte.shared.mk b/mk/rte.shared.mk index 42feee7..e64d471 100644 --- a/mk/rte.shared.mk +++ b/mk/rte.shared.mk @@ -114,7 +114,7 @@ $(SHARED): $(OBJS-y) $(LDLIBS_FILES) $(DEP_

[dpdk-dev] [PATCH] Add external parser support for unknown commands.

2014-11-02 Thread Keith Wiles
for the external parser function should return CMDLINE_PARSE_NOMATCH if not able to match the command requested or zero is handled. Prototype of external routine: int (*cmdline_external_parser_t)(struct cmdline * cl, const char * buy); Signed-off-by: Keith Wiles --- lib/librte_cmdline/cmdline.h

[dpdk-dev] [PATCH v8 1/2] mk:Simplify the ifdefs in rte.app.mk

2015-05-12 Thread Keith Wiles
Simplify the ifdefs in rte.app.mk to make the code more readable and maintainable by moving LDLIBS variable to use the same style as LDLIBS-y being used in the rest of the code. The new internal variable _LDLIBS should not be used outside of the rte.app.mk file. Signed-off-by: Keith Wiles

[dpdk-dev] [PATCH v8 2/2] mk:Update Docs for new EXTRA_LDLIBS variable

2015-05-12 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/build-sdk-quick.txt | 1 + doc/guides/prog_guide/dev_kit_build_system.rst | 2 ++ doc/guides/prog_guide/dev_kit_root_make_help.rst | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/build-sdk-quick.txt b/doc

[dpdk-dev] [PATCH v9 1/2] mk:Simplify the ifdefs in the makefile

2015-05-13 Thread Keith Wiles
Simplify the ifdefs in rte.app.mk to make the code more readable and maintainable by introducing a internal _LDLIBS-y variable to build up the LDLIBS variable. The new internal variable _LDLIBS-y should not be used outside of the rte.app.mk file. Signed-off-by: Keith Wiles --- mk/rte.app.mk

[dpdk-dev] [PATCH v9 2/2] mk:Introduce the EXTRA_LDLIBS variable

2015-05-13 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/build-sdk-quick.txt | 1 + doc/guides/prog_guide/dev_kit_build_system.rst | 2 ++ doc/guides/prog_guide/dev_kit_root_make_help.rst | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/build-sdk-quick.txt b/doc

[dpdk-dev] [PATCH v10 1/2] mk:Simplify the ifdefs in the makefile

2015-05-14 Thread Keith Wiles
Simplify the ifdefs in rte.app.mk to make the code more readable and maintainable by introducing a internal _LDLIBS-y variable to build up the LDLIBS variable. The new internal variable _LDLIBS-y should not be used outside of the rte.app.mk file. Signed-off-by: Keith Wiles --- mk/rte.app.mk

[dpdk-dev] [PATCH v10 2/2] mk:Introduce the EXTRA_LDLIBS variable

2015-05-14 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/build-sdk-quick.txt | 1 + doc/guides/prog_guide/dev_kit_build_system.rst | 2 ++ doc/guides/prog_guide/dev_kit_root_make_help.rst | 2 +- mk/rte.app.mk| 2 +- 4 files changed, 5 insertions(+), 2

[dpdk-dev] [PATCH] Clang compile error with RTE_LIBRTE_MEMPOOL_DEBUG enabled.

2014-09-27 Thread Keith Wiles
When enabling RTE_LIBRTE_MEMPOOL_DEBUG and compiling with clang compiler an error occurs, because ifdefed code now includes GCC pragmas. Signed-off-by: Keith Wiles --- lib/librte_mempool/rte_mempool.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_mempool

[dpdk-dev] [PATCH] Clang compile error with RTE_LIBRTE_MEMPOOL_DEBUG enabled.

2014-09-27 Thread Keith Wiles
When enabling RTE_LIBRTE_MEMPOOL_DEBUG and compiling with clang compiler an error occurs, because ifdefed code now includes GCC pragmas. Signed-off-by: Keith Wiles --- lib/librte_mempool/rte_mempool.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_mempool

[dpdk-dev] [RFC PATCH 0/4] Extending DPDK to have more devices supported

2015-04-08 Thread Keith Wiles
first. Regards, ++Keith Keith Wiles (4): Rename of device types to be generic device names. Add the new common device header and C file. Update files to build new device generic common files and headers. Update the rte_ethdev.[ch] files for the new device generic changes. app/test

[dpdk-dev] [RFC PATCH 1/4] Rename of device types to be generic device names.

2015-04-08 Thread Keith Wiles
Rename the RTE_ETH_PCI, VIRTUAL, ... to be RTE_DEV_PCI, ... names. Signed-off-by: Keith Wiles --- app/test/test_link_bonding.c | 10 +- app/test/virtual_pmd.c | 4 ++-- examples/link_status_interrupt/main.c| 6 +++--- lib

[dpdk-dev] [RFC PATCH 2/4] Add the new common device header and C file.

2015-04-08 Thread Keith Wiles
Move a number of device specific define, structures and functions into a generic device base set of files for all device not just Ethernet. Signed-off-by: Keith Wiles --- lib/librte_eal/common/eal_common_device.c | 185 +++ lib/librte_eal/common/include/rte_common_device.h | 617

[dpdk-dev] [RFC PATCH 3/4] Update files to build new device generic common files and headers.

2015-04-08 Thread Keith Wiles
Signed-off-by: Keith Wiles --- lib/librte_eal/bsdapp/eal/Makefile | 1 + lib/librte_eal/common/Makefile | 1 + lib/librte_eal/common/include/rte_log.h | 1 + lib/librte_eal/linuxapp/eal/Makefile| 1 + 4 files changed, 4 insertions(+) diff --git a/lib/librte_eal/bsdapp/eal

[dpdk-dev] [RFC PATCH 4/4] Update the rte_ethdev.[ch] files for the new device generic changes.

2015-04-08 Thread Keith Wiles
and rte_common_dev.h, which is not done here as to not effect those files. Signed-off-by: Keith Wiles --- lib/librte_ether/rte_ethdev.c | 290 +- lib/librte_ether/rte_ethdev.h | 225 ++-- 2 files changed, 126 insertions(+), 389

[dpdk-dev] [RFC PATCH 0/4 v2] Extending DPDK with multiple device support

2015-04-13 Thread Keith Wiles
like API similar to Linux Kernel crypto API and I want to review that code first. Regards, ++Keith Keith Wiles (4): Adding the common device files for multiple device support Add the ethdev changes for multiple device support Add the test file changes for common device support Update PMD

[dpdk-dev] [RFC PATCH 1/4 v2] Adding the common device files for multiple device support

2015-04-13 Thread Keith Wiles
Add the eal_common_device.c and rte_common_device.h and include the build support changes. Signed-off-by: Keith Wiles --- lib/librte_eal/bsdapp/eal/Makefile| 1 + lib/librte_eal/common/Makefile| 1 + lib/librte_eal/common/eal_common_device.c | 185

[dpdk-dev] [RFC PATCH 3/4 v2] Add the test file changes for common device support

2015-04-13 Thread Keith Wiles
Signed-off-by: Keith Wiles --- app/test-pmd/config.c | 6 +- app/test-pmd/testpmd.h| 4 +- app/test/test_kni.c | 12 ++-- app/test/test_link_bonding.c | 24 app/test/virtual_pmd.c| 106

[dpdk-dev] [RFC PATCH 2/4 v2] Add the ethdev changes for multiple device support

2015-04-13 Thread Keith Wiles
Signed-off-by: Keith Wiles --- lib/librte_ether/rte_ethdev.c | 944 +- lib/librte_ether/rte_ethdev.h | 340 --- 2 files changed, 466 insertions(+), 818 deletions(-) diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c

[dpdk-dev] [RFC PATCH 4/4 v2] Update PMD files for new common device support

2015-04-13 Thread Keith Wiles
Signed-off-by: Keith Wiles --- lib/librte_pmd_af_packet/rte_eth_af_packet.c | 38 +-- lib/librte_pmd_bond/rte_eth_bond_8023ad.c| 18 +- lib/librte_pmd_bond/rte_eth_bond_alb.c | 10 +- lib/librte_pmd_bond/rte_eth_bond_api.c | 142 +- lib/librte_pmd_bond

[dpdk-dev] [RFC PATCH] Simplify the ifdefs in rte.app.mk.

2015-04-28 Thread Keith Wiles
Trying to simplify the ifdefs in rte.app.mk to make the code more readable and maintainable by moving LDLIBS variable to use the same style as LDLIBS-y being used in the rest of the code. Signed-off-by: Keith Wiles --- mk/rte.app.mk | 253

[dpdk-dev] [PATCH] Simplify the ifdefs in rte.app.mk.

2015-04-28 Thread Keith Wiles
-off-by: Keith Wiles --- examples/dpdk_qat/Makefile | 4 +- examples/vm_power_manager/Makefile | 2 +- mk/rte.app.mk | 254 ++--- mk/rte.hostapp.mk | 4 +- mk/rte.shared.mk | 12 +- 5 files

[dpdk-dev] [PATCH v2 1/2] Simplify the ifdefs in rte.app.mk.

2015-04-29 Thread Keith Wiles
-off-by: Keith Wiles --- examples/dpdk_qat/Makefile | 4 +- examples/vm_power_manager/Makefile | 2 +- mk/rte.app.mk | 254 ++--- mk/rte.hostapp.mk | 4 +- mk/rte.shared.mk | 12 +- 5 files

[dpdk-dev] [PATCH v2 2/2] Update Docs for new EXTRA_LDLIBS variable

2015-04-29 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/build-sdk-quick.txt | 1 + doc/guides/prog_guide/dev_kit_build_system.rst | 2 ++ doc/guides/prog_guide/dev_kit_root_make_help.rst | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/build-sdk-quick.txt b/doc

[dpdk-dev] [PATCH v3 1/2] Simplify the ifdefs in rte.app.mk.

2015-04-29 Thread Keith Wiles
-off-by: Keith Wiles --- examples/dpdk_qat/Makefile | 4 +- examples/vm_power_manager/Makefile | 2 +- mk/rte.app.mk | 254 ++--- mk/rte.hostapp.mk | 4 +- mk/rte.shared.mk | 12 +- 5 files

[dpdk-dev] [PATCH v3 2/2] Update Docs for new EXTRA_LDLIBS variable

2015-04-29 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/build-sdk-quick.txt | 1 + doc/guides/prog_guide/build_app.rst | 2 +- doc/guides/prog_guide/dev_kit_build_system.rst | 2 ++ doc/guides/prog_guide/dev_kit_root_make_help.rst | 2 +- 4 files changed, 5 insertions(+), 2

[dpdk-dev] [PATCH v4 1/2] Simplify the ifdefs in rte.app.mk.

2015-04-29 Thread Keith Wiles
-off-by: Keith Wiles --- examples/dpdk_qat/Makefile | 4 +- examples/vm_power_manager/Makefile | 2 +- mk/rte.app.mk | 254 ++--- mk/rte.hostapp.mk | 4 +- mk/rte.shared.mk | 12 +- 5 files

[dpdk-dev] [PATCH v4 2/2] Update Docs for new EXTRA_LDLIBS variable

2015-04-29 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/build-sdk-quick.txt | 1 + doc/guides/prog_guide/build_app.rst | 2 +- doc/guides/prog_guide/dev_kit_build_system.rst | 2 ++ doc/guides/prog_guide/dev_kit_root_make_help.rst | 2 +- 4 files changed, 5 insertions(+), 2

[dpdk-dev] [PATCH v5 1/2] Simplify the ifdefs in rte.app.mk.

2015-04-30 Thread Keith Wiles
internal variable _LDLIBS should not be used outside of the rte.app.mk file. The makefiles can still use LDLIBS, but I would suggest using EXTRA_LDLIBS instead. Signed-off-by: Keith Wiles --- examples/dpdk_qat/Makefile | 4 +- examples/vm_power_manager/Makefile | 2 +- mk/rte.app.mk

[dpdk-dev] [PATCH v5 2/2] Update Docs for new EXTRA_LDLIBS variable

2015-04-30 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/build-sdk-quick.txt | 1 + doc/guides/prog_guide/build_app.rst | 2 +- doc/guides/prog_guide/dev_kit_build_system.rst | 2 ++ doc/guides/prog_guide/dev_kit_root_make_help.rst | 2 +- 4 files changed, 5 insertions(+), 2

[dpdk-dev] [PATCH v2] log:Change magic number on RTE_LOG_LEVEL to an enum name

2015-08-02 Thread Keith Wiles
the benefit of seeing the enum name in the debugger instead of a number. The rte_logs was set after options parsing, defaulting to RTE_LOG_LEVEL, and it is now initialized at RTE_LOG_LEVEL without behavioral change. Signed-off-by: Keith Wiles --- config/common_bsdapp| 6

[dpdk-dev] [PATCH] net/tap: fix IFF_MULTI_QUEUE in older kernels not found

2017-01-20 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index d5e2fc3..5cf9831 100644 --- a/drivers/net/tap/rte_eth_tap.c +++ b/drivers/net/tap/rte_eth_tap.c

[dpdk-dev] [PATCH] net/tap: fix IFF_MULTI_QUEUE in older kernels not found

2017-01-20 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index d5e2fc3..cb96e99 100644 --- a/drivers/net/tap/rte_eth_tap.c +++ b/drivers/net/tap/rte_eth_tap.c

[dpdk-dev] [PATCH] net/tap: driver closing tx interface on queue setup

2017-01-28 Thread Keith Wiles
The tap driver setup both rx and tx file descriptors when the rte_eth_rx_queue_setup() causing the tx to be closed when tx setup was called. Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 48 ++- 1 file changed, 34 insertions(+), 14

[dpdk-dev] [PATCH 1/5] nic/tap: fix tap docs for device name

2017-02-02 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/nics/tap.rst | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/guides/nics/tap.rst b/doc/guides/nics/tap.rst index 622b9e7..2ab60ff 100644 --- a/doc/guides/nics/tap.rst +++ b/doc/guides/nics/tap.rst @@ -45,18 +45,18

[dpdk-dev] [PATCH 2/5] net/tap: fix multi-queue support

2017-02-02 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 93 ++- 1 file changed, 48 insertions(+), 45 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 3f179c3..9ed7a87 100644 --- a/drivers/net/tap

[dpdk-dev] [PATCH 3/5] net/tap: remove redundant fds array

2017-02-02 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 9ed7a87..6673182 100644 --- a/drivers/net/tap/rte_eth_tap.c +++ b/drivers/net/tap

[dpdk-dev] [PATCH 4/5] net/tap: fix up log message to correct channel

2017-02-02 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 39 +++ 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 6673182..4f7eacf 100644 --- a/drivers/net/tap

[dpdk-dev] [PATCH 5/5] net/tap: remove unused variable and minor cleanup

2017-02-02 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 4f7eacf..238824e 100644 --- a/drivers/net/tap/rte_eth_tap.c +++ b/drivers/net/tap

[dpdk-dev] [PATCH v2 1/6] net/tap: fix tap docs for device name

2017-02-05 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/nics/tap.rst | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/guides/nics/tap.rst b/doc/guides/nics/tap.rst index 622b9e7..c4f207b 100644 --- a/doc/guides/nics/tap.rst +++ b/doc/guides/nics/tap.rst @@ -45,18 +45,18

[dpdk-dev] [PATCH v2 2/6] net/tap: remove redundant fds array

2017-02-05 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index c7b04bb..6d93eb7 100644 --- a/drivers/net/tap/rte_eth_tap.c +++ b/drivers/net/tap

[dpdk-dev] [PATCH v2 4/6] net/tap: fix multi-queue support

2017-02-05 Thread Keith Wiles
At the same time remove the code which created the first device queue at probe time. Now all queues are created during queue setup calls. Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 104 ++ 1 file changed, 34 insertions(+), 70 deletions

[dpdk-dev] [PATCH v2 3/6] net/tap: remove unused variable and minor cleanup

2017-02-05 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 6d93eb7..61659bc 100644 --- a/drivers/net/tap/rte_eth_tap.c +++ b/drivers/net/tap

[dpdk-dev] [PATCH v2 5/6] net/tap: cleanup log messages

2017-02-05 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 54 ++- 1 file changed, 28 insertions(+), 26 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 7c923a2..65e4bab 100644 --- a/drivers/net/tap

[dpdk-dev] [PATCH v2 6/6] net/tap: link set down must be before close

2017-02-05 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 65e4bab..966e91a 100644 --- a/drivers/net/tap/rte_eth_tap.c +++ b/drivers/net/tap/rte_eth_tap.c

[dpdk-dev] [PATCH v3 1/7] net/tap: fix tap docs for device name

2017-02-06 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/nics/tap.rst | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/guides/nics/tap.rst b/doc/guides/nics/tap.rst index 622b9e7..c4f207b 100644 --- a/doc/guides/nics/tap.rst +++ b/doc/guides/nics/tap.rst @@ -45,18 +45,18

[dpdk-dev] [PATCH v3 2/7] net/tap: remove redundant fds array

2017-02-06 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index c7b04bb..6d93eb7 100644 --- a/drivers/net/tap/rte_eth_tap.c +++ b/drivers/net/tap

[dpdk-dev] [PATCH v3 3/7] net/tap: remove unused variable and minor cleanup

2017-02-06 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 6d93eb7..61659bc 100644 --- a/drivers/net/tap/rte_eth_tap.c +++ b/drivers/net/tap

[dpdk-dev] [PATCH v3 4/7] net/tap: fix multi-queue support

2017-02-06 Thread Keith Wiles
At the same time remove the code which created the first device queue at probe time. Now all queues are created during queue setup calls. Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 104 ++ 1 file changed, 34 insertions(+), 70 deletions

[dpdk-dev] [PATCH v3 5/7] net/tap: cleanup log messages

2017-02-06 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 54 ++- 1 file changed, 28 insertions(+), 26 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 7c923a2..65e4bab 100644 --- a/drivers/net/tap

[dpdk-dev] [PATCH v3 6/7] net/tap: link set down must be done before close

2017-02-06 Thread Keith Wiles
Fixes: ee418a25b0d3 ("net/tap: implement link up and down callbacks") Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 65e4bab..966e

[dpdk-dev] [PATCH v3 7/7] net/tap: move closing fds to pmd close from pmd stop

2017-02-06 Thread Keith Wiles
At the same time remove closing fds code from pmd stop routine. Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 966e91a

[dpdk-dev] [PATCH 01/11] doc/cryptodev: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/cryptodevs/aesni_gcm.rst | 2 +- doc/guides/cryptodevs/aesni_mb.rst | 2 +- doc/guides/cryptodevs/kasumi.rst| 2 +- doc/guides/cryptodevs/null.rst | 2 +- doc/guides/cryptodevs/openssl.rst | 2 +- doc/guides/cryptodevs/snow3g.rst| 2

[dpdk-dev] [PATCH 03/11] doc/freebsd: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/freebsd_gsg/build_sample_apps.rst | 9 + doc/guides/freebsd_gsg/install_from_ports.rst | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/guides/freebsd_gsg/build_sample_apps.rst b/doc/guides/freebsd_gsg

[dpdk-dev] [PATCH 00/11] moving away from coremask to corelist

2017-02-09 Thread Keith Wiles
the 17.05 release. The -c option will be kept and not removed for now unless in the future we decide to deprecate the code. Keith Wiles (11): doc/cryptodev: use -l option instead of -c doc/faq: use -l option instead of -c doc/freebsd: use -l option instead of -c doc/howto: use -l option

[dpdk-dev] [PATCH 02/11] doc/faq: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/faq/faq.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/guides/faq/faq.rst b/doc/guides/faq/faq.rst index 5a324b2..98c1e33 100644 --- a/doc/guides/faq/faq.rst +++ b/doc/guides/faq/faq.rst @@ -54,7 +54,7 @@ If you need to

[dpdk-dev] [PATCH 10/11] doc/xen: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/xen/pkt_switch.rst | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/guides/xen/pkt_switch.rst b/doc/guides/xen/pkt_switch.rst index 0b4ddfd..0d73fa5 100644 --- a/doc/guides/xen/pkt_switch.rst +++ b/doc/guides/xen

[dpdk-dev] [PATCH 06/11] doc/nics: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/nics/bnx2x.rst | 2 +- doc/guides/nics/cxgbe.rst | 4 ++-- doc/guides/nics/ena.rst | 2 +- doc/guides/nics/i40e.rst | 4 ++-- doc/guides/nics/intel_vf.rst | 7 +-- doc/guides/nics/ixgbe.rst | 4 ++-- doc/guides/nics/mlx4

[dpdk-dev] [PATCH 08/11] doc/testpmd: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/testpmd_app_ug/run_app.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/testpmd_app_ug/run_app.rst b/doc/guides/testpmd_app_ug/run_app.rst index 38a4025..d1fabef 100644 --- a/doc/guides/testpmd_app_ug/run_app.rst +++ b

[dpdk-dev] [PATCH 11/11] doc/sample_app: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/sample_app_ug/cmd_line.rst | 2 +- doc/guides/sample_app_ug/dist_app.rst | 2 +- doc/guides/sample_app_ug/exception_path.rst| 4 +-- doc/guides/sample_app_ug/hello_world.rst | 2 +- doc/guides/sample_app_ug

[dpdk-dev] [PATCH 09/11] doc/cryptoperf: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/tools/cryptoperf.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/guides/tools/cryptoperf.rst b/doc/guides/tools/cryptoperf.rst index 6832312..30994cd 100644 --- a/doc/guides/tools/cryptoperf.rst +++ b/doc/guides/tools

[dpdk-dev] [PATCH 05/11] doc/linux: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/linux_gsg/build_sample_apps.rst | 19 ++- doc/guides/linux_gsg/nic_perf_intel_platform.rst | 2 +- doc/guides/linux_gsg/quick_start.rst | 2 +- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/doc

[dpdk-dev] [PATCH 07/11] doc/prog_guide: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/prog_guide/kernel_nic_interface.rst | 2 +- doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst | 10 +- doc/guides/prog_guide/multi_proc_support.rst | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff

[dpdk-dev] [PATCH 04/11] doc/howto: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/howto/flow_bifurcation.rst | 2 +- doc/guides/howto/lm_bond_virtio_sriov.rst | 6 +++--- doc/guides/howto/lm_virtio_vhost_user.rst | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/guides/howto/flow_bifurcation.rst b/doc

[dpdk-dev] [PATCH v2 00/11] moving away from coremask to corelist

2017-02-09 Thread Keith Wiles
the 17.05 release. The -c option will be kept and not removed for now unless in the future we decide to deprecate the code. v2 - Fix taskset back to using -c Keith Wiles (11): doc/cryptodev: use corelist instead of coremask doc/faq: use corelist instead of coremask doc/freebsd: use corelist

[dpdk-dev] [PATCH v2 03/11] doc/freebsd: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/freebsd_gsg/build_sample_apps.rst | 9 + doc/guides/freebsd_gsg/install_from_ports.rst | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/guides/freebsd_gsg/build_sample_apps.rst b/doc/guides/freebsd_gsg

[dpdk-dev] [PATCH v2 04/11] doc/howto: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/howto/flow_bifurcation.rst | 2 +- doc/guides/howto/lm_bond_virtio_sriov.rst | 2 +- doc/guides/howto/lm_virtio_vhost_user.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/guides/howto/flow_bifurcation.rst b/doc/guides

[dpdk-dev] [PATCH v2 05/11] doc/linux: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/linux_gsg/build_sample_apps.rst | 19 ++- doc/guides/linux_gsg/nic_perf_intel_platform.rst | 2 +- doc/guides/linux_gsg/quick_start.rst | 2 +- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/doc

[dpdk-dev] [PATCH v2 01/11] doc/cryptodev: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/cryptodevs/aesni_gcm.rst | 2 +- doc/guides/cryptodevs/aesni_mb.rst | 2 +- doc/guides/cryptodevs/kasumi.rst| 2 +- doc/guides/cryptodevs/null.rst | 2 +- doc/guides/cryptodevs/openssl.rst | 2 +- doc/guides/cryptodevs/snow3g.rst| 2

[dpdk-dev] [PATCH v2 02/11] doc/faq: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/faq/faq.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/guides/faq/faq.rst b/doc/guides/faq/faq.rst index 5a324b2..98c1e33 100644 --- a/doc/guides/faq/faq.rst +++ b/doc/guides/faq/faq.rst @@ -54,7 +54,7 @@ If you need to

[dpdk-dev] [PATCH v2 06/11] doc/nics: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/nics/bnx2x.rst | 2 +- doc/guides/nics/cxgbe.rst | 4 ++-- doc/guides/nics/ena.rst | 2 +- doc/guides/nics/i40e.rst | 4 ++-- doc/guides/nics/intel_vf.rst | 7 +-- doc/guides/nics/ixgbe.rst | 4 ++-- doc/guides/nics/mlx4

[dpdk-dev] [PATCH v2 08/11] doc/testpmd: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/testpmd_app_ug/run_app.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/testpmd_app_ug/run_app.rst b/doc/guides/testpmd_app_ug/run_app.rst index 38a4025..d1fabef 100644 --- a/doc/guides/testpmd_app_ug/run_app.rst +++ b

[dpdk-dev] [PATCH v2 09/11] doc/cryptoperf: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/tools/cryptoperf.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/guides/tools/cryptoperf.rst b/doc/guides/tools/cryptoperf.rst index 6832312..30994cd 100644 --- a/doc/guides/tools/cryptoperf.rst +++ b/doc/guides/tools

[dpdk-dev] [PATCH v2 10/11] doc/xen: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/xen/pkt_switch.rst | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/guides/xen/pkt_switch.rst b/doc/guides/xen/pkt_switch.rst index 0b4ddfd..0d73fa5 100644 --- a/doc/guides/xen/pkt_switch.rst +++ b/doc/guides/xen

[dpdk-dev] [PATCH v2 11/11] doc/sample_app: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/sample_app_ug/cmd_line.rst | 2 +- doc/guides/sample_app_ug/dist_app.rst | 2 +- doc/guides/sample_app_ug/exception_path.rst| 4 +-- doc/guides/sample_app_ug/hello_world.rst | 2 +- doc/guides/sample_app_ug

[dpdk-dev] [PATCH v2 07/11] doc/prog_guide: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/prog_guide/kernel_nic_interface.rst | 2 +- doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst | 10 +- doc/guides/prog_guide/multi_proc_support.rst | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff

[dpdk-dev] [PATCH v10] drivers/net:new TUN/TAP device PMD

2016-12-07 Thread Keith Wiles
fix includes by removing ifdef for other type besides Linux Fix the copyright notice in the Makefile v2 - merge all of the patches into one patch Fix a typo on naming the tap device Update the maintainers list Signed-off-by: Keith Wiles --- MAINTAINERS |

[dpdk-dev] [PATCH v11] drivers/net:new TUN/TAP device PMD

2016-12-09 Thread Keith Wiles
v4 - merge with latest driver changes v3 - fix includes by removing ifdef for other type besides Linux Fix the copyright notice in the Makefile v2 - merge all of the patches into one patch Fix a typo on naming the tap device Update the maintainers list Signed-off-by: Keith Wi

[dpdk-dev] [PATCH v12] net/tap: new TUN/TAP device PMD

2016-12-12 Thread Keith Wiles
ice Update the maintainers list Signed-off-by: Keith Wiles --- MAINTAINERS | 5 + config/common_base | 9 + config/common_linuxapp | 1 + doc/guides/nics/index.rst | 1 + doc/guides/nics/tap.rst |

[dpdk-dev] [PATCH v12] net/tap: new TUN/TAP device PMD

2016-12-12 Thread Keith Wiles
ice Update the maintainers list Signed-off-by: Keith Wiles --- MAINTAINERS | 5 + config/common_base | 9 + config/common_linuxapp | 1 + doc/guides/nics/index.rst | 1 + doc/guides/nics/tap.rst |

[dpdk-dev] [PATCH] usertools: script to output version string

2017-07-06 Thread Keith Wiles
Signed-off-by: Keith Wiles --- usertools/dpdk-version.sh | 124 ++ 1 file changed, 124 insertions(+) create mode 100755 usertools/dpdk-version.sh diff --git a/usertools/dpdk-version.sh b/usertools/dpdk-version.sh new file mode 100755 index 0

[dpdk-dev] [PATCH v2] usertools: script to output version string

2017-07-06 Thread Keith Wiles
Signed-off-by: Keith Wiles --- usertools/dpdk-version.sh | 124 ++ 1 file changed, 124 insertions(+) create mode 100755 usertools/dpdk-version.sh diff --git a/usertools/dpdk-version.sh b/usertools/dpdk-version.sh new file mode 100755 index 0

[dpdk-dev] [PATCH RFC] usertools: add dpdk run script

2017-07-06 Thread Keith Wiles
I am not a great Python coder and any suggestions/patches would be great. Signed-off-by: Keith Wiles --- app/test-pmd/default.cfg | 60 usertools/run.py | 355 +++ 2 files changed, 415 insertions(+) create mode 100644 app/test-pmd/d

[dpdk-dev] [PATCH] eal/common: minor fix for spelling and format

2017-07-06 Thread Keith Wiles
Signed-off-by: Keith Wiles --- lib/librte_eal/common/malloc_elem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/librte_eal/common/malloc_elem.c b/lib/librte_eal/common/malloc_elem.c index 08516af2b..150769057 100644 --- a/lib/librte_eal/common/malloc_elem.c

[dpdk-dev] [PATCH v4] net/bonding: reduce slave starvation on rx poll

2017-03-21 Thread Keith Wiles
reduction in thoughput. Signed-off-by: Keith Wiles --- v4 - fix saving of next slave to reduce skipping a slave. v3 - remove more checkpatch errors v2 - remove checkpatch errors drivers/net/bonding/rte_eth_bond_pmd.c | 21 +++-- drivers/net/bonding/rte_eth_bond_private.h | 3

[dpdk-dev] [PATCH] maintainers: handoff ownership of Tap PMD

2017-03-30 Thread Keith Wiles
Pascal has added many features to the Tap PMD and the code is now mostly his code. We talked and he suggested I send the patch to change ownership. Signed-off-by: Keith Wiles --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index

[dpdk-dev] [PATCH v3] doc: use corelist instead of coremask

2017-02-10 Thread Keith Wiles
in the future. The -c option should be kept to maintain backward compatibility. v3 - squash all of the changes into a single commit. v2 - reset changes to taskset back to using -c. Signed-off-by: Keith Wiles --- doc/guides/cryptodevs/aesni_gcm.rst| 2 +- doc/guides/cryptodevs

[dpdk-dev] [PATCH] examples: optind should be reset to one not zero

2017-02-14 Thread Keith Wiles
Signed-off-by: Keith Wiles --- app/test-pipeline/config.c | 2 +- examples/distributor/main.c | 2 +- examples/dpdk_qat/main.c| 2 +- examples/ip_fragmentation/main.c| 2 +- examples/ip_pipeline/config_parse.c

[dpdk-dev] [PATCH] net/tap: fix coverity warning on strncpy

2017-02-17 Thread Keith Wiles
Calling strncpy with a maximum size argument of 16 bytes on destination array "ifr.ifr_ifrn.ifrn_name" of size 16 bytes might leave the destination string unterminated. Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[dpdk-dev] [PATCH v2] net/tap: fix coverity warning on strncpy

2017-02-17 Thread Keith Wiles
Calling strncpy with a maximum size argument of 16 bytes on destination array "ifr.ifr_ifrn.ifrn_name" of size 16 bytes might leave the destination string unterminated. Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[dpdk-dev] [PATCH v3] net/tap: fix coverity warning on strncpy

2017-02-17 Thread Keith Wiles
Calling strncpy with a maximum size argument of 16 bytes on destination array "ifr.ifr_ifrn.ifrn_name" of size 16 bytes might leave the destination string unterminated. Signed-off-by: Keith Wiles --- v3 - convert strncpy to use snprintf instead. v2 - fix the checkpatch warning no spa

[dpdk-dev] [PATCH v4] net/tap: fix coverity warning on strncpy

2017-02-17 Thread Keith Wiles
Calling strncpy with a maximum size argument of 16 bytes on destination array "ifr.ifr_ifrn.ifrn_name" of size 16 bytes might leave the destination string unterminated. Signed-off-by: Keith Wiles --- v4 - Forgot to finish rebase v3 - convert strncpy to use snprintf instead. v2

[dpdk-dev] [PATCH v4] doc: use corelist instead of coremask

2017-02-21 Thread Keith Wiles
in the future. The -c option should be kept to maintain backward compatibility. Signed-off-by: Keith Wiles --- v4 - merge with latest release and fix typos. v3 - squash all of the changes into a single commit. v2 - reset changes to taskset back to using -c. doc/guides/contributing

[dpdk-dev] [PATCH v5] doc: use corelist instead of coremask

2017-02-27 Thread Keith Wiles
in the future. The -c option should be kept to maintain backward compatibility. Signed-off-by: Keith Wiles --- v5 - Title underscore too short. v4 - merge with latest release and fix typos. v3 - squash all of the changes into a single commit. v2 - reset changes to taskset back to using -c. doc

[dpdk-dev] [PATCH] net/bonding: reduce slave starvation on rx poll

2017-03-07 Thread Keith Wiles
reduction in thoughput. Signed-off-by: Keith Wiles --- drivers/net/bonding/rte_eth_bond_pmd.c | 16 +++- drivers/net/bonding/rte_eth_bond_private.h | 3 ++- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding

[dpdk-dev] [PATCH v2] net/bonding: reduce slave starvation on rx poll

2017-03-07 Thread Keith Wiles
reduction in thoughput. Signed-off-by: Keith Wiles --- drivers/net/bonding/rte_eth_bond_pmd.c | 19 +-- drivers/net/bonding/rte_eth_bond_private.h | 3 ++- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net

[dpdk-dev] [PATCH v3] net/bonding: reduce slave starvation on rx poll

2017-03-07 Thread Keith Wiles
reduction in thoughput. Signed-off-by: Keith Wiles --- v3 - remove more checkpatch errors v2 - remove checkpatch errors drivers/net/bonding/rte_eth_bond_pmd.c | 21 +++-- drivers/net/bonding/rte_eth_bond_private.h | 3 ++- 2 files changed, 17 insertions(+), 7 deletions

[dpdk-dev] [PATCH 1/3] drivers/net:new PMD using tun/tap host interface

2016-09-15 Thread Keith Wiles
The rte_eth_tap.c PMD creates a device using TUN/TAP interfaces on the local host. The PMD allows for DPDK and the host to communicate using a raw device interface on the host and in the DPDK application. The device created is a Tap device with a L2 packet header. Signed-off-by: Keith Wiles

[dpdk-dev] [PATCH 2/3] docs:tun/tap PMD information

2016-09-15 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/nics/tap.rst | 84 + 1 file changed, 84 insertions(+) create mode 100644 doc/guides/nics/tap.rst diff --git a/doc/guides/nics/tap.rst b/doc/guides/nics/tap.rst new file mode 100644 index 000..072def8

[dpdk-dev] [PATCH 3/3] drivers/net:build support for new tap device driver

2016-09-15 Thread Keith Wiles
Signed-off-by: Keith Wiles --- config/common_linuxapp | 3 +++ drivers/net/Makefile | 1 + mk/rte.app.mk | 1 + 3 files changed, 5 insertions(+) diff --git a/config/common_linuxapp b/config/common_linuxapp index 2483dfa..704c01c 100644 --- a/config/common_linuxapp +++ b/config

  1   2   >