DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Helin Zhang <helin.zhang@intel.com>,
	Konstantin Ananyev <konstantin.ananyev@intel.com>,
	Bruce Richardson <bruce.richardson@intel.com>
Cc: dev@dpdk.org
Subject: [dpdk-dev] config files maintenance
Date: Fri, 31 Jul 2015 17:08:16 +0200	[thread overview]
Message-ID: <2490473.jjJga3lrlm@xps13> (raw)

Hi,

Currently most of the build options are duplicated in 2 config files.
They should be merged in a common file to avoid this kind of differences:

--- config/common_bsdapp
+++ config/common_linuxapp
-CONFIG_RTE_IXGBE_INC_VECTOR=n
+CONFIG_RTE_IXGBE_INC_VECTOR=y
-CONFIG_RTE_IXGBE_RX_OLFLAGS_DISABLE=n
+CONFIG_RTE_IXGBE_RX_OLFLAGS_ENABLE=y
-CONFIG_RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC=n
+CONFIG_RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC=y

Can we enable ixgbe SSE on BSD?
CONFIG_RTE_IXGBE_RX_OLFLAGS_DISABLE must be renamed to
CONFIG_RTE_IXGBE_RX_OLFLAGS_ENABLE, or can we remove this option?
Can we remove i40e bulk alloc option?
Why IEEE1588 is disabled? Can we remove this option?

Please help to fix it for the release 2.1.

After fixing the config, we have to think about simplifying it in 2.2.
It would be easier to have some kind of config overlays:
	config_base
	config_bsd
	config_linux
	config_osv
	config_gcc
	config_icc
	config_clang
	config_i686
	config_x86_64
	config_x86_x32
	config_ppc_64
	config_tile-tilegx
Then the defconfig files would include the above files.
Or better, we could allow some paramaters to make config:
	make config ARCH= OS= CC=

Thoughts?

             reply	other threads:[~2015-07-31 15:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-31 15:08 Thomas Monjalon [this message]
2015-07-31 15:29 ` Zhang, Helin
2015-07-31 15:31   ` Thomas Monjalon
2015-07-31 15:39     ` Zhang, Helin
2015-07-31 15:43       ` Thomas Monjalon
2015-07-31 16:34         ` Zhang, Helin
2015-07-31 15:41 ` Ananyev, Konstantin
2015-07-31 20:45 ` Thomas Monjalon
2015-07-31 21:11 ` [dpdk-dev] [PATCH 0/3] sync linux/bsd config options Thomas Monjalon
2015-07-31 21:11   ` [dpdk-dev] [PATCH 1/3] ixgbe: fix offload config option name Thomas Monjalon
2015-07-31 21:11   ` [dpdk-dev] [PATCH 2/3] config: enable same drivers options for linux and bsd Thomas Monjalon
2015-07-31 21:11   ` [dpdk-dev] [PATCH 3/3] config: remove kni options for bsd Thomas Monjalon
2015-07-31 21:24     ` Zhang, Helin
2015-08-03 10:44   ` [dpdk-dev] [PATCH 0/3] sync linux/bsd config options 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=2490473.jjJga3lrlm@xps13 \
    --to=thomas.monjalon@6wind.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=helin.zhang@intel.com \
    --cc=konstantin.ananyev@intel.com \
    /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).