DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: dev@dpdk.org
Cc: "David Marchand" <david.marchand@redhat.com>,
	"Bruce Richardson" <bruce.richardson@intel.com>,
	"Qi Zhang" <qi.z.zhang@intel.com>,
	"Morten Brørup" <mb@smartsharesystems.com>,
	"Shijith Thotton" <sthotton@marvell.com>
Subject: [PATCH v3 0/5] refactor disabling IOVA as PA
Date: Tue, 14 Mar 2023 15:29:53 +0100	[thread overview]
Message-ID: <20230314142958.3479004-1-thomas@monjalon.net> (raw)
In-Reply-To: <20230219115529.3260580-1-thomas@monjalon.net>

As discussed recently in some email threads,
it looks simpler to reword the feature "enabling IOVA as PA"
to "requiring IOVA in mbuf".
The Meson option name is not changed (compatibility is kept)
but the variables are renamed.

Some patches to allow building of some drivers are integrated.

The last patch is fixing the build when IOVA as PA is disabled.

v3: use C macro, rebase, fixes
v2: renames

Chengwen Feng (2):
  net/hns3: support IOVA forced as VA
  dma/hisilicon: support IOVA forced as VA

Mahipal Challa (1):
  compress/octeontx: support IOVA forced as VA

Thomas Monjalon (2):
  build: clarify configuration without IOVA field in mbuf
  drivers: skip build of sub-libs not supporting IOVA mode

 app/test/test_mbuf.c                  |  2 +-
 config/arm/meson.build                |  4 ++--
 config/meson.build                    |  2 +-
 drivers/bus/auxiliary/meson.build     |  3 +++
 drivers/bus/pci/meson.build           |  2 ++
 drivers/bus/platform/meson.build      |  2 ++
 drivers/bus/vdev/meson.build          |  2 ++
 drivers/bus/vmbus/meson.build         |  3 ++-
 drivers/common/cnxk/meson.build       |  2 +-
 drivers/common/iavf/meson.build       |  3 ++-
 drivers/common/idpf/meson.build       |  4 ++++
 drivers/common/octeontx/meson.build   |  2 ++
 drivers/compress/octeontx/meson.build |  2 ++
 drivers/crypto/armv8/meson.build      |  2 +-
 drivers/crypto/cnxk/meson.build       |  2 +-
 drivers/crypto/ipsec_mb/meson.build   |  2 +-
 drivers/crypto/null/meson.build       |  2 +-
 drivers/crypto/openssl/meson.build    |  2 +-
 drivers/dma/cnxk/meson.build          |  2 +-
 drivers/dma/hisilicon/meson.build     |  2 ++
 drivers/dma/skeleton/meson.build      |  2 +-
 drivers/event/cnxk/meson.build        |  2 +-
 drivers/event/dlb2/meson.build        |  5 ++++-
 drivers/event/dsw/meson.build         |  2 +-
 drivers/event/opdl/meson.build        |  2 +-
 drivers/event/skeleton/meson.build    |  2 +-
 drivers/event/sw/meson.build          |  2 +-
 drivers/mempool/bucket/meson.build    |  2 +-
 drivers/mempool/cnxk/meson.build      |  2 +-
 drivers/mempool/octeontx/meson.build  |  2 ++
 drivers/mempool/ring/meson.build      |  2 +-
 drivers/mempool/stack/meson.build     |  2 +-
 drivers/meson.build                   |  6 +++---
 drivers/ml/cnxk/meson.build           |  4 ++--
 drivers/net/af_packet/meson.build     |  2 +-
 drivers/net/af_xdp/meson.build        |  2 +-
 drivers/net/bnxt/meson.build          |  4 ++++
 drivers/net/bonding/meson.build       |  3 ++-
 drivers/net/cnxk/meson.build          |  3 ++-
 drivers/net/cpfl/meson.build          |  4 +---
 drivers/net/enic/meson.build          |  4 ++++
 drivers/net/failsafe/meson.build      |  3 ++-
 drivers/net/hns3/hns3_rxtx_vec_neon.h |  2 +-
 drivers/net/hns3/hns3_rxtx_vec_sve.c  | 13 +++++++++----
 drivers/net/hns3/meson.build          |  8 ++------
 drivers/net/i40e/meson.build          |  4 ++++
 drivers/net/iavf/meson.build          |  3 +++
 drivers/net/ice/ice_rxtx_common_avx.h | 12 ++++++------
 drivers/net/ice/ice_rxtx_vec_sse.c    |  4 ++--
 drivers/net/ice/meson.build           |  3 ++-
 drivers/net/memif/meson.build         |  3 ++-
 drivers/net/null/meson.build          |  2 +-
 drivers/net/pcap/meson.build          |  3 ++-
 drivers/net/ring/meson.build          |  2 +-
 drivers/net/tap/meson.build           |  3 ++-
 drivers/net/virtio/meson.build        |  4 ++++
 drivers/raw/cnxk_bphy/meson.build     |  2 +-
 drivers/raw/cnxk_gpio/meson.build     |  2 +-
 drivers/raw/skeleton/meson.build      |  2 +-
 lib/eal/linux/eal.c                   |  2 +-
 lib/mbuf/rte_mbuf.c                   |  2 +-
 lib/mbuf/rte_mbuf.h                   |  4 ++--
 lib/mbuf/rte_mbuf_core.h              |  8 ++++----
 lib/mbuf/rte_mbuf_dyn.c               |  2 +-
 lib/meson.build                       |  2 +-
 meson_options.txt                     |  2 +-
 66 files changed, 127 insertions(+), 76 deletions(-)

-- 
2.39.1


  parent reply	other threads:[~2023-03-14 14:30 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-19 11:55 [PATCH] drivers: skip build of sub-libs not supporting IOVA mode Thomas Monjalon
2023-03-02 13:52 ` Zhang, Qi Z
2023-03-02 13:57   ` Thomas Monjalon
2023-03-02 14:16     ` Zhang, Qi Z
2023-03-03 14:23       ` Thomas Monjalon
2023-03-02 14:26 ` Morten Brørup
2023-03-02 16:01 ` [EXT] " Shijith Thotton
2023-03-06 16:13 ` [PATCH v2 0/2] refactor diasbling IOVA as PA Thomas Monjalon
2023-03-06 16:13   ` [PATCH v2 1/2] build: clarify configuration without IOVA field in mbuf Thomas Monjalon
2023-03-06 16:35     ` Morten Brørup
2023-03-06 16:39     ` Bruce Richardson
2023-03-06 19:49       ` Thomas Monjalon
2023-03-09  1:43     ` fengchengwen
2023-03-09  7:29       ` Thomas Monjalon
2023-03-09 11:23         ` fengchengwen
2023-03-09 12:12           ` Thomas Monjalon
2023-03-09 13:10             ` Bruce Richardson
2023-03-13 15:51               ` Thomas Monjalon
2023-03-06 16:13   ` [PATCH v2 2/2] drivers: skip build of sub-libs not supporting IOVA mode Thomas Monjalon
2023-03-14 14:29 ` Thomas Monjalon [this message]
2023-03-14 14:29   ` [PATCH v3 1/5] build: clarify configuration without IOVA field in mbuf Thomas Monjalon
2023-03-15  1:56     ` fengchengwen
2023-03-16 11:00       ` Thomas Monjalon
2023-03-14 14:29   ` [PATCH v3 2/5] net/hns3: support IOVA forced as VA Thomas Monjalon
2023-03-14 14:29   ` [PATCH v3 3/5] dma/hisilicon: " Thomas Monjalon
2023-03-14 14:29   ` [PATCH v3 4/5] compress/octeontx: " Thomas Monjalon
2023-03-14 14:29   ` [PATCH v3 5/5] drivers: skip build of sub-libs not supporting IOVA mode 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=20230314142958.3479004-1-thomas@monjalon.net \
    --to=thomas@monjalon.net \
    --cc=bruce.richardson@intel.com \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=mb@smartsharesystems.com \
    --cc=qi.z.zhang@intel.com \
    --cc=sthotton@marvell.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).