mbox series

[v2,00/15] Upgrade DPAA2 FW and other feature/bug fixes

Message ID 20180926180440.31726-1-shreyansh.jain@nxp.com (mailing list archive)
Headers
Series Upgrade DPAA2 FW and other feature/bug fixes |

Message

Shreyansh Jain Sept. 26, 2018, 6:04 p.m. UTC
  About the series:

This series of patches upgrades the DPAA2 driver firmware to
v10.10.10 (MC Firmware).
As the bus/fslmc is modified, it is a dependent object for other
drivers like net/crypto/qdma. Also, the changes are mostly tightly
linked - thus, the patches include upgrade as well as sequential
changes to driver.
Once done, it would imply that DPAA2 driver won't work with any MC
FW lower than 10.10.10.

Support for this new firmware is available in publically available
LSDK (Layerscape SDK) release [1].

Besides the FW change, there are other subtle changes as well:
- Support reading the MAC address from NIC device, rather than
  using a default MAC
- Adding support for QBMan 5.0 FW APIs
- Some patches for NXP's LX2 platform specific features
- And some bug fixes.

Dependency:

* These patches are based on net-next/master 58c3b609699a8c
* Series [1] is logically related to this, but has no git/patch
  related dependency. It is series for upgrade of DPAA.

[1] https://lsdk.github.io/index.html
[2] http://patches.dpdk.org/project/dpdk/list/?series=1090&state=*

Version History:
v1->v2:
 - Bumped up the version of the libraries (pmd/bus/crypto/event) as the
   first set of patches (MC firmware update) breaks the internal ABI
 - Added support for ordered processing APIs. These APIs are expected
   to be used in subseqent feature updates on DPAA2 ethernet driver.
 - Some internal bug fixes.
 (Patches increased from 11~15)

Hemant Agrawal (9):
  net/dpaa2: fix VLAN filter enablement
  bus/fslmc: upgrade mc FW APIs to 10.10.0
  net/dpaa2: upgrade dpni to mc FW APIs to 10.10.0
  crypto/dpaa2_sec: upgarde mc FW APIs to 10.10.0
  net/dpaa2: update RSS value in mbuf for lx2 platform
  net/dpaa2: optimize the fd reset in Tx path
  net/dpaa2: enhance the queue memory cleanup routines
  net/dpaa2: support MBUF VLAN tci population from HW parser
  net/dpaa2: support Rx checksum offload in slow parsing

Nipun Gupta (4):
  net/dpaa2: fix IOVA conversion for congestion memory
  bus/fslmc: support memory backed portals with QBMAN 5.0
  bus/fslmc: support 32 enq and deq for LX2 platform
  bus/fslmc: disable annotation prefetch for LX2

Shreyansh Jain (2):
  net/dpaa2: read hardware provided MAC for DPNI devices
  net/dpaa2: add per queue stats get and reset support

 drivers/bus/fslmc/Makefile                    |   2 +-
 drivers/bus/fslmc/mc/dpbp.c                   |  10 +
 drivers/bus/fslmc/mc/dpci.c                   | 197 +++++
 drivers/bus/fslmc/mc/dpcon.c                  |  30 +
 drivers/bus/fslmc/mc/dpdmai.c                 |  14 +
 drivers/bus/fslmc/mc/dpio.c                   |   9 +
 drivers/bus/fslmc/mc/fsl_dpbp.h               |   1 +
 drivers/bus/fslmc/mc/fsl_dpbp_cmd.h           |  16 +-
 drivers/bus/fslmc/mc/fsl_dpci.h               |  47 +-
 drivers/bus/fslmc/mc/fsl_dpci_cmd.h           |  62 +-
 drivers/bus/fslmc/mc/fsl_dpcon.h              |  19 +
 drivers/bus/fslmc/mc/fsl_dpdmai.h             |   5 +
 drivers/bus/fslmc/mc/fsl_dpdmai_cmd.h         |  20 +-
 drivers/bus/fslmc/mc/fsl_dpmng.h              |   2 +-
 drivers/bus/fslmc/mc/fsl_dpopr.h              |  85 ++
 drivers/bus/fslmc/meson.build                 |   2 +
 drivers/bus/fslmc/portal/dpaa2_hw_dpio.c      | 197 +++--
 drivers/bus/fslmc/portal/dpaa2_hw_dpio.h      |   4 +
 drivers/bus/fslmc/portal/dpaa2_hw_pvt.h       |  32 +-
 drivers/bus/fslmc/qbman/include/compat.h      |   3 +-
 .../fslmc/qbman/include/fsl_qbman_portal.h    |  33 +-
 drivers/bus/fslmc/qbman/qbman_portal.c        | 764 +++++++++++++++---
 drivers/bus/fslmc/qbman/qbman_portal.h        |  30 +-
 drivers/bus/fslmc/qbman/qbman_sys.h           | 100 ++-
 drivers/bus/fslmc/qbman/qbman_sys_decl.h      |   4 +
 drivers/bus/fslmc/rte_bus_fslmc_version.map   |  12 +
 drivers/crypto/dpaa2_sec/Makefile             |   2 +-
 drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c   |   8 +-
 drivers/crypto/dpaa2_sec/mc/dpseci.c          | 128 ++-
 drivers/crypto/dpaa2_sec/mc/fsl_dpseci.h      |  25 +-
 drivers/crypto/dpaa2_sec/mc/fsl_dpseci_cmd.h  |  73 +-
 drivers/crypto/dpaa2_sec/meson.build          |   2 +
 drivers/event/dpaa2/Makefile                  |   2 +-
 drivers/event/dpaa2/dpaa2_eventdev.c          |   4 +-
 drivers/event/dpaa2/meson.build               |   2 +
 drivers/mempool/dpaa2/Makefile                |   2 +-
 drivers/mempool/dpaa2/meson.build             |   2 +
 drivers/net/dpaa2/Makefile                    |   2 +-
 drivers/net/dpaa2/base/dpaa2_hw_dpni_annot.h  |  40 +
 drivers/net/dpaa2/dpaa2_ethdev.c              | 173 +++-
 drivers/net/dpaa2/dpaa2_rxtx.c                |  95 ++-
 drivers/net/dpaa2/mc/dpni.c                   | 134 ++-
 drivers/net/dpaa2/mc/fsl_dpkg.h               |  71 +-
 drivers/net/dpaa2/mc/fsl_dpni.h               | 378 +++++----
 drivers/net/dpaa2/mc/fsl_dpni_cmd.h           |  87 +-
 drivers/net/dpaa2/mc/fsl_net.h                |   2 +-
 drivers/net/dpaa2/meson.build                 |   2 +
 drivers/raw/dpaa2_cmdif/Makefile              |   2 +-
 drivers/raw/dpaa2_cmdif/meson.build           |   2 +
 drivers/raw/dpaa2_qdma/Makefile               |   2 +-
 drivers/raw/dpaa2_qdma/dpaa2_qdma.c           |  14 +-
 drivers/raw/dpaa2_qdma/dpaa2_qdma.h           |   6 +-
 drivers/raw/dpaa2_qdma/meson.build            |   2 +
 53 files changed, 2377 insertions(+), 585 deletions(-)
 create mode 100644 drivers/bus/fslmc/mc/fsl_dpopr.h
  

Comments

Shreyansh Jain Oct. 12, 2018, 9:32 a.m. UTC | #1
On Wednesday 26 September 2018 11:34 PM, Shreyansh Jain wrote:
> About the series:
> 
> This series of patches upgrades the DPAA2 driver firmware to
> v10.10.10 (MC Firmware).
> As the bus/fslmc is modified, it is a dependent object for other
> drivers like net/crypto/qdma. Also, the changes are mostly tightly
> linked - thus, the patches include upgrade as well as sequential
> changes to driver.
> Once done, it would imply that DPAA2 driver won't work with any MC
> FW lower than 10.10.10.
> 
> Support for this new firmware is available in publically available
> LSDK (Layerscape SDK) release [1].
> 
> Besides the FW change, there are other subtle changes as well:
> - Support reading the MAC address from NIC device, rather than
>    using a default MAC
> - Adding support for QBMan 5.0 FW APIs
> - Some patches for NXP's LX2 platform specific features
> - And some bug fixes.
> 
> Dependency:
> 
> * These patches are based on net-next/master 58c3b609699a8c
> * Series [1] is logically related to this, but has no git/patch
>    related dependency. It is series for upgrade of DPAA.
> 
> [1] https://lsdk.github.io/index.html
> [2] http://patches.dpdk.org/project/dpdk/list/?series=1090&state=*
> 
> Version History:
> v1->v2:
>   - Bumped up the version of the libraries (pmd/bus/crypto/event) as the
>     first set of patches (MC firmware update) breaks the internal ABI
>   - Added support for ordered processing APIs. These APIs are expected
>     to be used in subseqent feature updates on DPAA2 ethernet driver.
>   - Some internal bug fixes.
>   (Patches increased from 11~15)
> 

Hi Thomas,

Would you be taking this series for RC1?
(Ideally being driver code, this should have been with Ferruh but 
patchwork is showing your name).

-
Shreyansh
  
Shreyansh Jain Oct. 12, 2018, 9:42 a.m. UTC | #2
On Friday 12 October 2018 03:02 PM, Shreyansh Jain wrote:
> On Wednesday 26 September 2018 11:34 PM, Shreyansh Jain wrote:
>> About the series:
>>
>> This series of patches upgrades the DPAA2 driver firmware to
>> v10.10.10 (MC Firmware).
>> As the bus/fslmc is modified, it is a dependent object for other
>> drivers like net/crypto/qdma. Also, the changes are mostly tightly
>> linked - thus, the patches include upgrade as well as sequential
>> changes to driver.
>> Once done, it would imply that DPAA2 driver won't work with any MC
>> FW lower than 10.10.10.
>>
>> Support for this new firmware is available in publically available
>> LSDK (Layerscape SDK) release [1].
>>
>> Besides the FW change, there are other subtle changes as well:
>> - Support reading the MAC address from NIC device, rather than
>>    using a default MAC
>> - Adding support for QBMan 5.0 FW APIs
>> - Some patches for NXP's LX2 platform specific features
>> - And some bug fixes.
>>
>> Dependency:
>>
>> * These patches are based on net-next/master 58c3b609699a8c
>> * Series [1] is logically related to this, but has no git/patch
>>    related dependency. It is series for upgrade of DPAA.
>>
>> [1] https://lsdk.github.io/index.html
>> [2] http://patches.dpdk.org/project/dpdk/list/?series=1090&state=*
>>
>> Version History:
>> v1->v2:
>>   - Bumped up the version of the libraries (pmd/bus/crypto/event) as the
>>     first set of patches (MC firmware update) breaks the internal ABI
>>   - Added support for ordered processing APIs. These APIs are expected
>>     to be used in subseqent feature updates on DPAA2 ethernet driver.
>>   - Some internal bug fixes.
>>   (Patches increased from 11~15)
>>
> 
> Hi Thomas,
> 
> Would you be taking this series for RC1?
> (Ideally being driver code, this should have been with Ferruh but 
> patchwork is showing your name).

Thomas,

I will send a v3; v2 patch apply is broken because of some version bumps 
done for buses on master.
  
Thomas Monjalon Oct. 12, 2018, 10:16 a.m. UTC | #3
12/10/2018 11:32, Shreyansh Jain:
> On Wednesday 26 September 2018 11:34 PM, Shreyansh Jain wrote:
> > About the series:
> > 
> > This series of patches upgrades the DPAA2 driver firmware to
> > v10.10.10 (MC Firmware).
> > As the bus/fslmc is modified, it is a dependent object for other
> > drivers like net/crypto/qdma. Also, the changes are mostly tightly
> > linked - thus, the patches include upgrade as well as sequential
> > changes to driver.
> > Once done, it would imply that DPAA2 driver won't work with any MC
> > FW lower than 10.10.10.
> > 
> > Support for this new firmware is available in publically available
> > LSDK (Layerscape SDK) release [1].
> > 
> > Besides the FW change, there are other subtle changes as well:
> > - Support reading the MAC address from NIC device, rather than
> >    using a default MAC
> > - Adding support for QBMan 5.0 FW APIs
> > - Some patches for NXP's LX2 platform specific features
> > - And some bug fixes.
> > 
> > Dependency:
> > 
> > * These patches are based on net-next/master 58c3b609699a8c
> > * Series [1] is logically related to this, but has no git/patch
> >    related dependency. It is series for upgrade of DPAA.
> > 
> > [1] https://lsdk.github.io/index.html
> > [2] http://patches.dpdk.org/project/dpdk/list/?series=1090&state=*
> > 
> > Version History:
> > v1->v2:
> >   - Bumped up the version of the libraries (pmd/bus/crypto/event) as the
> >     first set of patches (MC firmware update) breaks the internal ABI
> >   - Added support for ordered processing APIs. These APIs are expected
> >     to be used in subseqent feature updates on DPAA2 ethernet driver.
> >   - Some internal bug fixes.
> >   (Patches increased from 11~15)
> > 
> 
> Hi Thomas,
> 
> Would you be taking this series for RC1?

Yes

> (Ideally being driver code, this should have been with Ferruh but 
> patchwork is showing your name).

Ferruh is taking patches for drivers/net/ and related.
This series is touching a lot more.