[v3,00/20] NXP DPAA2 fixes and enhancements

Message ID 20190111122305.7133-1-shreyansh.jain@nxp.com
Headers show
Series
  • NXP DPAA2 fixes and enhancements
Related show

Message

Shreyansh Jain Jan. 11, 2019, 12:24 p.m.
(N: Original series was by Hemant - due to RC window timeline and
    his unavailability, respining on his behalf)

This patch set covers following:

1. Fixes in the existing NXP DPAA2 bus and net pmd
2. New object (DPDMUX) support in NIC driver for better classification
3. Improvements to support secondary process
4. Upgrade the low level QBMAN HW lib

History:
v1->v2:
 - Fix warning on Patch 20/20 - moved printfs to logging macro
   and PRIx changes
 - reset author of 07/20 as the signoff and author didn't match
 - Validate over master (a958a5c07f4b5e)
 - Reword patch headline/commit based on check-git-log script

v2->v3:
 - Remove last (20/20) patch which was introducing a new API
   within FSLMC layer

Akhil Goyal (1):
  net/dpaa2: enable optional timestamp in mbuf

Hemant Agrawal (7):
  bus/fslmc: fix to use correct physical core for logical core
  net/dpaa2: fix bad check for not-null
  bus/fslmc: fix to convert error msg to warning
  bus/fslmc: upgrade to latest qbman library
  bus/fslmc: add dynamic config for memback portal mode
  bus/fslmc: rename portal pi index to consumer index
  bus/fslmc: make portal func static

Nipun Gupta (4):
  net/dpaa2: add dpdmux mc flib
  bus/fslmc: add support for scanning DPDMUX object
  net/dpaa2: add dpdmux initialization and configuration
  net/dpaa2: add API to support custom hash key

Sachin Saxena (1):
  bus/fslmc: fix to reset portal memory before use

Shreyansh Jain (5):
  bus/fslmc: fix parse method for bus devices
  net/dpaa2: fix device init for secondary process
  mempool/dpaa2: support saving context of buffer pool
  net/dpaa2: change reference to private device
  bus/fslmc: add support for secondary processes

Youri Querry (1):
  bus/fslmc: fix the ring mode to use correct cache settings

 doc/api/doxy-api-index.md                     |   1 +
 doc/api/doxy-api.conf.in                      |   1 +
 drivers/bus/fslmc/fslmc_bus.c                 |  38 +-
 drivers/bus/fslmc/fslmc_vfio.c                |  55 +-
 drivers/bus/fslmc/portal/dpaa2_hw_dpio.c      | 100 +-
 drivers/bus/fslmc/portal/dpaa2_hw_dpio.h      |   2 -
 drivers/bus/fslmc/portal/dpaa2_hw_pvt.h       |   6 +-
 .../bus/fslmc/qbman/include/fsl_qbman_base.h  |  11 +-
 drivers/bus/fslmc/qbman/qbman_portal.c        | 123 ++-
 drivers/bus/fslmc/qbman/qbman_portal.h        |   2 +-
 drivers/bus/fslmc/qbman/qbman_sys.h           |  34 +-
 drivers/bus/fslmc/rte_fslmc.h                 |   1 +
 drivers/mempool/dpaa2/dpaa2_hw_mempool.c      |  12 +-
 drivers/mempool/dpaa2/dpaa2_hw_mempool.h      |   2 +-
 drivers/net/dpaa2/Makefile                    |   4 +
 drivers/net/dpaa2/base/dpaa2_hw_dpni.c        |  54 +-
 drivers/net/dpaa2/dpaa2_ethdev.c              |  26 +-
 drivers/net/dpaa2/dpaa2_ethdev.h              |   6 +
 drivers/net/dpaa2/dpaa2_mux.c                 | 222 +++++
 drivers/net/dpaa2/dpaa2_rxtx.c                |  41 +-
 drivers/net/dpaa2/mc/dpdmux.c                 | 929 ++++++++++++++++++
 drivers/net/dpaa2/mc/fsl_dpdmux.h             | 410 ++++++++
 drivers/net/dpaa2/mc/fsl_dpdmux_cmd.h         | 221 +++++
 drivers/net/dpaa2/meson.build                 |   4 +
 drivers/net/dpaa2/rte_pmd_dpaa2.h             |  90 ++
 drivers/net/dpaa2/rte_pmd_dpaa2_version.map   |   8 +
 26 files changed, 2267 insertions(+), 136 deletions(-)
 create mode 100644 drivers/net/dpaa2/dpaa2_mux.c
 create mode 100644 drivers/net/dpaa2/mc/dpdmux.c
 create mode 100644 drivers/net/dpaa2/mc/fsl_dpdmux.h
 create mode 100644 drivers/net/dpaa2/mc/fsl_dpdmux_cmd.h
 create mode 100644 drivers/net/dpaa2/rte_pmd_dpaa2.h

Comments

Ferruh Yigit Jan. 11, 2019, 3:51 p.m. | #1
On 1/11/2019 12:24 PM, Shreyansh Jain wrote:
> (N: Original series was by Hemant - due to RC window timeline and
>     his unavailability, respining on his behalf)
> 
> This patch set covers following:
> 
> 1. Fixes in the existing NXP DPAA2 bus and net pmd
> 2. New object (DPDMUX) support in NIC driver for better classification
> 3. Improvements to support secondary process
> 4. Upgrade the low level QBMAN HW lib
> 
> History:
> v1->v2:
>  - Fix warning on Patch 20/20 - moved printfs to logging macro
>    and PRIx changes
>  - reset author of 07/20 as the signoff and author didn't match
>  - Validate over master (a958a5c07f4b5e)
>  - Reword patch headline/commit based on check-git-log script
> 
> v2->v3:
>  - Remove last (20/20) patch which was introducing a new API
>    within FSLMC layer
> 
> Akhil Goyal (1):
>   net/dpaa2: enable optional timestamp in mbuf
> 
> Hemant Agrawal (7):
>   bus/fslmc: fix to use correct physical core for logical core
>   net/dpaa2: fix bad check for not-null
>   bus/fslmc: fix to convert error msg to warning
>   bus/fslmc: upgrade to latest qbman library
>   bus/fslmc: add dynamic config for memback portal mode
>   bus/fslmc: rename portal pi index to consumer index
>   bus/fslmc: make portal func static
> 
> Nipun Gupta (4):
>   net/dpaa2: add dpdmux mc flib
>   bus/fslmc: add support for scanning DPDMUX object
>   net/dpaa2: add dpdmux initialization and configuration
>   net/dpaa2: add API to support custom hash key
> 
> Sachin Saxena (1):
>   bus/fslmc: fix to reset portal memory before use
> 
> Shreyansh Jain (5):
>   bus/fslmc: fix parse method for bus devices
>   net/dpaa2: fix device init for secondary process
>   mempool/dpaa2: support saving context of buffer pool
>   net/dpaa2: change reference to private device
>   bus/fslmc: add support for secondary processes
> 
> Youri Querry (1):
>   bus/fslmc: fix the ring mode to use correct cache settings

Hi Shreyansh,

Can I add your explicit ack to the series?
Ferruh Yigit Jan. 11, 2019, 4:12 p.m. | #2
On 1/11/2019 3:51 PM, Ferruh Yigit wrote:
> On 1/11/2019 12:24 PM, Shreyansh Jain wrote:
>> (N: Original series was by Hemant - due to RC window timeline and
>>     his unavailability, respining on his behalf)
>>
>> This patch set covers following:
>>
>> 1. Fixes in the existing NXP DPAA2 bus and net pmd
>> 2. New object (DPDMUX) support in NIC driver for better classification
>> 3. Improvements to support secondary process
>> 4. Upgrade the low level QBMAN HW lib
>>
>> History:
>> v1->v2:
>>  - Fix warning on Patch 20/20 - moved printfs to logging macro
>>    and PRIx changes
>>  - reset author of 07/20 as the signoff and author didn't match
>>  - Validate over master (a958a5c07f4b5e)
>>  - Reword patch headline/commit based on check-git-log script
>>
>> v2->v3:
>>  - Remove last (20/20) patch which was introducing a new API
>>    within FSLMC layer
>>
>> Akhil Goyal (1):
>>   net/dpaa2: enable optional timestamp in mbuf
>>
>> Hemant Agrawal (7):
>>   bus/fslmc: fix to use correct physical core for logical core
>>   net/dpaa2: fix bad check for not-null
>>   bus/fslmc: fix to convert error msg to warning
>>   bus/fslmc: upgrade to latest qbman library
>>   bus/fslmc: add dynamic config for memback portal mode
>>   bus/fslmc: rename portal pi index to consumer index
>>   bus/fslmc: make portal func static
>>
>> Nipun Gupta (4):
>>   net/dpaa2: add dpdmux mc flib
>>   bus/fslmc: add support for scanning DPDMUX object
>>   net/dpaa2: add dpdmux initialization and configuration
>>   net/dpaa2: add API to support custom hash key
>>
>> Sachin Saxena (1):
>>   bus/fslmc: fix to reset portal memory before use
>>
>> Shreyansh Jain (5):
>>   bus/fslmc: fix parse method for bus devices
>>   net/dpaa2: fix device init for secondary process
>>   mempool/dpaa2: support saving context of buffer pool
>>   net/dpaa2: change reference to private device
>>   bus/fslmc: add support for secondary processes
>>
>> Youri Querry (1):
>>   bus/fslmc: fix the ring mode to use correct cache settings
> 
> Hi Shreyansh,
> 
> Can I add your explicit ack to the series?

Series applied to dpdk-next-net/master, thanks.

(For ones from non-maintainers, Shreyansh's ack added)
Shreyansh Jain Jan. 14, 2019, 5:19 a.m. | #3
On 11/01/19 5:54 PM, Shreyansh Jain wrote:
> (N: Original series was by Hemant - due to RC window timeline and
>      his unavailability, respining on his behalf)
> 
> This patch set covers following:
> 
> 1. Fixes in the existing NXP DPAA2 bus and net pmd
> 2. New object (DPDMUX) support in NIC driver for better classification
> 3. Improvements to support secondary process
> 4. Upgrade the low level QBMAN HW lib
> 
> History:
> v1->v2:
>   - Fix warning on Patch 20/20 - moved printfs to logging macro
>     and PRIx changes
>   - reset author of 07/20 as the signoff and author didn't match
>   - Validate over master (a958a5c07f4b5e)
>   - Reword patch headline/commit based on check-git-log script
> 
> v2->v3:
>   - Remove last (20/20) patch which was introducing a new API
>     within FSLMC layer
> 
> Akhil Goyal (1):
>    net/dpaa2: enable optional timestamp in mbuf
> 
> Hemant Agrawal (7):
>    bus/fslmc: fix to use correct physical core for logical core
>    net/dpaa2: fix bad check for not-null
>    bus/fslmc: fix to convert error msg to warning
>    bus/fslmc: upgrade to latest qbman library
>    bus/fslmc: add dynamic config for memback portal mode
>    bus/fslmc: rename portal pi index to consumer index
>    bus/fslmc: make portal func static
> 
> Nipun Gupta (4):
>    net/dpaa2: add dpdmux mc flib
>    bus/fslmc: add support for scanning DPDMUX object
>    net/dpaa2: add dpdmux initialization and configuration
>    net/dpaa2: add API to support custom hash key
> 
> Sachin Saxena (1):
>    bus/fslmc: fix to reset portal memory before use
> 
> Shreyansh Jain (5):
>    bus/fslmc: fix parse method for bus devices
>    net/dpaa2: fix device init for secondary process
>    mempool/dpaa2: support saving context of buffer pool
>    net/dpaa2: change reference to private device
>    bus/fslmc: add support for secondary processes
> 
> Youri Querry (1):
>    bus/fslmc: fix the ring mode to use correct cache settings

Though the patches have already been applied, just for record, I am 
formally Ack'ing the series.

Series-Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Shreyansh Jain Jan. 14, 2019, 5:20 a.m. | #4
On 11/01/19 9:42 PM, Ferruh Yigit wrote:
> On 1/11/2019 3:51 PM, Ferruh Yigit wrote:
>> On 1/11/2019 12:24 PM, Shreyansh Jain wrote:
>>> (N: Original series was by Hemant - due to RC window timeline and
>>>      his unavailability, respining on his behalf)
>>>
>>> This patch set covers following:
>>>
>>> 1. Fixes in the existing NXP DPAA2 bus and net pmd
>>> 2. New object (DPDMUX) support in NIC driver for better classification
>>> 3. Improvements to support secondary process
>>> 4. Upgrade the low level QBMAN HW lib
>>>
>>> History:
>>> v1->v2:
>>>   - Fix warning on Patch 20/20 - moved printfs to logging macro
>>>     and PRIx changes
>>>   - reset author of 07/20 as the signoff and author didn't match
>>>   - Validate over master (a958a5c07f4b5e)
>>>   - Reword patch headline/commit based on check-git-log script
>>>
>>> v2->v3:
>>>   - Remove last (20/20) patch which was introducing a new API
>>>     within FSLMC layer
>>>
>>> Akhil Goyal (1):
>>>    net/dpaa2: enable optional timestamp in mbuf
>>>
>>> Hemant Agrawal (7):
>>>    bus/fslmc: fix to use correct physical core for logical core
>>>    net/dpaa2: fix bad check for not-null
>>>    bus/fslmc: fix to convert error msg to warning
>>>    bus/fslmc: upgrade to latest qbman library
>>>    bus/fslmc: add dynamic config for memback portal mode
>>>    bus/fslmc: rename portal pi index to consumer index
>>>    bus/fslmc: make portal func static
>>>
>>> Nipun Gupta (4):
>>>    net/dpaa2: add dpdmux mc flib
>>>    bus/fslmc: add support for scanning DPDMUX object
>>>    net/dpaa2: add dpdmux initialization and configuration
>>>    net/dpaa2: add API to support custom hash key
>>>
>>> Sachin Saxena (1):
>>>    bus/fslmc: fix to reset portal memory before use
>>>
>>> Shreyansh Jain (5):
>>>    bus/fslmc: fix parse method for bus devices
>>>    net/dpaa2: fix device init for secondary process
>>>    mempool/dpaa2: support saving context of buffer pool
>>>    net/dpaa2: change reference to private device
>>>    bus/fslmc: add support for secondary processes
>>>
>>> Youri Querry (1):
>>>    bus/fslmc: fix the ring mode to use correct cache settings
>>
>> Hi Shreyansh,
>>
>> Can I add your explicit ack to the series?
> 
> Series applied to dpdk-next-net/master, thanks.
> 
> (For ones from non-maintainers, Shreyansh's ack added)
> 

Hi Ferruh,

Apologies - I didn't notice this email earlier. I am OK with ACK you 
have applied and I have also replied back with a formal ACK to V3.

-
Shreyansh