doc: announce dmadev new capability addition
PATCH 1/1 doc: announce dmadev new capability addition
Announce addition of new capability flag and fields in rte_dma_info and rte_dma_conf structures.
---
RFC:
https://patchwork.dpdk.org/project/dpdk/patch/[email protected]/
doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)
doc/guides/rel_notes/deprecation.rst +5 -0
@@ -147,3 +147,8 @@ Deprecation Notices will be deprecated and subsequently removed in DPDK 24.11 release. Before this, the new port library API (functions rte_swx_port_*) will gradually transition from experimental to stable status. + +* dmadev: A new flag ``RTE_DMA_CAPA_QOS`` will be introduced to advertise + dma device's QoS capability. Also new fields will be added in ``rte_dma_info`` + and ``rte_dma_conf`` structures to get device supported priority levels + and to configure the required priority level.
Signature · 1 line
2.25.1
Quoted 2 lines · Vamsi Attunuru
Announce addition of new capability flag and fields in
The new capability flag won't break ABI. We can mention only fields update rte_dma_info and rte_dma_conf structures.
Another option is new set APIs for priority enablement. The downside is more code. All, opinions?
Quoted 26 lines
rte_dma_infoandrte_dma_confstructures.Signed-off-by Vamsi Attunuru <[email protected]>---
RFC:
https://patchwork.dpdk.org/project/dpdk/patch/[email protected]/doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)doc/guides/rel_notes/deprecation.rst +5
-1@@ -147,3 +147,8 @@ Deprecation Notices will be deprecated and subsequently removed in DPDK 24.11 release. Before this, the new port library API (functions rte_swx_port_*) will gradually transition from experimental to stable status. + +* dmadev: A new flag ``RTE_DMA_CAPA_QOS`` will be introduced to advertise + dma device's QoS capability. Also new fields will be added in ``rte_dma_info`` + and ``rte_dma_conf`` structures to get device supported priority levels + and to configure the required priority level. --2.25.1
Quoted 6 lines
From: Jerin Jacob [mailto:[email protected]]
Sent: Monday, 29 July 2024 17.20Quoted 1 line · Vamsi Attunuru
Quoted 8 lines
Quoted 2 lines
Announce addition of new capability flag and fields in
rte_dma_infoandrte_dma_confstructures.The new capability flag won't break ABI. We can mention only fields update
rte_dma_infoandrte_dma_confstructures.Another option is new set APIs for priority enablement. The downside is more code. All, opinions?
I think that this feature should be simple enough to expand the rte_dma_info and rte_dma_conf structures with a few new fields, rather than adding a new set of APIs for it.
It seems to become 1-level weighted priority scheduling of a few QoS classes, not hierarchical or anything complex enough to justify a new set of APIs. Just a simple array of per-class properties.
The max possible number of QoS classes (i.e. the array size) should be build time configurable. Considering Marvell hardware, it seems 4 would be a good default.
Thomas Monjalon
Acked-by29/07/2024 17:20, Jerin Jacob:
Quoted 11 lines · Vamsi Attunuru
Quoted 2 lines
Announce addition of new capability flag and fields in
The new capability flag won't break ABI. We can mention only fields update
rte_dma_infoandrte_dma_confstructures.Another option is new set APIs for priority enablement. The downside is more code. All, opinions?
Quoted 1 line
rte_dma_infoandrte_dma_confstructures.
I'm fine with just updating these structs.
Quoted 1 line
Quoted 1 line
Signed-off-by Vamsi Attunuru <[email protected]>
Any other opinions?
PATCH v2 1/1 doc: announce changes to dma device structures
In reply to Vamsi AttunuruA new flag ``RTE_DMA_CAPA_QOS`` will be introduced to advertise dma device's QoS capability. In order to support the parameters for this flag, new fields will be added in ``rte_dma_info`` and ``rte_dma_conf`` structures to get device supported priority levels and to configure the required priority level.
---
v2 changes:
- Add more description to commit log.
- Add more description to deprecation.rst.
doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)
doc/guides/rel_notes/deprecation.rst +5 -0
@@ -147,3 +147,8 @@ Deprecation Notices will be deprecated and subsequently removed in DPDK 24.11 release. Before this, the new port library API (functions rte_swx_port_*) will gradually transition from experimental to stable status. + +* dmadev: A new flag ``RTE_DMA_CAPA_QOS`` will be introduced to advertise + dma device's QoS capability. In order to support the parameters for this flag, + new fields will be added in ``rte_dma_info`` and ``rte_dma_conf`` structures + to get device supported priority levels and to configure the required priority level.
Signature · 1 line
2.34.1
PATCH v3 1/1 doc: announce changes to dma device structures
In reply to Vamsi AttunuruA new flag ``RTE_DMA_CAPA_QOS`` will be introduced to advertise dma device's QoS capability. In order to support the parameters for this flag, new fields will be added in ``rte_dma_info`` and ``rte_dma_conf`` structures to get device supported priority levels and to configure the required priority level.
---
v3 changes:
- Add maintainers in email list.
v2 changes:
- Add more description to commit log.
- Add more description to deprecation.rst.
doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)
doc/guides/rel_notes/deprecation.rst +5 -0
@@ -147,3 +147,8 @@ Deprecation Notices will be deprecated and subsequently removed in DPDK 24.11 release. Before this, the new port library API (functions rte_swx_port_*) will gradually transition from experimental to stable status. + +* dmadev: A new flag ``RTE_DMA_CAPA_QOS`` will be introduced to advertise + dma device's QoS capability. In order to support the parameters for this flag, + new fields will be added in ``rte_dma_info`` and ``rte_dma_conf`` structures + to get device supported priority levels and to configure the required priority level.
Signature · 1 line
2.34.1
PATCH v4 1/1 doc: announce changes to dma device structures
A new flag RTE_DMA_CAPA_QOS will be introduced to advertise dma device's QoS capability. In order to support the parameters for this flag, new fields will be added in rte_dma_info and rte_dma_conf structures to get device supported priority levels and to configure the required priority level.
---
v4 changes:
- Fix checkpatch warning.
v3 changes:
- Add maintainers in email list.
v2 changes:
- Add more description to commit log.
- Add more description to deprecation.rst.
doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)
doc/guides/rel_notes/deprecation.rst +5 -0
@@ -147,3 +147,8 @@ Deprecation Notices will be deprecated and subsequently removed in DPDK 24.11 release. Before this, the new port library API (functions rte_swx_port_*) will gradually transition from experimental to stable status. + +* dmadev: A new flag ``RTE_DMA_CAPA_QOS`` will be introduced to advertise + dma device's QoS capability. In order to support the parameters for this flag, + new fields will be added in ``rte_dma_info`` and ``rte_dma_conf`` structures + to get device supported priority levels and to configure the required priority level.
Signature · 1 line
2.34.1
Re: [PATCH v4] doc: announce changes to dma device structures
Quoted 9 lines · Amit Prakash Shukla
A new flag
RTE_DMA_CAPA_QOSwill be introduced to advertise dma device's QoS capability. In order to support the parameters for this flag, new fields will be added inrte_dma_infoandrte_dma_confstructures to get device supported priority levels and to configure the required priority level.Signed-off-by Vamsi Attunuru <[email protected]>Signed-off-by Amit Prakash Shukla <[email protected]>
Quoted 30 lines
---
v4 changes:
- Fix checkpatch warning.v3 changes:
- Add maintainers in email list.v2 changes:
- Add more description to commit log.
- Add more description todeprecation.rst.doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)doc/guides/rel_notes/deprecation.rst +5
-1@@ -147,3 +147,8 @@ Deprecation Notices will be deprecated and subsequently removed in DPDK 24.11 release. Before this, the new port library API (functions rte_swx_port_*) will gradually transition from experimental to stable status. + +* dmadev: A new flag ``RTE_DMA_CAPA_QOS`` will be introduced to advertise + dma device's QoS capability. In order to support the parameters for this flag, + new fields will be added in ``rte_dma_info`` and ``rte_dma_conf`` structures + to get device supported priority levels and to configure the required priority level. --2.34.1
Thomas Monjalon
Acked-byRe: [PATCH v4] doc: announce changes to dma device structures
30/07/2024 19:27, Jerin Jacob:
Quoted 9 lines
Quoted 7 lines · Amit Prakash Shukla
A new flag
RTE_DMA_CAPA_QOSwill be introduced to advertise dma device's QoS capability. In order to support the parameters for this flag, new fields will be added inrte_dma_infoandrte_dma_confstructures to get device supported priority levels and to configure the required priority level.
Quoted 5 lines
Quoted 2 lines
Signed-off-by Vamsi Attunuru <[email protected]>Signed-off-by Amit Prakash Shukla <[email protected]>Acked-by Jerin Jacob <[email protected]>
Re: [PATCH v4] doc: announce changes to dma device structures
31/07/2024 13:01, Thomas Monjalon:
Quoted 10 lines
30/07/2024 19:27, Jerin Jacob:
Quoted 9 lines
Quoted 7 lines · Amit Prakash Shukla
A new flag
RTE_DMA_CAPA_QOSwill be introduced to advertise dma device's QoS capability. In order to support the parameters for this flag, new fields will be added inrte_dma_infoandrte_dma_confstructures to get device supported priority levels and to configure the required priority level.
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
Signed-off-by Vamsi Attunuru <[email protected]>Signed-off-by Amit Prakash Shukla <[email protected]>Acked-by Jerin Jacob <[email protected]>Acked-by Thomas Monjalon <[email protected]>
The RFC and the deprecation notices are sent a bit late. We cannot conclude there is consensus.
I propose to raise it to the techboard if an ABI breakage is still required for 24.11. As dmadev is quite new, I don't think it is big issue.
Bruce Richardson
Acked-byRe: [PATCH v4] doc: announce changes to dma device structures
Quoted 17 lines · Thomas Monjalon
31/07/2024 13:01, Thomas Monjalon:
Quoted 16 lines
30/07/2024 19:27, Jerin Jacob:
Quoted 14 lines
Quoted 9 lines · Amit Prakash Shukla
A new flag
RTE_DMA_CAPA_QOSwill be introduced to advertise dma device's QoS capability. In order to support the parameters for this flag, new fields will be added inrte_dma_infoandrte_dma_confstructures to get device supported priority levels and to configure the required priority level.Signed-off-by Vamsi Attunuru <[email protected]>Signed-off-by Amit Prakash Shukla <[email protected]>Acked-by Jerin Jacob <[email protected]>
Quoted 8 lines
Quoted 1 line
Acked-by Thomas Monjalon <[email protected]>The RFC and the deprecation notices are sent a bit late. We cannot conclude there is consensus.
I propose to raise it to the techboard if an ABI breakage is still required for 24.11. As dmadev is quite new, I don't think it is big issue.
No objection to changing the structures. However, for the actual implementation we'll have to review the changes to ensure they are clear enough to allow potential alternative implementations. For example, I worry about just having one "QoS" flag defined - how would we manage if different QoS schemes are implemented by various hw vendors in different ways?
For the notice about structure changes though:
RE: [EXTERNAL] Re: [PATCH v4] doc: announce changes to dma device structures
Quoted 28 lines
ZjQcmQRYFpfptBannerEnd
Quoted 15 lines · Thomas Monjalon
31/07/2024 13:01, Thomas Monjalon:
Quoted 14 lines
30/07/2024 19:27, Jerin Jacob:
Quoted 13 lines
Quoted 9 lines · Amit Prakash Shukla
A new flag
RTE_DMA_CAPA_QOSwill be introduced to advertise dma device's QoS capability. In order to support the parameters for this flag, new fields will be added inrte_dma_infoandrte_dma_confstructures to get device supported priority levels and to configure the required priority level.Signed-off-by Vamsi Attunuru <[email protected]>Signed-off-by Amit Prakash Shukla <[email protected]>Quoted 8 lines
Quoted 3 lines
Quoted 1 line
Acked-by Jerin Jacob <[email protected]>Acked-by Thomas Monjalon <[email protected]>The RFC and the deprecation notices are sent a bit late. We cannot conclude there is consensus.
I propose to raise it to the techboard if an ABI breakage is still required for
24.11.
Quoted 2 lines
As dmadev is quite new, I don't think it is big issue.
Quoted 8 lines
No objection to changing the structures. However, for the actual implementation we'll have to review the changes to ensure they are clear enough to allow potential alternative implementations. For example, I worry about just having one "QoS" flag defined - how would we manage if different QoS schemes are implemented by various hw vendors in different ways?
For the notice about structure changes though:
Acked-by Bruce Richardson <[email protected]>
This feature was renamed because it required consideration of advanced scheduling schemes, Strict priority support was added at a later stage.
https://inbox.dpdk.org/dev/[email protected]/