[dpdk-dev] [PATCH 10/10] eal: add option --master-lcore

2014-11-22 Thread Thomas Monjalon
From: Simon Kuenzer Enable users to specify the lcore id that is used as master lcore. Signed-off-by: Simon Kuenzer Signed-off-by: Thomas Monjalon --- app/test/test.c| 1 + app/test/test_eal_flags.c | 51 ++ lib/librte_

[dpdk-dev] [PATCH 09/10] eal: get relative core index

2014-11-22 Thread Thomas Monjalon
From: Patrick Lu EAL -c option allows the user to enable any lcore in the system. Often times, the user app wants to know 1st enabled core, 2nd enabled core, etc, rather than phyical core ID (rte_lcore_id().) The new API rte_lcore_index() will return an index from enabled lcores starting from ze

[dpdk-dev] [PATCH 08/10] config: support 128 cores

2014-11-22 Thread Thomas Monjalon
From: Didier Pallard New platforms have more than 64 cores. Now that cores can be specified with a list, we are not limited anymore to 64. Set default max cores number to 128. Signed-off-by: Didier Pallard Acked-by: David Marchand --- config/common_bsdapp | 2 +- config/common_linuxapp | 2

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

2014-11-22 Thread Thomas Monjalon
From: Didier Pallard In current version, used cores can only be specified using a bitmask. It will now be possible to specify cores in 2 different ways: - Using a bitmask (-c [0x]nnn): bitmask must be in hex format - Using a list in following format: -l [-c2][,c3[-c4],...] The letter -l can stan

[dpdk-dev] [PATCH 06/10] eal: factorize configuration adjustment

2014-11-22 Thread Thomas Monjalon
Some adjustments are done after options parsing and are common to Linux and BSD. Remove process_type adjustment in rte_config_init() because it is already done in eal_parse_args(). eal_proc_type_detect() is kept duplicated because it open a file descriptor which is used later in each eal.c. Signe

[dpdk-dev] [PATCH 05/10] eal: factorize options sanity check

2014-11-22 Thread Thomas Monjalon
No need to have duplicated check for common options. Some flags are set for options -c and -m in order to simplify the checks. Signed-off-by: Thomas Monjalon --- lib/librte_eal/bsdapp/eal/eal.c| 54 ++ lib/librte_eal/common/eal_common_options.c | 53 +

[dpdk-dev] [PATCH 04/10] eal: factorize internal config reset

2014-11-22 Thread Thomas Monjalon
Now that internal config structure is common to Linux and BSD, we can have a common function to initialize it. Signed-off-by: Thomas Monjalon --- lib/librte_eal/bsdapp/eal/eal.c| 24 +-- lib/librte_eal/common/eal_common_options.c | 37 ++ l

[dpdk-dev] [PATCH 03/10] eal: fix header guards

2014-11-22 Thread Thomas Monjalon
Some guards are missing or have a wrong name. Others have LINUXAPP in their name but are now common. Signed-off-by: Thomas Monjalon --- lib/librte_eal/common/eal_filesystem.h | 6 +++--- lib/librte_eal/common/eal_hugepages.h| 6 +++--- lib/librte_eal/common/eal_internal_cfg.h | 4 ++-- lib

[dpdk-dev] [PATCH 02/10] eal: factorize common headers

2014-11-22 Thread Thomas Monjalon
No need to have different headers for Linux and BSD. These files are identicals with exception of internal config which has uio and vfio fields only useful for Linux. Signed-off-by: Thomas Monjalon --- app/test/test_eal_fs.c | 2 +- lib/librte_eal/bsdapp/eal/Makefil

[dpdk-dev] [PATCH 01/10] eal: move internal headers in source directory

2014-11-22 Thread Thomas Monjalon
The directory include/ should be reserved to public headers. Signed-off-by: Thomas Monjalon --- lib/librte_eal/bsdapp/eal/Makefile | 1 + lib/librte_eal/common/{include => }/eal_options.h| 0 lib/librte_eal/common/{include => }/eal_private.h| 0 lib/librte_e

[dpdk-dev] [PATCH 00/10] eal cleanup and new options

2014-11-22 Thread Thomas Monjalon
There are some pending patches which requires to factorize some EAL parts in order to be correctly implemented. This patchset do the required clean-up and rework these patches to improve lcore handling: Didier Pallard (2): eal: add core list input format config: support 128 cores Patrick Lu (

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

2014-11-22 Thread Neil Horman
On Sat, Nov 22, 2014 at 10:43:39PM +0100, Thomas Monjalon wrote: > From: Didier Pallard > > In current version, used cores can only be specified using a bitmask. > It will now be possible to specify cores in 2 different ways: > - Using a bitmask (-c [0x]nnn): bitmask must be in hex format > - Usi

[dpdk-dev] [PATCH v4 00/10] VM Power Management

2014-11-22 Thread Vincent JARDIN
Tim, cc-ing Paolo and qemu-devel@ again in order to get their take on it. >>> Did you make any progress in Qemu/KVM community? >>> We need to be sync'ed up with them to be sure we share the same goal. >>> I want also to avoid using a solution which doesn't fit with their plan. >>> Remember that w

[dpdk-dev] Next Community Call, Tuesday 2nd December, 8:00 AM GMT

2014-11-22 Thread Butler, Siobhan A
-Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Neil Horman Sent: Friday, November 21, 2014 8:21 PM To: O'driscoll, Tim Cc: dev at dpdk.org Subject: Re: [dpdk-dev] Next Community Call, Tuesday 2nd December, 8:00 AM GMT On Fri, Nov 21, 2014 at 04:08:53PM +, O'd