DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/6] NXP DPAA2: Refactor bus scan/probe code
@ 2017-08-18 12:51 Shreyansh Jain
  2017-08-18 12:51 ` [dpdk-dev] [PATCH 1/6] bus/fslmc: support only single group and container Shreyansh Jain
                   ` (6 more replies)
  0 siblings, 7 replies; 20+ messages in thread
From: Shreyansh Jain @ 2017-08-18 12:51 UTC (permalink / raw)
  To: dev; +Cc: hemant.agrawal, thomas, Shreyansh Jain

In [1], during the IOVA Mapping patch set [2] discussion, it was
observed that DPAA2 scan was actually doing work meant for probing.

This patchset demarcates the roles of FSLMC bus scan and probe
functions much more clearly than before:

1. scan now only add devices into a list
 unlike previously, scan doesn't initialize the devices using the VFIO
 operations. Now, scan would only add the devices onto a local device
 list after marking their type and filling in device name.

2. probe would now perform VFIO operations
 in dpaa2, for the device added in list, an initialization needs
 to be done so as to enable the devices - before actually API calls
 can be served. Probe function now initializes the devices as well
 as links then to the Eth/Crypto drivers.

3. Refactoring some VFIO code
 This patch improves the overall code contained within DPAA2 bus
 for DPAA2 VFIO layer.

[1] http://dpdk.org/ml/archives/dev/2017-July/071270.html
[2] http://dpdk.org/ml/archives/dev/2017-July/070833.html

Shreyansh Jain (6):
  bus/fslmc: support only single group and container
  bus/fslmc: introduce new device type enumerator
  net/dpaa2: update driver type field
  crypto/dpaa2_sec: update driver type field
  drivers: refactor DPAA2 object definition
  bus/fslmc: refactor scan and probe functions

 drivers/bus/fslmc/fslmc_bus.c               | 185 +++++++++-
 drivers/bus/fslmc/fslmc_vfio.c              | 521 +++++++++++++---------------
 drivers/bus/fslmc/fslmc_vfio.h              |  44 +--
 drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c    |   6 +-
 drivers/bus/fslmc/portal/dpaa2_hw_dpci.c    |   8 +-
 drivers/bus/fslmc/portal/dpaa2_hw_dpio.c    |   8 +-
 drivers/bus/fslmc/rte_bus_fslmc_version.map |   7 +
 drivers/bus/fslmc/rte_fslmc.h               |  63 +++-
 drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c |   2 +-
 drivers/event/dpaa2/dpaa2_hw_dpcon.c        |   8 +-
 drivers/net/dpaa2/dpaa2_ethdev.c            |   2 +-
 11 files changed, 494 insertions(+), 360 deletions(-)

-- 
2.9.3

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2017-10-05 23:09 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-18 12:51 [dpdk-dev] [PATCH 0/6] NXP DPAA2: Refactor bus scan/probe code Shreyansh Jain
2017-08-18 12:51 ` [dpdk-dev] [PATCH 1/6] bus/fslmc: support only single group and container Shreyansh Jain
2017-08-18 12:51 ` [dpdk-dev] [PATCH 2/6] bus/fslmc: introduce new device type enumerator Shreyansh Jain
2017-08-18 12:51 ` [dpdk-dev] [PATCH 3/6] net/dpaa2: update driver type field Shreyansh Jain
2017-08-18 12:51 ` [dpdk-dev] [PATCH 4/6] crypto/dpaa2_sec: " Shreyansh Jain
2017-08-18 12:51 ` [dpdk-dev] [PATCH 5/6] drivers: refactor DPAA2 object definition Shreyansh Jain
2017-08-18 12:51 ` [dpdk-dev] [PATCH 6/6] bus/fslmc: refactor scan and probe functions Shreyansh Jain
2017-08-25 10:19 ` [dpdk-dev] [PATCH v2 0/6] NXP DPAA2: Refactor bus scan/probe code Shreyansh Jain
2017-08-25 10:19   ` [dpdk-dev] [PATCH v2 1/6] bus/fslmc: support only single group and container Shreyansh Jain
2017-09-18 11:15     ` santosh
2017-08-25 10:19   ` [dpdk-dev] [PATCH v2 2/6] bus/fslmc: introduce new device type enumerator Shreyansh Jain
2017-08-25 10:19   ` [dpdk-dev] [PATCH v2 3/6] crypto/dpaa2_sec: update driver type field Shreyansh Jain
2017-08-25 10:19   ` [dpdk-dev] [PATCH v2 4/6] net/dpaa2: " Shreyansh Jain
2017-08-25 10:19   ` [dpdk-dev] [PATCH v2 5/6] drivers: refactor DPAA2 object definition Shreyansh Jain
2017-08-25 10:19   ` [dpdk-dev] [PATCH v2 6/6] bus/fslmc: refactor scan and probe functions Shreyansh Jain
2017-09-11 14:06   ` [dpdk-dev] [PATCH v2 0/6] NXP DPAA2: Refactor bus scan/probe code Ferruh Yigit
2017-09-11 14:25     ` Shreyansh Jain
2017-09-25  7:07       ` Hemant Agrawal
2017-09-18 14:36     ` santosh
2017-10-05 23:09     ` Thomas Monjalon

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).