DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Gaëtan Rivet" <gaetan.rivet@6wind.com>
To: "Tan, Jianfeng" <jianfeng.tan@intel.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v3 0/9] bus/pci: remove PCI bus from EAL
Date: Fri, 23 Jun 2017 10:19:52 +0200	[thread overview]
Message-ID: <20170623081952.GI2344@bidouze.vm.6wind.com> (raw)
In-Reply-To: <bd0c7b4f-4a96-5f9e-23ec-18f78bbd40cd@intel.com>

Hi Jianfeng,

On Fri, Jun 23, 2017 at 11:29:46AM +0800, Tan, Jianfeng wrote:
> Hi Gaetan,
> 
> Do you (or anyone else) have plan to move vdev bus into drivers/bus/.
> 

It is in the roadmap for the DPDK, but I haven't planned to do it.

> Thanks,
> Jianfeng
> 
> On 6/21/2017 7:36 AM, Gaetan Rivet wrote:
> >This patchset moves the PCI bus out of the EAL to the drivers/bus
> >subdirectory.
> >
> >Almost all dependencies have been worked out, only remains KNI to be made
> >fully independent from the PCI bus in its lib section.
> >
> >This patchset includes a patch disabling it, that should be removed before
> >integration, once all dependencies have been fixed.
> >
> >The pmdinfogen app has been moved to the drivers subdirectory. This
> >allows using the dependency syntax from the build system, as this app
> >also depends on the PCI bus. The dependency graph is as follows:
> >
> >drivers/bus/pci
> >  |
> >  + drivers/pmdinfogen
> >     |
> >     + drivers/net
> >
> >The compilation has been tested on debian 8, Redhat 7.2 and FreeBSD 10.3
> >
> >This patchset depends on:
> >
> >eal: complete attach / detach support
> >http://dpdk.org/ml/archives/dev/2017-June/067057.html
> >http://dpdk.org/dev/patchwork/patch/24969/
> >
> >v1 -> v2:
> >
> >This patchet now depends also on the eventdev PCI dependency fix:
> >
> >[PATCH v2 0/4] Remove PCI and VDEV dependency from eventdev library
> >http://dpdk.org/ml/archives/dev/2017-June/067402.html
> >http://dpdk.org/dev/patchwork/patch/25092/
> >
> >   * Fixes a few PCI dependency left
> >   * While wholes files are moved, fixed a few checkpatch warnings to
> >     start anew.
> >   * Updated eventdev and cryptodev build dependencies
> >
> >People who want to evaluate / test the whole system can clone:
> >https://github.com/grivet/dpdk/tree/master-net
> >
> >v3:
> >
> >Further checkpatch fixes have been applied upon the new bus.
> >Both cryptodev and pdump have been fixed. The patches disabling them have been
> >removed.
> >This patchset now depends on both the cryptodev and pdump dependency
> >fixes:
> >
> >[dpdk-dev] [PATCH 00/12] Remove cryptodev driver
> >http://dpdk.org/ml/archives/dev/2017-May/066382.html
> >
> >[dpdk-dev] [PATCH] pdump: remove unnecessary header file
> >http://dpdk.org/ml/archives/dev/2017-June/067785.html
> >
> >My tree has been updated to follow the latest state of the patchsets
> >currently live on the ML:
> >https://github.com/grivet/dpdk/tree/master-net
> >
> >Gaetan Rivet (9):
> >   kni: disabled by default
> >   eal: expose rte_eal_using_phys_addrs
> >   ethdev: remove useless PCI dependency
> >   bus: properly include rte_debug
> >   pmdinfogen: move to drivers subdirectory
> >   bus/pci: introduce pci bus
> >   bus/pci: follow checkpatch
> >   drivers: update eventdev dependencies
> >   drivers: update cryptodev dependencies
> >
> >  GNUmakefile                                     |   2 +-
> >  MAINTAINERS                                     |   2 +-
> >  buildtools/Makefile                             |  36 --
> >  buildtools/pmdinfogen/Makefile                  |  47 --
> >  buildtools/pmdinfogen/pmdinfogen.c              | 422 --------------
> >  buildtools/pmdinfogen/pmdinfogen.h              | 125 ----
> >  config/common_base                              |  10 +
> >  config/common_linuxapp                          |   2 +-
> >  drivers/Makefile                                |   7 +-
> >  drivers/bus/Makefile                            |   2 +
> >  drivers/bus/pci/Makefile                        |  60 ++
> >  drivers/bus/pci/bsd/Makefile                    |  32 ++
> >  drivers/bus/pci/bsd/rte_bus_pci_version.map     |  21 +
> >  drivers/bus/pci/bsd/rte_pci.c                   | 671 ++++++++++++++++++++++
> >  drivers/bus/pci/include/rte_pci.h               | 656 +++++++++++++++++++++
> >  drivers/bus/pci/linux/Makefile                  |  37 ++
> >  drivers/bus/pci/linux/rte_bus_pci_version.map   |  21 +
> >  drivers/bus/pci/linux/rte_pci.c                 | 722 +++++++++++++++++++++++
> >  drivers/bus/pci/linux/rte_pci_init.h            |  97 ++++
> >  drivers/bus/pci/linux/rte_pci_uio.c             | 571 +++++++++++++++++++
> >  drivers/bus/pci/linux/rte_pci_vfio.c            | 684 ++++++++++++++++++++++
> >  drivers/bus/pci/linux/rte_vfio_mp_sync.c        | 424 ++++++++++++++
> >  drivers/bus/pci/private.h                       | 169 ++++++
> >  drivers/bus/pci/rte_pci_common.c                | 601 ++++++++++++++++++++
> >  drivers/bus/pci/rte_pci_common_uio.c            | 234 ++++++++
> >  drivers/pmdinfogen/Makefile                     |  47 ++
> >  drivers/pmdinfogen/pmdinfogen.c                 | 422 ++++++++++++++
> >  drivers/pmdinfogen/pmdinfogen.h                 | 125 ++++
> >  lib/librte_eal/bsdapp/eal/Makefile              |   3 -
> >  lib/librte_eal/bsdapp/eal/eal.c                 |   1 -
> >  lib/librte_eal/bsdapp/eal/eal_pci.c             | 672 ----------------------
> >  lib/librte_eal/bsdapp/eal/rte_eal_version.map   |  15 -
> >  lib/librte_eal/common/Makefile                  |   2 +-
> >  lib/librte_eal/common/eal_common_bus.c          |   1 +
> >  lib/librte_eal/common/eal_common_pci.c          | 603 --------------------
> >  lib/librte_eal/common/eal_common_pci_uio.c      | 233 --------
> >  lib/librte_eal/common/eal_private.h             | 138 -----
> >  lib/librte_eal/common/include/rte_pci.h         | 601 --------------------
> >  lib/librte_eal/linuxapp/eal/Makefile            |  12 +-
> >  lib/librte_eal/linuxapp/eal/eal.c               |   1 -
> >  lib/librte_eal/linuxapp/eal/eal_interrupts.c    |   1 -
> >  lib/librte_eal/linuxapp/eal/eal_memory.c        |   3 +-
> >  lib/librte_eal/linuxapp/eal/eal_pci.c           | 723 ------------------------
> >  lib/librte_eal/linuxapp/eal/eal_pci_init.h      |  97 ----
> >  lib/librte_eal/linuxapp/eal/eal_pci_uio.c       | 567 -------------------
> >  lib/librte_eal/linuxapp/eal/eal_pci_vfio.c      | 674 ----------------------
> >  lib/librte_eal/linuxapp/eal/eal_vfio_mp_sync.c  | 424 --------------
> >  lib/librte_eal/linuxapp/eal/rte_eal_version.map |  16 +-
> >  lib/librte_eal/linuxapp/eal/rte_memory_linux.h  |  64 +++
> >  lib/librte_ether/rte_ethdev.c                   |   1 -
> >  mk/rte.app.mk                                   |   2 +
> >  51 files changed, 5687 insertions(+), 5416 deletions(-)
> >  delete mode 100644 buildtools/Makefile
> >  delete mode 100644 buildtools/pmdinfogen/Makefile
> >  delete mode 100644 buildtools/pmdinfogen/pmdinfogen.c
> >  delete mode 100644 buildtools/pmdinfogen/pmdinfogen.h
> >  create mode 100644 drivers/bus/pci/Makefile
> >  create mode 100644 drivers/bus/pci/bsd/Makefile
> >  create mode 100644 drivers/bus/pci/bsd/rte_bus_pci_version.map
> >  create mode 100644 drivers/bus/pci/bsd/rte_pci.c
> >  create mode 100644 drivers/bus/pci/include/rte_pci.h
> >  create mode 100644 drivers/bus/pci/linux/Makefile
> >  create mode 100644 drivers/bus/pci/linux/rte_bus_pci_version.map
> >  create mode 100644 drivers/bus/pci/linux/rte_pci.c
> >  create mode 100644 drivers/bus/pci/linux/rte_pci_init.h
> >  create mode 100644 drivers/bus/pci/linux/rte_pci_uio.c
> >  create mode 100644 drivers/bus/pci/linux/rte_pci_vfio.c
> >  create mode 100644 drivers/bus/pci/linux/rte_vfio_mp_sync.c
> >  create mode 100644 drivers/bus/pci/private.h
> >  create mode 100644 drivers/bus/pci/rte_pci_common.c
> >  create mode 100644 drivers/bus/pci/rte_pci_common_uio.c
> >  create mode 100644 drivers/pmdinfogen/Makefile
> >  create mode 100644 drivers/pmdinfogen/pmdinfogen.c
> >  create mode 100644 drivers/pmdinfogen/pmdinfogen.h
> >  delete mode 100644 lib/librte_eal/bsdapp/eal/eal_pci.c
> >  delete mode 100644 lib/librte_eal/common/eal_common_pci.c
> >  delete mode 100644 lib/librte_eal/common/eal_common_pci_uio.c
> >  delete mode 100644 lib/librte_eal/common/include/rte_pci.h
> >  delete mode 100644 lib/librte_eal/linuxapp/eal/eal_pci.c
> >  delete mode 100644 lib/librte_eal/linuxapp/eal/eal_pci_init.h
> >  delete mode 100644 lib/librte_eal/linuxapp/eal/eal_pci_uio.c
> >  delete mode 100644 lib/librte_eal/linuxapp/eal/eal_pci_vfio.c
> >  delete mode 100644 lib/librte_eal/linuxapp/eal/eal_vfio_mp_sync.c
> >  create mode 100644 lib/librte_eal/linuxapp/eal/rte_memory_linux.h
> >
> 

-- 
Gaëtan Rivet
6WIND

  reply	other threads:[~2017-06-23  8:20 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-01 10:14 [dpdk-dev] [PATCH 0/8] " Gaetan Rivet
2017-06-01 10:14 ` [dpdk-dev] [PATCH 1/8] eal: expose rte_eal_using_phys_addrs Gaetan Rivet
2017-06-30 19:05   ` Jan Blunck
2017-07-03  8:25     ` Olivier Matz
2017-07-03 10:04       ` Jan Blunck
2017-07-03 11:49         ` Olivier Matz
2017-06-01 10:14 ` [dpdk-dev] [PATCH 2/8] ethdev: remove useless PCI dependency Gaetan Rivet
2017-06-01 10:14 ` [dpdk-dev] [PATCH 3/8] pmdinfogen: move to drivers subdirectory Gaetan Rivet
2017-06-01 10:14 ` [dpdk-dev] [PATCH 4/8] cryptodev: disabled by default Gaetan Rivet
2017-06-01 10:14 ` [dpdk-dev] [PATCH 5/8] eventdev: " Gaetan Rivet
2017-06-01 10:14 ` [dpdk-dev] [PATCH 6/8] pdump: " Gaetan Rivet
2017-06-01 10:14 ` [dpdk-dev] [PATCH 7/8] kni: " Gaetan Rivet
2017-06-01 10:14 ` [dpdk-dev] [PATCH 8/8] bus/pci: introduce pci bus Gaetan Rivet
2017-06-07 23:58 ` [dpdk-dev] [PATCH 0/8] bus/pci: remove PCI bus from EAL Gaetan Rivet
2017-06-07 23:58   ` [dpdk-dev] [PATCH v2 01/12] eal: expose rte_eal_using_phys_addrs Gaetan Rivet
2017-06-07 23:58   ` [dpdk-dev] [PATCH v2 02/12] ethdev: remove useless PCI dependency Gaetan Rivet
2017-06-07 23:58   ` [dpdk-dev] [PATCH v2 03/12] bus: properly include rte_debug Gaetan Rivet
2017-06-07 23:59   ` [dpdk-dev] [PATCH v2 04/12] eal: remove references to PCI Gaetan Rivet
2017-06-07 23:59   ` [dpdk-dev] [PATCH v2 05/12] pmdinfogen: move to drivers subdirectory Gaetan Rivet
2017-06-07 23:59   ` [dpdk-dev] [PATCH v2 06/12] cryptodev: disabled by default Gaetan Rivet
2017-06-09 15:03     ` De Lara Guarch, Pablo
2017-06-14  8:00       ` Gaëtan Rivet
2017-06-07 23:59   ` [dpdk-dev] [PATCH v2 07/12] pdump: " Gaetan Rivet
2017-06-09 14:24     ` Pattan, Reshma
2017-06-11 19:42       ` Gaëtan Rivet
2017-06-13 17:15         ` Ferruh Yigit
2017-06-14 23:01           ` Gaëtan Rivet
2017-06-15 13:07             ` Ferruh Yigit
2017-06-14  9:09         ` Pattan, Reshma
2017-06-14  9:20           ` Gaëtan Rivet
2017-06-07 23:59   ` [dpdk-dev] [PATCH v2 08/12] kni: " Gaetan Rivet
2017-06-09  8:56     ` Ferruh Yigit
2017-06-09  9:06       ` Gaëtan Rivet
2017-06-15 13:09         ` Ferruh Yigit
2017-06-15 14:48           ` Gaëtan Rivet
2017-06-07 23:59   ` [dpdk-dev] [PATCH v2 09/12] bus/pci: introduce pci bus Gaetan Rivet
2017-06-07 23:59   ` [dpdk-dev] [PATCH v2 10/12] bus/pci: follow checkpatch Gaetan Rivet
2017-06-07 23:59   ` [dpdk-dev] [PATCH v2 11/12] drivers: update eventdev dependencies Gaetan Rivet
2017-06-07 23:59   ` [dpdk-dev] [PATCH v2 12/12] drivers: update cryptodev dependencies Gaetan Rivet
2017-06-20 23:36   ` [dpdk-dev] [PATCH v3 0/9] bus/pci: remove PCI bus from EAL Gaetan Rivet
2017-06-20 23:36     ` [dpdk-dev] [PATCH v3 1/9] kni: disabled by default Gaetan Rivet
2017-06-20 23:36     ` [dpdk-dev] [PATCH v3 2/9] eal: expose rte_eal_using_phys_addrs Gaetan Rivet
2017-06-21  7:44       ` Thomas Monjalon
2017-06-21  9:21         ` Gaëtan Rivet
2017-06-20 23:36     ` [dpdk-dev] [PATCH v3 3/9] ethdev: remove useless PCI dependency Gaetan Rivet
2017-06-20 23:36     ` [dpdk-dev] [PATCH v3 4/9] bus: properly include rte_debug Gaetan Rivet
2017-06-21  7:45       ` Thomas Monjalon
2017-06-21  9:26         ` Gaëtan Rivet
2017-06-20 23:36     ` [dpdk-dev] [PATCH v3 5/9] pmdinfogen: move to drivers subdirectory Gaetan Rivet
2017-06-21  7:57       ` Thomas Monjalon
2017-06-21  9:40         ` Gaëtan Rivet
2017-06-21 10:00           ` Thomas Monjalon
2017-06-21 11:39             ` Gaëtan Rivet
2017-06-21 12:14               ` Thomas Monjalon
2017-06-20 23:36     ` [dpdk-dev] [PATCH v3 6/9] bus/pci: introduce pci bus Gaetan Rivet
2017-06-20 23:36     ` [dpdk-dev] [PATCH v3 7/9] bus/pci: follow checkpatch Gaetan Rivet
2017-06-20 23:36     ` [dpdk-dev] [PATCH v3 8/9] drivers: update eventdev dependencies Gaetan Rivet
2017-06-20 23:36     ` [dpdk-dev] [PATCH v3 9/9] drivers: update cryptodev dependencies Gaetan Rivet
2017-06-23  3:29     ` [dpdk-dev] [PATCH v3 0/9] bus/pci: remove PCI bus from EAL Tan, Jianfeng
2017-06-23  8:19       ` Gaëtan Rivet [this message]
2017-06-23 12:48         ` Thomas Monjalon
2017-06-23 14:35           ` Tan, Jianfeng
2017-06-23 14:45             ` 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=20170623081952.GI2344@bidouze.vm.6wind.com \
    --to=gaetan.rivet@6wind.com \
    --cc=dev@dpdk.org \
    --cc=jianfeng.tan@intel.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).