DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: Philip Prindeville <philipp_subx@redfish-solutions.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>, <dev@dpdk.org>
Subject: Re: Drivers, architectures, processor families, etc.
Date: Tue, 8 Aug 2023 09:17:54 +0100	[thread overview]
Message-ID: <ZNH6Mvo96lVKF0cd@bricha3-MOBL.ger.corp.intel.com> (raw)
In-Reply-To: <0C54E384-5177-4075-A935-3528F5FB31B2@redfish-solutions.com>

On Sat, Aug 05, 2023 at 03:32:37PM -0600, Philip Prindeville wrote:
> 
> 
> > On Aug 3, 2023, at 2:17 AM, Bruce Richardson <bruce.richardson@intel.com> wrote:
> > 
> > On Wed, Aug 02, 2023 at 03:47:59PM -0700, Stephen Hemminger wrote:
> >> On Wed, 2 Aug 2023 15:49:54 -0600
> >> Philip Prindeville <philipp_subx@redfish-solutions.com> wrote:
> >> 
> >>> Hi,
> >>> 
> >>> I'm trying to come up with some Kconfig logic for OpenWRT packaging to help users select the right build options for their hardware.
> >>> 
> >>> Most OpenWRT developers typically cross-compile, so we obviously can't rely on detection on the build host as that's rarely the same as the target machine.
> >>> 
> >>> Looking in the DPDK repo, I don't see any description of the available architectures, drivers, etc. and what I had seen previously was (if I remember) only for x86_64 hardware, and even that I can't seem to locate again.
> >>> 
> >>> Would it make sense to put some of these definitions into the repo itself, so that when new drivers are added, that stands out (at least in the commit logs) and we can capture the permutations of what driver goes with which SoC on what architecture, etc?
> >>> 
> >>> Thanks,
> >>> 
> >>> -Philip
> >>> 
> >> 
> >> DPDK now uses meson which by default builds everything available on the build architecture.
> >> There is intentionally no way to disable drivers, you can disable some libraries though.
> > 
> > Actually, we do now support disabling drivers, and also only selectively
> > enabling specific ones. See disable_drivers and enable_drivers meson
> > options.
> > 
> > To find our different architecture support, I suggest looking in the config
> > directory. The subfolders there often contain cross-files for meson for
> > building for various architectures. For example, config/arm, contains a
> > number of reference files for cross-compiling for different arm platforms.
> > 
> > Regards,
> > /Bruce
> 
> 
> Noticed also that the ARM architecture has configs, but AMD64 seems to be wide open...  just one generic config.
> 
> Is that because some chips, like Xeon-D have on-die NICs, and others like Xeon-E don't?
> 

Its just that folks generally don't cross-compile for x86, and also the
fact that nobody has ever brought it up before. We have no "native-build"
files in DPDK, only cross-files for cross-compilation. However, if there is
demand for them no reason we can't store some.

/Bruce

  reply	other threads:[~2023-08-08  8:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-02 21:49 Philip Prindeville
2023-08-02 22:47 ` Stephen Hemminger
2023-08-03  8:17   ` Bruce Richardson
2023-08-05 21:32     ` Philip Prindeville
2023-08-08  8:17       ` Bruce Richardson [this message]
2023-08-08 16:38         ` Philip Prindeville
2023-08-03 16:40   ` Philip Prindeville
2023-08-08  8:29     ` Bruce Richardson
2023-08-14 15:31 ` Ferruh Yigit

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=ZNH6Mvo96lVKF0cd@bricha3-MOBL.ger.corp.intel.com \
    --to=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=philipp_subx@redfish-solutions.com \
    --cc=stephen@networkplumber.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).