dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
From: Chao Zhu <chaozhu-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
To: Bruce Richardson
	<bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: dev-VfR2kkLFssw@public.gmane.org
Subject: Re: [PATCH v3 01/14] Add compiling definations for IBM Power architecture
Date: Tue, 25 Nov 2014 17:19:56 +0800	[thread overview]
Message-ID: <547449BC.5080206@linux.vnet.ibm.com> (raw)
In-Reply-To: <20141125084439.GA6696@bricha3-MOBL3>

Bruce,

Good point! I'll update the current patches.
Thanks for your suggestions!

On 2014/11/25 16:44, Bruce Richardson wrote:
> On Tue, Nov 25, 2014 at 11:51:13AM +0800, Chao Zhu wrote:
>> Neil,
>> Current Power related patches are not a full functional one. Some of the
>> libraries are not migrated. So
>> common_linuxapp_powerpc is used to turn off the uncompiled part.
> Hi Chao,
> just to re-echo what Neil says - this would be better as a
> defconfig_powerpc-native-linuxapp-gcc config file including common_linuxapp.
> Anything you need to turn off in the config can be turned off in the defconfig
> file after you include the common_linuxapp one - later definitions override
> earlier ones. It also makes things clearer to read as you end up with a
> powerpc config file that essentially reads as "use common linux settings except
> for this, and this, and this, etc...."
>
> 	Regards,
> 	/Bruce
>
>> This file
>> is a copy of the common_linuxapp. And this file is intended to be removed
>> when all of the libraries are migrated to Power. Actually, it's the current
>> common file for linux and other OS, such as BSD.  However, I didn't try the
>> compilation on BSD.  But this probably needs to be done.
>>
>> On 2014/11/24 6:02, Neil Horman wrote:
>>> On Sun, Nov 23, 2014 at 08:22:09PM -0500, Chao Zhu wrote:
>>>> To make DPDK run on IBM Power architecture, configuration files for
>>>> Power architecuture are added. Also, the compiling related .mk files are
>>>> added.
>>>>
>>>> Signed-off-by: Chao Zhu <chaozhu-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
>>>> ---
>>>>   config/common_linuxapp_powerpc              |  394 +++++++++++++++++++++++++++
>>>>   config/defconfig_ppc_64-power8-linuxapp-gcc |   40 +++
>>>>   mk/arch/ppc_64/rte.vars.mk                  |   39 +++
>>>>   mk/machine/power8/rte.vars.mk               |   57 ++++
>>>>   4 files changed, 530 insertions(+), 0 deletions(-)
>>>>   create mode 100644 config/common_linuxapp_powerpc
>>>>   create mode 100644 config/defconfig_ppc_64-power8-linuxapp-gcc
>>>>   create mode 100644 mk/arch/ppc_64/rte.vars.mk
>>>>   create mode 100644 mk/machine/power8/rte.vars.mk
>>>>
>>>> diff --git a/config/common_linuxapp_powerpc b/config/common_linuxapp_powerpc
>>>> new file mode 100644
>>>> index 0000000..d230a0b
>>>> --- /dev/null
>>>> +++ b/config/common_linuxapp_powerpc
>>> This filename is common_linuxapp_powerpc, but given that it explicitly specifies
>>> all the build options, there isn't really anything common about it.  I think
>>> what you want to do is rename this defconfig_powerpc-native-linuxapp-gcc, and
>>> have it include common_linuxapp, then change any power-specific option you see
>>> fit.
>>>
>>> Also, does BSD build on power?  I presume so. You likely want to create a
>>> corresponding bsd power config
>>>
>>

  reply	other threads:[~2014-11-25  9:19 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-24  1:22 [PATCH v3 00/14] Patches for DPDK to support Power architecture Chao Zhu
     [not found] ` <1416792142-23132-1-git-send-email-chaozhu-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2014-11-24  1:22   ` [PATCH v3 01/14] Add compiling definations for IBM " Chao Zhu
     [not found]     ` <1416792142-23132-2-git-send-email-chaozhu-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2014-11-23 22:02       ` Neil Horman
     [not found]         ` <20141123220246.GA27315-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2014-11-25  3:51           ` Chao Zhu
     [not found]             ` <5473FCB1.9080507-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2014-11-25  8:44               ` Bruce Richardson
2014-11-25  9:19                 ` Chao Zhu [this message]
2014-11-24  1:22   ` [PATCH v3 02/14] Add atomic operations " Chao Zhu
2014-11-24  1:22   ` [PATCH v3 03/14] Add byte order " Chao Zhu
2014-11-24  8:11     ` Qiu, Michael
     [not found]       ` <533710CFB86FA344BFBF2D6802E60286C99F43-0J0gbvR4kThpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-11-26  2:35         ` Chao Zhu
2014-11-24  1:22   ` [PATCH v3 04/14] Add CPU cycle " Chao Zhu
2014-11-24  1:22   ` [PATCH v3 05/14] Add prefetch operation " Chao Zhu
2014-11-24  1:22   ` [PATCH v3 06/14] Add spinlock " Chao Zhu
2014-11-24  1:22   ` [PATCH v3 07/14] Add vector memcpy " Chao Zhu
2014-11-24  1:22   ` [PATCH v3 08/14] Add CPU flag checking " Chao Zhu
     [not found]     ` <1416792142-23132-9-git-send-email-chaozhu-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2014-11-24 14:14       ` Neil Horman
     [not found]         ` <20141124141453.GC6038-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2014-11-25  3:27           ` Chao Zhu
     [not found]             ` <5473F723.1090209-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2014-11-25 11:37               ` Neil Horman
2014-11-24  1:22   ` [PATCH v3 09/14] Remove iopl operation " Chao Zhu
2014-11-24  1:22   ` [PATCH v3 10/14] Add cache size define for IBM Power Architecture Chao Zhu
2014-11-24  1:22   ` [PATCH v3 11/14] Add huge page size define for IBM Power architecture Chao Zhu
2014-11-24  1:22   ` [PATCH v3 12/14] Add eal memory support for IBM Power Architecture Chao Zhu
     [not found]     ` <1416792142-23132-13-git-send-email-chaozhu-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2014-11-24 15:17       ` David Marchand
     [not found]         ` <CALwxeUv2QC1iEVS5mSXAYRZtHNuJxdHMFamT_6RPe2sJ6+Ohiw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-24 15:18           ` [PATCH] eal: fix remaining checks for other 64bits architectures David Marchand
     [not found]             ` <1416842331-7716-1-git-send-email-david.marchand-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2014-11-24 15:58               ` chaozhu-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8
     [not found]                 ` <20141124105811.Horde.yzi-ZleYQoe06Ldh-qmKsQ6-yBcKIWmi0QMlKIYzOP1THwC/G2K4zDHf@public.gmane.org>
2014-11-27  7:47                   ` Thomas Monjalon
2014-11-24  1:22   ` [PATCH v3 13/14] test_memzone:fix finding the second smallest segment Chao Zhu
2014-11-24  1:22   ` [PATCH v3 14/14] Fix the compiling of test-pmd on IBM Power Architecture Chao Zhu
2014-11-24 15:05   ` [PATCH v3 00/14] Patches for DPDK to support Power architecture David Marchand
     [not found]     ` <CALwxeUuwskDjPDD+spMtbAQtmJq6am82cFtvv1Kj4s9c3LOZ9w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-24 15:49       ` chaozhu-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8
2014-11-25  2:49       ` Chao Zhu

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=547449BC.5080206@linux.vnet.ibm.com \
    --to=chaozhu-23vcf4htsmix0ybbhkvfkdbpr1lh4cv8@public.gmane.org \
    --cc=bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.org \
    /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).