[dpdk-dev] [PATCH v1 00/22] NXP DPAA2 FSLMC Bus driver

Ferruh Yigit ferruh.yigit at intel.com
Thu Mar 23 15:32:13 CET 2017


On 3/17/2017 12:36 PM, Hemant Agrawal wrote:
> (This patches has been split from DPAA2 PMD v8 series [1] as per
> comments received on ML [2].)
> 
> The patchset introduces NXP’s QorIQ-Layerscape DPAA2 Architecture based
> fsl-mc bus driver. This version of the driver supports NXP LS208xA,
> LS204xA and LS108x family of Network SoCs.
> 
> This driver is base for DPAA2 based PMD to be introduced in later patches.
> It will be used by dpaa2 net, crypto, event & other devices.
> The details description of this bus along with PMD is part of later patch
> sets for introducing the NXP DPAA2 PMD.
> 
> There are 3 main components of the FSLMC bus which enable the access to
> DPAA2 devices from userspace:
> 1) QBMAN hardware: Which enables application lock-less access to hardware
>    queues and buffers.
> 2) MC or Management Complex: Layer between Userspace and elements on the
>    FSLMC bus. This layer exposes underlying hardware as 'objects' and
>    allows for their configuration. Some of the key objects exposed are:
>     - DPNI, which refers to the network interface object.
>     - DPBP, which refers to HW based memory pool object
>     - DPIO, refers to processing context for accessing QBMAN
> 3) Portal: For accessing the hardware objects exposed by MC, a continuous
>    mapped area is available in form of objects.
> 
> This patchset introduces the above components.
> 
> Future Changes/Caveats:
> 
> 1) VFIO code for fsl-mc bus is different than eal-vfio code for pci bus.
>    This need to be re-worked to make possible re-use of the existing code.
> 
> References:
> [1] http://dpdk.org/ml/archives/dev/2017-March/059000.html
> [2] http://dpdk.org/ml/archives/dev/2017-March/059789.html
> 
> Hemant Agrawal (21):
>   mk/dpaa2: add the crc support to the machine type
>   bus/fslmc: introducing fsl-mc bus driver
>   bus/fslmc: add QBMAN driver to bus
>   bus/fslmc: introduce MC object functions
>   bus/fslmc: add mc dpio object support
>   bus/fslmc: add mc dpbp object support
>   eal/vfio: adding vfio utility functions in map file
>   bus/fslmc: add vfio support
>   bus/fslmc: scan for net and sec device
>   bus/fslmc: add debug log support
>   bus/fslmc: dpio portal driver
>   bus/fslmc: introduce support for hardware mempool object
>   bus/fslmc: affine dpio to crypto threads
>   bus/fslmc: define queues for DPAA2 devices
>   bus/fslmc: define hardware annotation area size
>   bus/fslmc: introduce true and false macros
>   bus/fslmc: define VLAN header length
>   bus/fslmc: add packet FLE definitions
>   bus/fslmc: add physical-virtual address translation helpers
>   bus/fslmc: add support for DMA mapping for ARM SMMU
>   bus/fslmc: frame queue based dq storage alloc
> 
> Shreyansh Jain (1):
>   mk: handle intra drivers dependencies for shared build

The patchset looks good to me.

I would like to get this one, mempool and net PMD patchsets soon, to
give enough time to dependent crypto PMD before integration deadline.

If there is an ongoing review, or anyone planning to review this
patchset in next a few days, please let us know.

Thanks,
ferruh



More information about the dev mailing list