From: Chas Williams <3chas3@gmail.com>
To: Bruce Richardson <bruce.richardson@intel.com>
Cc: dev@dpdk.org, thomas@monjalon.net
Subject: Re: [dpdk-dev] [PATCH 1/2 v2] build: add option to override max ethports
Date: Tue, 5 Feb 2019 16:08:02 -0500 [thread overview]
Message-ID: <54dc55b6-aa63-7390-3b7a-2ffbc7f1e2f2@gmail.com> (raw)
In-Reply-To: <20190204094906.GC21148@bricha3-MOBL.ger.corp.intel.com>
On 2/4/19 4:49 AM, Bruce Richardson wrote:
> On Thu, Jan 31, 2019 at 06:53:25PM -0500, Chas Williams wrote:
>> Allow users and packagers to override the default RTE_MAX_ETHPORTS.
>> This adds a new meson option, max_ethports which defaults to the
>> current value.
>>
>
> Actually in this v2, you have changed it to 64 from 32. :-) Otherwise all
> fine, but perhaps this can be fixed on apply if no v3.
Oops. I can make it 32 again.
>
>> Signed-off-by: Chas Williams <3chas3@gmail.com>
>> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
>> ---
>> config/meson.build | 1 +
>> config/rte_config.h | 1 -
>> meson_options.txt | 2 ++
>> 3 files changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/config/meson.build b/config/meson.build
>> index db32499b3..e59507065 100644
>> --- a/config/meson.build
>> +++ b/config/meson.build
>> @@ -103,6 +103,7 @@ endforeach
>> # set other values pulled from the build options
>> dpdk_conf.set('RTE_MAX_LCORE', get_option('max_lcores'))
>> dpdk_conf.set('RTE_MAX_NUMA_NODES', get_option('max_numa_nodes'))
>> +dpdk_conf.set('RTE_MAX_ETHPORTS', get_option('max_ethports'))
>> dpdk_conf.set('RTE_LIBEAL_USE_HPET', get_option('use_hpet'))
>> dpdk_conf.set('RTE_EAL_ALLOW_INV_SOCKET_ID', get_option('allow_invalid_socket_id'))
>> # values which have defaults which may be overridden
>> diff --git a/config/rte_config.h b/config/rte_config.h
>> index d3732e953..7606f5d7b 100644
>> --- a/config/rte_config.h
>> +++ b/config/rte_config.h
>> @@ -51,7 +51,6 @@
>> #define RTE_PKTMBUF_HEADROOM 128
>>
>> /* ether defines */
>> -#define RTE_MAX_ETHPORTS 32
>> #define RTE_MAX_QUEUES_PER_PORT 1024
>> #define RTE_ETHDEV_QUEUE_STAT_CNTRS 16
>> #define RTE_ETHDEV_RXTX_CALLBACKS 1
>> diff --git a/meson_options.txt b/meson_options.txt
>> index 574054597..499573ed4 100644
>> --- a/meson_options.txt
>> +++ b/meson_options.txt
>> @@ -18,6 +18,8 @@ option('lib_musdk_dir', type: 'string', value: '',
>> description: 'path to the MUSDK library installation directory')
>> option('machine', type: 'string', value: 'native',
>> description: 'set the target machine type')
>> +option('max_ethports', type: 'string', value: '64',
>> + description: 'maximum number of Ethernet devices in EAL')
>> option('max_lcores', type: 'string', value: '128',
>> description: 'maximum number of cores/threads supported by EAL')
>> option('max_numa_nodes', type: 'string', value: '4',
>> --
>> 2.17.2
>>
next prev parent reply other threads:[~2019-02-05 21:08 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-31 2:18 [dpdk-dev] [PATCH] " Chas Williams
2019-01-31 9:32 ` Bruce Richardson
2019-01-31 23:26 ` Chas Williams
2019-02-04 9:46 ` Bruce Richardson
2019-02-06 17:10 ` Luca Boccassi
2019-01-31 23:53 ` [dpdk-dev] [PATCH 1/2 v2] " Chas Williams
2019-02-04 9:49 ` Bruce Richardson
2019-02-05 21:08 ` Chas Williams [this message]
2019-01-31 23:59 ` [dpdk-dev] [PATCH 2/2,v2] build: fix option ordering Chas Williams
2019-02-04 9:56 ` Bruce Richardson
2019-02-07 15:53 ` [dpdk-dev] [v3, PATCH 1/2] build: add option to override max ethports Chas Williams
2019-02-07 15:53 ` [dpdk-dev] [v3,PATCH 2/2] build: fix option ordering Chas Williams
2019-02-07 16:35 ` Bruce Richardson
2019-02-26 20:31 ` Thomas Monjalon
2019-02-26 20:19 ` [dpdk-dev] [v3, PATCH 1/2] build: add option to override max ethports Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54dc55b6-aa63-7390-3b7a-2ffbc7f1e2f2@gmail.com \
--to=3chas3@gmail.com \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=thomas@monjalon.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).