[dpdk-dev] [PATCH] Add Q variable to external builds to be quite

2015-02-14 Thread Keith Wiles
Signed-off-by: Keith Wiles --- mk/rte.extvars.mk | 4 1 file changed, 4 insertions(+) diff --git a/mk/rte.extvars.mk b/mk/rte.extvars.mk index 3e5a990..83a5721 100644 --- a/mk/rte.extvars.mk +++ b/mk/rte.extvars.mk @@ -66,6 +66,10 @@ endif RTE_OUTPUT ?= $(RTE_SRCDIR)/build export

[dpdk-dev] [PATCH] Remove unused static function revert_protocol_type() causing error with clang

2015-02-23 Thread Keith Wiles
Signed-off-by: Keith Wiles --- lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 13 - 1 file changed, 13 deletions(-) diff --git a/lib/librte_pmd_ixgbe/ixgbe_ethdev.c b/lib/librte_pmd_ixgbe/ixgbe_ethdev.c index ad903d4..ea6f13d 100644 --- a/lib/librte_pmd_ixgbe/ixgbe_ethdev.c +++ b/lib

[dpdk-dev] [PATCH] Missing use of macro rte_eth_dev_is_valid_port()

2015-02-26 Thread Keith Wiles
Signed-off-by: Keith Wiles --- lib/librte_ether/rte_ethdev.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c index bb94ccb..6fd89d7 100644 --- a/lib/librte_ether/rte_ethdev.c +++ b/lib/librte_ether

[dpdk-dev] [PATCH] External app builds need to locate common make fragments and includes.

2015-02-28 Thread Keith Wiles
the rte.extXYZ.mk makefile fragments. Signed-off-by: Keith Wiles --- mk/rte.extvars.mk | 36 ++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/mk/rte.extvars.mk b/mk/rte.extvars.mk index 3e5a990..e6c6401 100644 --- a/mk/rte.extvars.mk +++ b/mk/rte.extvars.mk

[dpdk-dev] [RFC PATCH] eal:Add new API for parsing args at rte_eal_init time

2015-06-03 Thread Keith Wiles
Signed-off-by: Keith Wiles --- lib/librte_eal/bsdapp/eal/eal.c | 20 lib/librte_eal/common/include/rte_eal.h | 32 2 files changed, 52 insertions(+) diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c index

[dpdk-dev] [PATCH] eal:Fix log messages always being printed from rte_eal_cpu_init

2015-06-06 Thread Keith Wiles
the messages from the rte_eal_cpu_init() routine. Signed-off-by: Keith Wiles --- lib/librte_eal/bsdapp/eal/eal.c | 43 ++- lib/librte_eal/linuxapp/eal/eal.c | 43 ++- 2 files changed, 76 insertions(+), 10 deletions(-) diff --git

[dpdk-dev] [PATCH] log:Change magic number on RTE_LOG_LEVEL to a define

2015-06-06 Thread Keith Wiles
Config files used RTE_LOG_LEVEL=8 to set log level to DEBUG. Using a the RTE_LOG_ is easier to maintain. Converted the RTE_LOG_ defines into a enum of values with the same names for to reduct maintaining the values and allow debuggers to print the name of the value. Signed-off-by: Keith

[dpdk-dev] [PATCH v2] eal:Fix log messages always being printed from rte_eal_cpu_init

2015-06-08 Thread Keith Wiles
the messages from the rte_eal_cpu_init() routine. Signed-off-by: Keith Wiles --- lib/librte_eal/bsdapp/eal/eal.c | 42 ++- lib/librte_eal/linuxapp/eal/eal.c | 42 ++- 2 files changed, 74 insertions(+), 10 deletions(-) diff --git

[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] Remove the extra blank lines in the output

2015-12-08 Thread Keith Wiles
The output for the core list included an extra linefeed making the number of lines displayed much larger then required. Signed-off-by: Keith Wiles --- tools/cpu_layout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cpu_layout.py b/tools/cpu_layout.py index 20a409d

[dpdk-dev] [PATCH] Move mk/rte.extvars.mk to mk/internal/rte.extvars.mk

2015-03-04 Thread Keith Wiles
Move the rte.extvars.mk to an internal directory and update rte.vars.mk to find the file in the new location. Signed-off-by: Keith Wiles --- mk/internal/rte.extvars.mk | 81 ++ mk/rte.extvars.mk | 81

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

2015-05-01 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 v6 2/2] Update Docs for new EXTRA_LDLIBS variable

2015-05-01 Thread Keith Wiles
Removed the LDLIBS-y reference as it is not required. 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

[dpdk-dev] [PATCH] Remove NO_AUTOLIBS option

2015-05-01 Thread Keith Wiles
NO_AUTOLIBS is not required as it was not used or defined in the config files. Signed-off-by: Keith Wiles --- mk/rte.app.mk | 5 - 1 file changed, 5 deletions(-) diff --git a/mk/rte.app.mk b/mk/rte.app.mk index b8030d2..b63e346 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -54,11 +54,8

[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] [PATCH] mbuf:rearrange mbuf to be more mbuf chain friendly

2016-06-25 Thread Keith Wiles
Move the next pointer to the first cacheline of the rte_mbuf structure and move the offload values to the second cacheline to give better performance to applications using chained mbufs. Enabled by a configuration option CONFIG_RTE_MBUF_CHAIN_FRIENDLY default is set to No. Signed-off-by: Keith

[dpdk-dev] [PATCH] ixgbe:enable configuration for old ptype behavior

2016-06-25 Thread Keith Wiles
to not set. Signed-off-by: Keith Wiles --- config/common_base | 2 ++ drivers/net/ixgbe/ixgbe_ethdev.c | 6 + drivers/net/ixgbe/ixgbe_rxtx_vec.c | 52 +++--- 3 files changed, 57 insertions(+), 3 deletions(-) diff --git a/config/common_base b

[dpdk-dev] [PATCH v2] mbuf:rearrange mbuf to be more mbuf chain friendly

2016-06-25 Thread Keith Wiles
Move the next pointer to the first cacheline of the rte_mbuf structure and move the offload values to the second cacheline to give better performance to applications using chained mbufs. Enabled by a configuration option CONFIG_RTE_MBUF_CHAIN_FRIENDLY default is set to No. Signed-off-by: Keith

[dpdk-dev] [PATCH 1/2] e1000:fix gcc test for clang builds

2016-06-26 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/e1000/Makefile | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/e1000/Makefile b/drivers/net/e1000/Makefile index 5b801f5..1305163 100644 --- a/drivers/net/e1000/Makefile +++ b/drivers/net/e1000/Makefile @@ -48,7 +48,7

[dpdk-dev] [PATCH 2/2] fix building with clang-3.8.0 compiler

2016-06-26 Thread Keith Wiles
Latest clang compiler 3.8.0 on latest update of Ubuntu creates a few more warnings on -Warray-bounds and extra () around 'if' expressions. Signed-off-by: Keith Wiles --- app/test-pmd/Makefile| 3 +++ app/test/Makefile| 3 +++ drivers/net/bonding/Makefile

[dpdk-dev] [PATCH v2 1/2] e1000:fix gcc test for clang builds

2016-06-26 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/e1000/Makefile | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/e1000/Makefile b/drivers/net/e1000/Makefile index 5b801f5..1305163 100644 --- a/drivers/net/e1000/Makefile +++ b/drivers/net/e1000/Makefile @@ -48,7 +48,7

[dpdk-dev] [PATCH v2 2/2] fix building with clang-3.8.0 compiler

2016-06-26 Thread Keith Wiles
Latest clang compiler 3.8.0 on latest update of Ubuntu creates a few more warnings on -Warray-bounds and extra () around 'if' expressions. Signed-off-by: Keith Wiles --- app/test-pmd/Makefile| 3 +++ app/test/Makefile| 3 +++ drivers/net/bonding/Makefile

[dpdk-dev] [PATCH] eal:Change log output to DEBUG instead of INFO

2015-09-10 Thread Keith Wiles
When log level is set to 7 (INFO) these messages are still displayed and should be set to DEBUG. Signed-off-by: Keith Wiles --- lib/librte_eal/common/eal_common_memory.c | 2 +- lib/librte_eal/common/eal_common_timer.c | 2 +- lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 2 +- 3 files

[dpdk-dev] [PATCH] eal: add missing long-options for short option arguments

2016-02-25 Thread Keith Wiles
--lcore-map Signed-off-by: Keith Wiles --- doc/guides/testpmd_app_ug/run_app.rst | 16 +++ lib/librte_eal/common/eal_common_options.c | 31 -- lib/librte_eal/common/eal_options.h| 16 +++ 3 files changed, 45 insertions(+), 18

[dpdk-dev] [PATCH] spinlock:move constructor function out of header

2016-07-14 Thread Keith Wiles
is not linked directly to dpdk libraries, which in this case causes a missing symbol in the linking phase. Fixes: ba7468997ea6 ("spinlock: add HTM lock elision for x86") Originally submitted by Damjan Marion Signed-off-by: Keith Wiles --- lib/librte_eal/bsdapp/eal/Makefile

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

2016-10-04 Thread Keith Wiles
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 Wiles --- MAINTAINERS

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

2016-10-11 Thread Keith Wiles
the tap device. Update the maintainers list Signed-off-by: Keith Wiles --- MAINTAINERS | 5 + config/common_base | 5 + config/common_linuxapp | 1 + doc/guides/nics/tap.rst | 138 ++ drivers/net

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

2016-10-12 Thread Keith Wiles
on naming the tap device Update the maintainers list Signed-off-by: Keith Wiles --- MAINTAINERS | 5 + config/common_base | 5 + config/common_linuxapp | 1 + doc/guides/nics/tap.rst | 138 ++ drivers

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

2016-10-13 Thread Keith Wiles
ice 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 | 5 + config/common_base | 9 + config/common_linuxapp |

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

2016-10-13 Thread Keith Wiles
def 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 | 5 + config/common_b

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

2016-10-13 Thread Keith Wiles
ver 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 Wiles --- MAINTAIN

[dpdk-dev] [PATCH v2] config: remove duplicate configuration information

2016-03-04 Thread Keith Wiles
. Then in those OS specific files add the delta configuration lines. Signed-off-by: Keith Wiles --- v2 - split out ARCH_64 missing defines into new patch. Turned off linux specific items in common_base and enable them in common_linux file. config/common_base | 524

[dpdk-dev] [PATCH] config: add missing CONFIG_RTE_ARCH_64 configurations

2016-03-04 Thread Keith Wiles
Signed-off-by: Keith Wiles --- config/defconfig_x86_64-native-bsdapp-clang | 1 + config/defconfig_x86_64-native-bsdapp-gcc | 1 + 2 files changed, 2 insertions(+) diff --git a/config/defconfig_x86_64-native-bsdapp-clang b/config/defconfig_x86_64-native-bsdapp-clang index d2baf2c..8b870b3

[dpdk-dev] [PATCH v3] config: remove duplicate configuration information

2016-03-04 Thread Keith Wiles
. Then in those OS specific files add the delta configuration lines. Signed-off-by: Keith Wiles --- config/common_base | 519 + config/common_bsdapp | 436 + config/common_linuxapp | 460

[dpdk-dev] [PATCH] gcc compiler option -Og warnings fix

2016-04-01 Thread Keith Wiles
The new compiler option -Og causes a few warning on variables being used before being set warnings. The new option allows better debugging then -O0 without losing a lot of performance. This option does not include -g debug symbol option. Signed-off-by: Keith Wiles --- lib/librte_eal/linuxapp

[dpdk-dev] [PATCH] mempool: Reduce rte_mempool structure size

2016-02-02 Thread Keith Wiles
running l3fwd and the test_mempool execution passed. Allocating small mempools which do not require cache can consume larges amounts of memory if you have a number of these mempools. Signed-off-by: Keith Wiles --- app/test/test_mempool.c | 4 +-- lib/librte_mempool/rte_mempool.c | 56

[dpdk-dev] [PATCH v2] mempool: reduce rte_mempool structure size

2016-02-09 Thread Keith Wiles
to be dynamic depending on if the mempool being created needs cache support. Saves about 1.5M of memory used by the rte_mempool structure. Allocating small mempools which do not require cache can consume larges amounts of memory if you have a number of these mempools. Signed-off-by: Keith Wiles --- app

[dpdk-dev] [PATCH] mk: add makefile extention support

2016-02-09 Thread Keith Wiles
Makefile.XXX in that subtree. The main reason I needed this feature was to integrate a autotool open source projects with DPDK and keep the original Makefiles. Signed-off-by: Keith Wiles --- mk/internal/rte.extvars.mk | 2 +- mk/rte.bsdmodule.mk| 6 +++--- mk/rte.extsubdir.mk| 2

[dpdk-dev] [PATCH v3] mempool: reduce rte_mempool structure size

2016-02-10 Thread Keith Wiles
. Saves about 1.5M of memory used by the rte_mempool structure. Allocating small mempools which do not require cache can consume larges amounts of memory if you have a number of these mempools. Signed-off-by: Keith Wiles --- * Patch v3 fix up the ifdefs to correct some problems in removing ifdef

[dpdk-dev] [PATCH v4] mempool: reduce rte_mempool structure size

2016-02-12 Thread Keith Wiles
. Saves about 1.5M of memory used by the rte_mempool structure. Allocating small mempools which do not require cache can consume larges amounts of memory if you have a number of these mempools. Change to be effective in release 16.07. Signed-off-by: Keith Wiles --- * Patch v4 remove RTE_NEXT_ABI

[dpdk-dev] [PATCH] doc: deprecation notice in 16.04 for rte_mempool changes

2016-02-12 Thread Keith Wiles
Deprecation notice for 16.04 for changes to occur in release 16.07 for rte_mempool memory reduction. Signed-off-by: Keith Wiles --- doc/guides/rel_notes/deprecation.rst | 10 ++ 1 file changed, 10 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes

[dpdk-dev] [PATCH] config: remove duplicate configuration information

2016-02-22 Thread Keith Wiles
. Then in those OS specific files add the delta configuration lines. Signed-off-by: Keith Wiles --- config/common_base | 498 config/common_bsdapp| 436 +--- config/common_linuxapp | 491

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

2015-05-11 Thread Keith Wiles
LDLIBS directly. The new internal variable _LDLIBS should not be used outside of the rte.app.mk file. Signed-off-by: Keith Wiles --- mk/rte.app.mk | 242 +++--- 1 file changed, 60 insertions(+), 182 deletions(-) diff --git a/mk/rte.app.mk b/mk

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

2015-05-11 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 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] 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] [RFC] Clang errors with bit fields and setting value of ~0.

2014-11-29 Thread Keith Wiles
; Signer-off-by: Keith Wiles --- lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/lib/librte_pmd_ixgbe/ixgbe_rxtx.c b/lib/librte_pmd_ixgbe/ixgbe_rxtx.c index 8559ef6..de5ae09 100644 --- a/lib/librte_pmd_ixgbe

[dpdk-dev] [PATCH 1/2] Move the error check inside __mempool_check_cookies()

2014-10-04 Thread Keith Wiles
in the case where teh debug routine is not defined. Signed-off-by: Keith Wiles --- lib/librte_mempool/rte_mempool.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/librte_mempool/rte_mempool.h b/lib/librte_mempool/rte_mempool.h index 597cf4f..154fdd4 100644 --- a/lib

[dpdk-dev] [PATCH 1/1] Adding the routines rte_pktmbuf_alloc_bulk() and rte_pktmbuf_free_bulk()

2014-10-04 Thread Keith Wiles
Minor helper routines to mirror the mempool routines and remove the code from applications. The ixgbe_rxtx_vec.c routine could be changed to use the ret_pktmbuf_alloc_bulk() routine inplace of rte_mempool_get_bulk(). Signed-off-by: Keith Wiles --- lib/librte_mbuf/rte_mbuf.h | 77

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

2014-10-05 Thread Keith Wiles
directives. Signed-off-by: Keith Wiles --- lib/librte_mempool/rte_mempool.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/librte_mempool/rte_mempool.h b/lib/librte_mempool/rte_mempool.h index 95f19f9..163de86 100644 --- a/lib/librte_mempool/rte_mempool.h +++ b/lib

[dpdk-dev] [PATCH v2] Adding the routines rte_pktmbuf_alloc_bulk() and rte_pktmbuf_free_bulk()

2014-10-06 Thread Keith Wiles
. Fixed up the comments to state the correct return values. Signed-off-by: Keith Wiles --- lib/librte_mbuf/rte_mbuf.h | 55 ++ 1 file changed, 55 insertions(+) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index 1c6e115..337611b

[dpdk-dev] [PATCH v3] Adding the routines rte_pktmbuf_alloc_bulk() and rte_pktmbuf_free_bulk()

2014-10-07 Thread Keith Wiles
-by: Keith Wiles --- lib/librte_mbuf/rte_mbuf.h | 55 ++ 1 file changed, 55 insertions(+) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index 1c6e115..337611b 100644 --- a/lib/librte_mbuf/rte_mbuf.h +++ b/lib/librte_mbuf/rte_mbuf.h

[dpdk-dev] [PATCH v2] __mempool_get_bulk: remove useless variable

2014-10-09 Thread Keith Wiles
Remove n_orig variable as it is not required. Signed-off-by: Keith Wiles --- lib/librte_mempool/rte_mempool.h | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/librte_mempool/rte_mempool.h b/lib/librte_mempool/rte_mempool.h index 95f19f9..c602cbc 100644 --- a/lib

[dpdk-dev] [PATCH] tools:new tool for system info CPU, memory and huge pages

2016-05-13 Thread Keith Wiles
: Display the information in a human readable format. Signed-off-by: Keith Wiles --- tools/sys_info.py | 551 ++ 1 file changed, 551 insertions(+) create mode 100755 tools/sys_info.py diff --git a/tools/sys_info.py b/tools/sys_info.py new file

[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

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

2016-09-16 Thread Keith Wiles
into one patch. Fix a typo on naming the tap device. Update the maintainers list Signed-off-by: Keith Wiles --- MAINTAINERS | 5 + config/common_linuxapp | 2 + doc/guides/nics/tap.rst | 84 +++ drivers/net/Makefile

[dpdk-dev] [PATCH 07/10] eal: add core list input format

2014-11-24 Thread Roger Keith Wiles
Burn, it is not like we are going to add a huge number of new options in the future and run out of letters. > On Nov 24, 2014, at 8:52 AM, Venkatesan, Venky intel.com> wrote: > > > On 11/24/2014 5:28 AM, Bruce Richardson wrote: >> On Mon, Nov 24, 2014 at 02:19:16PM +0100, Thomas Monjalon

[dpdk-dev] [PATCH 07/10] eal: add core list input format

2014-11-24 Thread Roger Keith Wiles
> On Nov 24, 2014, at 11:04 AM, Neil Horman wrote: > > On Mon, Nov 24, 2014 at 10:12:33AM -0600, Roger Keith Wiles wrote: >> Burn, it is not like we are going to add a huge number of new options in the >> future and run out of letters. >> > No, but what about the