DPDK patches and discussions
 help / color / mirror / Atom feed
From: Rasesh Mody <rasesh.mody@qlogic.com>
To: Bruce Richardson <bruce.richardson@intel.com>,
	"thomas.monjalon@6wind.com" <thomas.monjalon@6wind.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
	Ameen Rahman <ameen.rahman@qlogic.com>,
	Harish Patil <harish.patil@qlogic.com>,
	Sony Chacko <sony.chacko@qlogic.com>
Subject: Re: [dpdk-dev] [PATCH v3 00/10]  qede: Add qede PMD
Date: Tue, 29 Mar 2016 20:52:38 +0000	[thread overview]
Message-ID: <2552F74A0BCCBE4DBE2AD218C81B281108704176@avmb3.qlogic.org> (raw)
In-Reply-To: <20160322113007.GA16960@bricha3-MOBL3>

Hi Bruce,

> From: Bruce Richardson [mailto:bruce.richardson@intel.com]
> Sent: Tuesday, March 22, 2016 4:30 AM
> 
> On Tue, Mar 22, 2016 at 11:21:25AM +0000, Richardson, Bruce wrote:
> > I've had a quick scan over this patchset, and as you've probably seen I've
> made some public comments on it. General comments on the whole
> patchset are:
> > * Please run checkpatch on the patchset and clear up as many issues as
> > you can. There are a number of typos called out which especially must
> > be fixed. Both myself and Thomas always run checkpatch against patches
> > before applying them. [I suggest using Thomas's checkpatches.sh script
> > to do the checks as it disables many unnecessary warnings from
> > checkpatch]
> > * Please put in commit descriptions for all patches bar those doing trivial
> things. The first three patches probably don't need a commit message, but
> the rest do.
> >
> > /Bruce
> >
> > > -----Original Message-----
> > > From: Rasesh Mody [mailto:rasesh.mody@qlogic.com]
> > > Sent: Saturday, March 19, 2016 12:53 AM
> > > To: thomas.monjalon@6wind.com; Richardson, Bruce
> > > <bruce.richardson@intel.com>
> > > Cc: dev@dpdk.org; ameen.rahman@qlogic.com; harish.patil@qlogic.com;
> > > sony.chacko@qlogic.com; Rasesh Mody <rasesh.mody@qlogic.com>
> > > Subject: [PATCH v3 00/10] qede: Add qede PMD
> > >
> > > Submitting v3 patch series for QEDE PMD. There is no code change
> > > from v2 series except PMD version change. Earlier we had generated
> > > and tested the
> > > v2 series against dpdk tree then latest.
> > >
> > > The v3 series includes:
> > >  - Patches generated and tested against latest dpdk-next-net
> > >  - Reworked MAINTAINERS patch to make it apply cleanly
> > >  - Incorporated Overview.rst update in the documentation patch
> > >
> > > Please Apply.
> > >
> > > Thanks!
> > > Rasesh
> > >
> > > Rasesh Mody (10):
> > >   qede: Add maintainers
> > >   qede: Add documentation
> > >   qede: Add license file
> > >   qede: Add base driver
> > >   qede: Add core driver
> > >   qede: Add L2 support
> > >   qede: Add SRIOV support
> > >   qede: Add attention support
> > >   qede: Add DCBX support
> > >   qede: Enable PMD build
> > >
> Clang gives a compile error after applying this patchset. Please investigate.
> 
> == Build drivers/net/qede
>   CC base/ecore_dev.o
> fatal error: unknown warning option '-Wno-shift-negative-value'; did you
> mean
>       '-Wno-shift-sign-overflow'? [-Wunknown-warning-option]
> /home/bruce/next-net/dpdk-next-net/mk/internal/rte.compile-
> pre.mk:126: recipe for target 'base/ecore_dev.o' failed
> 
> This is seen with clang 3.6 on Fedora 23.
> 	"clang version 3.6.0 (tags/RELEASE_360/final)"

We had compiled all our previously submitted driver patches against clang v3.8 on  RH7.1 and didn't see a similar error. The '-Wno-shift-negative-value' option got introduced after 3.6.0 release.  Pls. let us know if we need to support a minimum version of clang. 
        "clang version 3.8.0 (trunk 249596) (llvm/trunk 249595)"
 
> Similarly, 32-bit (i686) build fails:
> 
> == Build drivers/net/qede
>   CC base/ecore_dev.o
> /home/bruce/next-net/dpdk-next-
> net/drivers/net/qede/base/ecore_dev.c: In function
> ‘ecore_chain_alloc_sanity_check’:
> /home/bruce/next-net/dpdk-next-
> net/drivers/net/qede/base/ecore_dev.c:2571:32: error: format ‘%lx’
> expects argument of type ‘long unsigned int’, but argument 6 has type ‘u64
> {aka long long unsigned int}’ [-Werror=format=] compilation terminated due
> to -Wfatal-errors.
> cc1: all warnings being treated as errors
> 
> This is seen with gcc 5.3.1 on Fedora 23.

For 32-bit, we are preparing our driver to compile against gcc version 4.3.4.

Similary, we had compile tested all our previously submitted driver patches on FreeBSD using:
        FreeBSD clang version 3.6.1 and
        gcc version 4.8.5

Thanks!
Rasesh

> Regards,
> /Bruce

  reply	other threads:[~2016-03-29 20:52 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-19  0:53 Rasesh Mody
2016-03-19  0:53 ` [dpdk-dev] [PATCH v3 01/10] qede: Add maintainers Rasesh Mody
2016-03-19  0:53 ` [dpdk-dev] [PATCH v3 02/10] qede: Add documentation Rasesh Mody
2016-03-19  0:53 ` [dpdk-dev] [PATCH v3 03/10] qede: Add license file Rasesh Mody
2016-03-19  0:53 ` [dpdk-dev] [PATCH v3 04/10] qede: Add base driver Rasesh Mody
2016-03-19  0:53 ` [dpdk-dev] [PATCH v3 05/10] qede: Add core driver Rasesh Mody
2016-03-21 17:32   ` Stephen Hemminger
2016-03-22  1:14     ` Rasesh Mody
2016-03-22 10:55   ` Bruce Richardson
2016-03-22 11:03     ` Bruce Richardson
2016-03-19  0:53 ` [dpdk-dev] [PATCH v3 06/10] qede: Add L2 support Rasesh Mody
2016-03-22 11:04   ` Bruce Richardson
2016-03-19  0:53 ` [dpdk-dev] [PATCH v3 07/10] qede: Add SRIOV support Rasesh Mody
2016-03-19  0:53 ` [dpdk-dev] [PATCH v3 08/10] qede: Add attention support Rasesh Mody
2016-03-22 11:07   ` Bruce Richardson
2016-03-19  0:53 ` [dpdk-dev] [PATCH v3 09/10] qede: Add DCBX support Rasesh Mody
2016-03-19  0:53 ` [dpdk-dev] [PATCH v3 10/10] qede: Enable PMD build Rasesh Mody
2016-03-22 11:21   ` Bruce Richardson
2016-03-22 11:21 ` [dpdk-dev] [PATCH v3 00/10] qede: Add qede PMD Richardson, Bruce
2016-03-22 11:30   ` Bruce Richardson
2016-03-29 20:52     ` Rasesh Mody [this message]
2016-03-30 12:34       ` Bruce Richardson
2016-03-24  1:52   ` Rasesh Mody

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=2552F74A0BCCBE4DBE2AD218C81B281108704176@avmb3.qlogic.org \
    --to=rasesh.mody@qlogic.com \
    --cc=ameen.rahman@qlogic.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=harish.patil@qlogic.com \
    --cc=sony.chacko@qlogic.com \
    --cc=thomas.monjalon@6wind.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).