DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: dev@dpdk.org
Cc: gaetan.rivet@6wind.com, ophirmu@mellanox.com,
	qi.z.zhang@intel.com, ferruh.yigit@intel.com
Subject: [dpdk-dev] [PATCH v2 0/3] eal: allow hotplug to skip an already probed device
Date: Fri, 28 Sep 2018 18:40:36 +0200	[thread overview]
Message-ID: <20180928164039.2380-1-thomas@monjalon.net> (raw)
In-Reply-To: <20180907230958.21402-1-thomas@monjalon.net>

This is a follow-up of an idea presented at Dublin
during the "hotplug talk".

The idea is to ease probing of range of ports attached
to the same rte_device.
I becomes possible to allow probing again the same device
but with a bigger range of ports in the devargs.

Instead of adding a parameter to the hotplug functions, as in the RFC,
the check of an already probed device is moved to the PMDs.
It gives flexibility to drivers for managing range of ports.


This series is based on top of
https://patches.dpdk.org/project/dpdk/list/?series=1579

Depends on: project/dpdk/list/?series=1579
(proposed syntax for dependencies)


Thomas Monjalon (3):
  drivers/bus: move driver assignment to end of probing
  eal: add function to query device status
  eal: allow probing a device again

 drivers/bus/dpaa/dpaa_bus.c                |  3 +++
 drivers/bus/fslmc/fslmc_bus.c              |  3 +++
 drivers/bus/ifpga/ifpga_bus.c              | 22 +++++++++--------
 drivers/bus/pci/pci_common.c               | 20 +++++++++-------
 drivers/bus/pci/rte_bus_pci.h              |  2 +-
 drivers/bus/vdev/vdev.c                    | 12 ++++++----
 drivers/bus/vmbus/vmbus_common.c           | 28 ++++++++++++----------
 drivers/common/qat/Makefile                |  3 ++-
 drivers/common/qat/meson.build             |  1 +
 drivers/common/qat/qat_device.c            |  3 +++
 drivers/compress/octeontx/otx_zip_pmd.c    |  3 +++
 drivers/crypto/virtio/Makefile             |  1 +
 drivers/crypto/virtio/meson.build          |  1 +
 drivers/crypto/virtio/virtio_cryptodev.c   |  3 +++
 drivers/event/octeontx/ssovf_probe.c       |  6 +++++
 drivers/event/skeleton/Makefile            |  1 +
 drivers/event/skeleton/meson.build         |  1 +
 drivers/mempool/octeontx/Makefile          |  1 +
 drivers/mempool/octeontx/meson.build       |  2 ++
 drivers/mempool/octeontx/octeontx_fpavf.c  |  3 +++
 drivers/net/ark/Makefile                   |  1 +
 drivers/net/ark/meson.build                |  1 +
 drivers/net/avf/Makefile                   |  1 +
 drivers/net/avp/Makefile                   |  1 +
 drivers/net/avp/meson.build                |  1 +
 drivers/net/axgbe/Makefile                 |  1 +
 drivers/net/axgbe/meson.build              |  2 ++
 drivers/net/bnx2x/Makefile                 |  1 +
 drivers/net/bnx2x/meson.build              |  1 +
 drivers/net/bnxt/Makefile                  |  1 +
 drivers/net/bnxt/meson.build               |  1 +
 drivers/net/cxgbe/Makefile                 |  1 +
 drivers/net/cxgbe/meson.build              |  2 ++
 drivers/net/e1000/Makefile                 |  1 +
 drivers/net/e1000/meson.build              |  2 ++
 drivers/net/enic/Makefile                  |  1 +
 drivers/net/enic/meson.build               |  2 ++
 drivers/net/fm10k/Makefile                 |  1 +
 drivers/net/fm10k/meson.build              |  2 ++
 drivers/net/i40e/i40e_ethdev.c             |  3 +++
 drivers/net/i40e/i40e_vf_representor.c     |  3 ---
 drivers/net/ifc/ifcvf_vdpa.c               |  3 +++
 drivers/net/ixgbe/ixgbe_ethdev.c           |  3 +++
 drivers/net/liquidio/Makefile              |  1 +
 drivers/net/liquidio/meson.build           |  1 +
 drivers/net/mlx4/mlx4.c                    |  5 +++-
 drivers/net/mlx5/mlx5.c                    |  5 +++-
 drivers/net/netvsc/hn_ethdev.c             |  9 ++++---
 drivers/net/nfp/Makefile                   |  1 +
 drivers/net/nfp/meson.build                |  1 +
 drivers/net/nfp/nfp_net.c                  |  3 +++
 drivers/net/octeontx/Makefile              |  3 +--
 drivers/net/octeontx/base/meson.build      |  2 +-
 drivers/net/octeontx/base/octeontx_pkivf.c |  3 +++
 drivers/net/octeontx/base/octeontx_pkovf.c |  3 +++
 drivers/net/qede/Makefile                  |  1 +
 drivers/net/qede/meson.build               |  2 ++
 drivers/net/szedata2/Makefile              |  1 +
 drivers/net/szedata2/meson.build           |  1 +
 drivers/net/szedata2/rte_eth_szedata2.c    |  3 +++
 drivers/net/thunderx/Makefile              |  1 +
 drivers/net/thunderx/meson.build           |  2 ++
 drivers/raw/ifpga_rawdev/ifpga_rawdev.c    |  3 +++
 lib/librte_eal/common/eal_common_dev.c     | 12 ++++++----
 lib/librte_eal/common/include/rte_dev.h    | 18 ++++++++++++--
 lib/librte_eal/rte_eal_version.map         |  1 +
 lib/librte_ethdev/rte_ethdev_pci.h         |  3 +++
 lib/librte_eventdev/rte_eventdev_pmd_pci.h |  3 +++
 68 files changed, 187 insertions(+), 56 deletions(-)

-- 
2.19.0

  parent reply	other threads:[~2018-09-28 16:40 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-07 23:09 [dpdk-dev] [RFC] " Thomas Monjalon
2018-09-13  6:29 ` Ophir Munk
2018-09-16 10:14   ` Ophir Munk
2018-09-28 16:40 ` Thomas Monjalon [this message]
2018-09-28 16:40   ` [dpdk-dev] [PATCH v2 1/3] drivers/bus: move driver assignment to end of probing Thomas Monjalon
2018-09-28 16:40   ` [dpdk-dev] [PATCH v2 2/3] eal: add function to query device status Thomas Monjalon
2018-09-28 16:40   ` [dpdk-dev] [PATCH v2 3/3] eal: allow probing a device again Thomas Monjalon
2018-10-04  9:44     ` Doherty, Declan
2018-10-04 14:25       ` Thomas Monjalon
2018-10-07 22:09 ` [dpdk-dev] [PATCH v3 0/3] eal: allow hotplug to skip an already probed device Thomas Monjalon
2018-10-07 22:09   ` [dpdk-dev] [PATCH v3 1/3] drivers/bus: move driver assignment to end of probing Thomas Monjalon
2018-10-08  8:05     ` Andrew Rybchenko
2018-10-11 10:53     ` Andrew Rybchenko
2018-10-11 11:45       ` Thomas Monjalon
2018-10-11 11:54         ` Andrew Rybchenko
2018-10-11 12:59           ` Thomas Monjalon
2018-10-11 13:15             ` Andrew Rybchenko
2018-10-11 15:29               ` Thomas Monjalon
2018-10-11 15:41                 ` Andrew Rybchenko
2018-10-11 16:00                   ` Thomas Monjalon
2018-10-07 22:09   ` [dpdk-dev] [PATCH v3 2/3] eal: add function to query device status Thomas Monjalon
2018-10-08  8:05     ` Andrew Rybchenko
2018-10-07 22:09   ` [dpdk-dev] [PATCH v3 3/3] eal: allow probing a device again Thomas Monjalon
2018-10-08  8:05     ` Andrew Rybchenko
2018-10-11 21:02 ` [dpdk-dev] [PATCH v4 0/4] eal: allow hotplug to skip an already probed device Thomas Monjalon
2018-10-11 21:02   ` [dpdk-dev] [PATCH v4 1/4] ethdev: rename memzones allocated for DMA Thomas Monjalon
2018-10-12  7:53     ` Andrew Rybchenko
2018-10-12 16:40       ` Thomas Monjalon
2018-10-12 16:42         ` Andrew Rybchenko
2018-10-12 16:46           ` Andrew Rybchenko
2018-10-12 17:18             ` Thomas Monjalon
2018-10-12 17:21               ` Thomas Monjalon
2018-10-12 17:51                 ` Andrew Rybchenko
2018-10-11 21:02   ` [dpdk-dev] [PATCH v4 2/4] drivers/bus: move driver assignment to end of probing Thomas Monjalon
2018-10-12  7:44     ` Andrew Rybchenko
2018-10-12  8:32       ` Jan Remeš
2018-10-12 10:45         ` Thomas Monjalon
2018-10-12 15:50       ` Thomas Monjalon
2018-10-11 21:02   ` [dpdk-dev] [PATCH v4 3/4] eal: add function to query device status Thomas Monjalon
2018-10-11 21:02   ` [dpdk-dev] [PATCH v4 4/4] eal: allow probing a device again Thomas Monjalon
2018-10-12  9:26   ` [dpdk-dev] [PATCH v4 0/4] eal: allow hotplug to skip an already probed device Andrew Rybchenko
2018-10-14 20:47 ` [dpdk-dev] [PATCH v5 0/7] " Thomas Monjalon
2018-10-14 20:47   ` [dpdk-dev] [PATCH v5 1/7] net/mlx5: remove useless driver name comparison Thomas Monjalon
2018-10-14 20:49     ` Thomas Monjalon
2018-10-15  5:53       ` Shahaf Shuler
2018-10-14 20:47   ` [dpdk-dev] [PATCH v5 2/7] ethdev: rename memzones allocated for DMA Thomas Monjalon
2018-10-14 20:47   ` [dpdk-dev] [PATCH v5 3/7] cryptodev: remove driver name from logs Thomas Monjalon
2018-10-15  8:51     ` Thomas Monjalon
2018-10-14 20:47   ` [dpdk-dev] [PATCH v5 4/7] compressdev: " Thomas Monjalon
2018-10-15  8:51     ` Thomas Monjalon
2018-10-14 20:47   ` [dpdk-dev] [PATCH v5 5/7] drivers/bus: move driver assignment to end of probing Thomas Monjalon
2018-10-14 20:53     ` Thomas Monjalon
2018-10-15  6:11       ` Xu, Rosen
2018-10-14 20:47   ` [dpdk-dev] [PATCH v5 6/7] eal: add function to query device status Thomas Monjalon
2018-10-14 20:47   ` [dpdk-dev] [PATCH v5 7/7] eal: allow probing a device again Thomas Monjalon
2018-10-16 10:40     ` Shreyansh Jain
2018-10-17 11:37   ` [dpdk-dev] [PATCH v5 0/7] allow hotplug to skip an already probed device 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=20180928164039.2380-1-thomas@monjalon.net \
    --to=thomas@monjalon.net \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=gaetan.rivet@6wind.com \
    --cc=ophirmu@mellanox.com \
    --cc=qi.z.zhang@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).