DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: David Marchand <david.marchand@redhat.com>
Cc: <dev@dpdk.org>
Subject: Re: [PATCH v3 0/9] net/intel: clean up base code build
Date: Fri, 28 Mar 2025 09:01:53 +0000	[thread overview]
Message-ID: <Z-ZlgQHcTo0tOI63@bricha3-mobl1.ger.corp.intel.com> (raw)
In-Reply-To: <CAJFAV8y8eqnTDmsku8=HrF1fQdDuBNYyaKfzWCg9J1Z5P8iYVw@mail.gmail.com>

On Fri, Mar 28, 2025 at 09:21:03AM +0100, David Marchand wrote:
> On Thu, Mar 27, 2025 at 3:52 PM Bruce Richardson
> <bruce.richardson@intel.com> wrote:
> >
> > Simplify the build of the various intel base code directories, by
> > clearing compiler warnings so the files can be compiled directly along
> > with the regular driver files.
> >
> > v3: add fix for lock checker issues on FreeBSD v2: added missing patch
> > for fm10k
> >
> > Bruce Richardson (9): net/fm10k/base: fix compilation warnings
> > net/iavf/base: remove unused meson.build file net/ixgbe/base: correct
> > definition of macro net/ixgbe/base: fix compilation warnings
> > net/ixgbe/base: fix lock checker errors net/i40e/base: fix unused value
> > warnings net/i40e/base: fix compiler warnings net/ice/base: reduce
> > warnings for unused variables net/intel: simplify base code builds
> >
> >  drivers/net/intel/e1000/base/meson.build    |  9 ++-----
> >  drivers/net/intel/e1000/meson.build         |  4 +--
> >  drivers/net/intel/fm10k/base/fm10k_mbx.c    |  2 +-
> >  drivers/net/intel/fm10k/base/fm10k_osdep.h  |  2 +-
> >  drivers/net/intel/fm10k/base/fm10k_pf.c     |  8 +++---
> >  drivers/net/intel/fm10k/base/fm10k_type.h   |  6 ++---
> >  drivers/net/intel/fm10k/base/meson.build    | 21 ++-------------
> >  drivers/net/intel/fm10k/meson.build         |  4 +--
> >  drivers/net/intel/i40e/base/i40e_diag.c     |  2 +-
> >  drivers/net/intel/i40e/base/i40e_nvm.c      |  2 +-
> >  drivers/net/intel/i40e/base/i40e_osdep.h    |  4 +--
> >  drivers/net/intel/i40e/base/i40e_type.h     | 14 ++++++----
> >  drivers/net/intel/i40e/base/meson.build     | 23 ++--------------
> >  drivers/net/intel/i40e/i40e_ethdev.c        |  1 +
> >  drivers/net/intel/i40e/meson.build          |  4 +--
> >  drivers/net/intel/iavf/base/meson.build     | 10 -------
> >  drivers/net/intel/ice/base/ice_osdep.h      |  6 ++---
> >  drivers/net/intel/ice/base/ice_switch.c     |  2 --
> >  drivers/net/intel/ice/base/ice_type.h       |  2 +-
> >  drivers/net/intel/ice/base/meson.build      |  1 -
> >  drivers/net/intel/ice/ice_fdir_filter.c     |  2 +-
> >  drivers/net/intel/idpf/base/meson.build     |  2 +-
> >  drivers/net/intel/idpf/meson.build          |  7 ++---
> >  drivers/net/intel/ixgbe/base/ixgbe_common.c |  4 +--
> >  drivers/net/intel/ixgbe/base/ixgbe_e610.c   |  2 ++
> >  drivers/net/intel/ixgbe/base/ixgbe_osdep.c  | 20 --------------
> >  drivers/net/intel/ixgbe/base/ixgbe_osdep.h  | 29 ++++++++++++---------
> >  drivers/net/intel/ixgbe/base/meson.build    | 20 ++------------
> >  drivers/net/intel/ixgbe/meson.build         |  4 +-- 29 files changed,
> >  69 insertions(+), 148 deletions(-) delete mode 100644
> >  drivers/net/intel/iavf/base/meson.build
> 
> I see that you kept the base/meson.build in most drivers, though those
> only provides a list of base sources.  Is this because you expect having
> to restore this special handling in the future?
> 
Not especially, no. I would hope we wouldn't need additional warning
handling in future, though one never knows. I did consider removing them in
this set, but have decided against it (for now anyway).

I am planning on doing a follow-up set to move the handling of the base
code builds to the "drivers/meson.build" file. At that point, I'll maybe
decide to remove the files - though again I'm in two-minds about it, still.

/Bruce

  reply	other threads:[~2025-03-28  9:02 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-26 15:52 [PATCH 0/7] " Bruce Richardson
2025-03-26 15:52 ` [PATCH 1/7] net/iavf/base: remove unused meson.build file Bruce Richardson
2025-03-26 15:52 ` [PATCH 2/7] net/ixgbe/base: correct definition of macro Bruce Richardson
2025-03-26 15:52 ` [PATCH 3/7] net/ixgbe/base: fix compilation warnings Bruce Richardson
2025-03-26 15:52 ` [PATCH 4/7] net/i40e/base: fix unused value warnings Bruce Richardson
2025-03-26 15:52 ` [PATCH 5/7] net/i40e/base: fix compiler warnings Bruce Richardson
2025-03-26 15:52 ` [PATCH 6/7] net/ice/base: reduce warnings for unused variables Bruce Richardson
2025-03-26 15:52 ` [PATCH 7/7] net/intel: simplify base code builds Bruce Richardson
2025-03-26 16:05 ` [PATCH v2 0/8] net/intel: clean up base code build Bruce Richardson
2025-03-26 16:05   ` [PATCH v2 1/8] net/fm10k/base: fix compilation warnings Bruce Richardson
2025-03-26 16:05   ` [PATCH v2 2/8] net/iavf/base: remove unused meson.build file Bruce Richardson
2025-03-26 16:05   ` [PATCH v2 3/8] net/ixgbe/base: correct definition of macro Bruce Richardson
2025-03-26 16:05   ` [PATCH v2 4/8] net/ixgbe/base: fix compilation warnings Bruce Richardson
2025-03-26 16:05   ` [PATCH v2 5/8] net/i40e/base: fix unused value warnings Bruce Richardson
2025-03-26 16:05   ` [PATCH v2 6/8] net/i40e/base: fix compiler warnings Bruce Richardson
2025-03-26 16:05   ` [PATCH v2 7/8] net/ice/base: reduce warnings for unused variables Bruce Richardson
2025-03-26 16:05   ` [PATCH v2 8/8] net/intel: simplify base code builds Bruce Richardson
2025-03-27 14:51 ` [PATCH v3 0/9] net/intel: clean up base code build Bruce Richardson
2025-03-27 14:51   ` [PATCH v3 1/9] net/fm10k/base: fix compilation warnings Bruce Richardson
2025-03-27 14:51   ` [PATCH v3 2/9] net/iavf/base: remove unused meson.build file Bruce Richardson
2025-03-27 14:51   ` [PATCH v3 3/9] net/ixgbe/base: correct definition of macro Bruce Richardson
2025-03-27 14:51   ` [PATCH v3 4/9] net/ixgbe/base: fix compilation warnings Bruce Richardson
2025-03-27 14:51   ` [PATCH v3 5/9] net/ixgbe/base: fix lock checker errors Bruce Richardson
2025-03-28  8:20     ` David Marchand
2025-03-28 10:43       ` Bruce Richardson
2025-03-28 11:13         ` Bruce Richardson
2025-03-28 11:48         ` David Marchand
2025-03-27 14:51   ` [PATCH v3 6/9] net/i40e/base: fix unused value warnings Bruce Richardson
2025-03-27 14:51   ` [PATCH v3 7/9] net/i40e/base: fix compiler warnings Bruce Richardson
2025-03-27 14:52   ` [PATCH v3 8/9] net/ice/base: reduce warnings for unused variables Bruce Richardson
2025-03-27 14:52   ` [PATCH v3 9/9] net/intel: simplify base code builds Bruce Richardson
2025-03-28  8:21   ` [PATCH v3 0/9] net/intel: clean up base code build David Marchand
2025-03-28  9:01     ` Bruce Richardson [this message]
2025-03-28 11:16 ` [PATCH v4 " Bruce Richardson
2025-03-28 11:16   ` [PATCH v4 1/9] net/fm10k/base: fix compilation warnings Bruce Richardson
2025-03-28 12:53     ` Burakov, Anatoly
2025-03-28 11:16   ` [PATCH v4 2/9] net/iavf/base: remove unused meson.build file Bruce Richardson
2025-03-28 13:00     ` Burakov, Anatoly
2025-03-28 11:16   ` [PATCH v4 3/9] net/ixgbe/base: correct definition of macro Bruce Richardson
2025-03-28 13:01     ` Burakov, Anatoly
2025-03-28 11:16   ` [PATCH v4 4/9] net/ixgbe/base: fix compilation warnings Bruce Richardson
2025-03-28 13:02     ` Burakov, Anatoly
2025-03-28 11:16   ` [PATCH v4 5/9] net/ixgbe/base: fix lock checker errors Bruce Richardson
2025-03-28 13:05     ` Burakov, Anatoly
2025-03-28 11:16   ` [PATCH v4 6/9] net/i40e/base: fix unused value warnings Bruce Richardson
2025-03-28 13:07     ` Burakov, Anatoly
2025-03-28 15:21       ` Andre Muezerie
2025-03-28 15:26         ` Bruce Richardson
2025-03-28 11:16   ` [PATCH v4 7/9] net/i40e/base: fix compiler warnings Bruce Richardson
2025-03-28 13:08     ` Burakov, Anatoly
2025-03-28 11:16   ` [PATCH v4 8/9] net/ice/base: reduce warnings for unused variables Bruce Richardson
2025-03-28 13:09     ` Burakov, Anatoly
2025-03-28 11:16   ` [PATCH v4 9/9] net/intel: simplify base code builds Bruce Richardson
2025-03-28 13:09     ` Burakov, Anatoly
2025-03-28 16:05   ` [PATCH v4 0/9] net/intel: clean up base code build Bruce Richardson

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=Z-ZlgQHcTo0tOI63@bricha3-mobl1.ger.corp.intel.com \
    --to=bruce.richardson@intel.com \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.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).