doc: announce changes to rte_eth_set_queue_rate_limit api
PATCH 1/1 doc: announce changes to rte_eth_set_queue_rate_limit api
From: Satha Rao <[email protected]>
rte_eth_set_queue_rate_limit argument rate modified to uint64_t to support more than 64Gbps.
--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)
doc/guides/rel_notes/deprecation.rst +5 -0
@@ -125,3 +125,8 @@ Deprecation Notices applications should be updated to use the ``dmadev`` library instead, with the underlying HW-functionality being provided by the ``ioat`` or ``idxd`` dma drivers + +* ethdev: The function ``rte_eth_set_queue_rate_limit`` takes ``rate`` in Mbps. + This parameter declared as uint16_t, queue rate limited to 64Gbps. ``rate`` + parameter will be modified to uint64_t in DPDK 22.11 so that it can work for + more than 64Gbps.
Signature · 1 line
1.8.3.1
Quoted 15 lines · On 7/1/22 18:32, [email protected] wrote:
From: Satha Rao <[email protected]>
rte_eth_set_queue_rate_limitargument rate modified touint64_tto support more than 64Gbps.Signed-off-by Satha Rao <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)doc/guides/rel_notes/deprecation.rst +0
-0
doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 132
Quoted 8 lines
doc/guides/rel_notes/deprecation.rst +5
-0@@ -125,3 +125,8 @@ Deprecation Notices applications should be updated to use the ``dmadev`` library instead, with the underlying HW-functionality being provided by the ``ioat`` or ``idxd`` dma drivers + +* ethdev: The function ``rte_eth_set_queue_rate_limit`` takes ``rate`` in Mbps. + This parameter declared as uint16_t, queue rate limited to 64Gbps. ``rate`` + parameter will be modified to uint64_t in DPDK 22.11 so that it can work for + more than 64Gbps.
I fully agree that uint16_t is not enough, but I'd like to understand the reason behind uint64_t vs uint32_t. It looks like uint32_t is more than enough.
-----Original Message-----
From: Andrew Rybchenko <[email protected]>
Sent: Thursday, July 7, 2022 6:23 PM
To: Satha Koteswara Rao Kottidi <[email protected]>; Ray Kinsella <[email protected]>
Cc: [email protected]
Subject: [EXT] Re: [PATCH] doc: announce changes to rte_eth_set_queue_rate_limit api
External Email
----------------------------------------------------------------------
Quoted 16 lines · On 7/1/22 18:32, [email protected] wrote:
From: Satha Rao <[email protected]>
rte_eth_set_queue_rate_limitargument rate modified touint64_tto support more than 64Gbps.Signed-off-by Satha Rao <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)doc/guides/rel_notes/deprecation.rst +0
-0
doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 132
Quoted 10 lines
doc/guides/rel_notes/deprecation.rst +7
-0@@ -125,3 +125,8 @@ Deprecation Notices applications should be updated to use the ``dmadev`` library instead, with the underlying HW-functionality being provided by the ``ioat`` or ``idxd`` dma drivers + +* ethdev: The function ``rte_eth_set_queue_rate_limit`` takes ``rate`` in Mbps. + This parameter declared as uint16_t, queue rate limited to 64Gbps. +``rate`` + parameter will be modified to uint64_t in DPDK 22.11 so that it can +work for + more than 64Gbps.
I fully agree that uint16_t is not enough, but I'd like to understand the reason behind uint64_t vs uint32_t. It looks like uint32_t is more than enough.
Quoted 1 line
Quoted 1 line
yes
uint32_tis enough, proposeduint64_tso that the rate in TM shaper profile is alsouint64_tin bps
Hi Andrew,
Are you convinced with my response, or you want me to change this field to uint32_t?
Thanks,
Satha.
-----Original Message-----
From: Satha Koteswara Rao Kottidi <[email protected]>
Sent: Thursday, July 7, 2022 7:09 PM
To: Andrew Rybchenko <[email protected]>; Ray Kinsella <[email protected]>
Cc: [email protected]
Subject: RE: [EXT] Re: [PATCH] doc: announce changes to rte_eth_set_queue_rate_limit api
-----Original Message-----
From: Andrew Rybchenko <[email protected]>
Sent: Thursday, July 7, 2022 6:23 PM
To: Satha Koteswara Rao Kottidi <[email protected]>; Ray Kinsella <[email protected]>
Cc: [email protected]
Subject: [EXT] Re: [PATCH] doc: announce changes to rte_eth_set_queue_rate_limit api
External Email
----------------------------------------------------------------------
Quoted 16 lines · On 7/1/22 18:32, [email protected] wrote:
From: Satha Rao <[email protected]>
rte_eth_set_queue_rate_limitargument rate modified touint64_tto support more than 64Gbps.Signed-off-by Satha Rao <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)doc/guides/rel_notes/deprecation.rst +0
-0
doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 132
Quoted 10 lines
doc/guides/rel_notes/deprecation.rst +7
-0@@ -125,3 +125,8 @@ Deprecation Notices applications should be updated to use the ``dmadev`` library instead, with the underlying HW-functionality being provided by the ``ioat`` or ``idxd`` dma drivers + +* ethdev: The function ``rte_eth_set_queue_rate_limit`` takes ``rate`` in Mbps. + This parameter declared as uint16_t, queue rate limited to 64Gbps. +``rate`` + parameter will be modified to uint64_t in DPDK 22.11 so that it can +work for + more than 64Gbps.
I fully agree that uint16_t is not enough, but I'd like to understand the reason behind uint64_t vs uint32_t. It looks like uint32_t is more than enough.
Quoted 2 lines
Quoted 2 lines
yes
uint32_tis enough, proposeduint64_tso that the rate in TM shaper profile is alsouint64_tin bps
07/07/2022 15:38, Satha Koteswara Rao Kottidi:
Quoted 13 lines
From: Andrew Rybchenko <[email protected]>
Quoted 11 lines · On 7/1/22 18:32, [email protected] wrote:
Review
Quoted 6 lines
+* ethdev: The function ``rte_eth_set_queue_rate_limit`` takes ``rate`` in Mbps. + This parameter declared as
uint16_t, queue rate limited to 64Gbps. +``rate``(quoted diff) +3
-0+ parameter will be modified to uint64_t in DPDK 22.11 so that it can +work for + more than 64Gbps.I fully agree that
uint16_tis not enough, but I'd like to understand the reason behinduint64_tvsuint32_t. It looks likeuint32_tis more than enough.
Quoted 1 line
yes
uint32_tis enough, proposeduint64_tso that the rate in TM shaper profile is alsouint64_tin bps
I don't see how both are related.
Why not stick to uint32_t for this parameter?
Also I'm not sure it is breakage.
If it was, it could have been handled with function versioning. But anyway it is a small change, I am OK with uint32_t.
Thanks Thomas. I will send v2 with uint32_t type.
Thanks,
Satha.
-----Original Message-----
From: Thomas Monjalon <[email protected]>
Sent: Tuesday, July 12, 2022 7:34 PM
To: Satha Koteswara Rao Kottidi <[email protected]>
Cc: Andrew Rybchenko <[email protected]>; Ray Kinsella <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Jerin Jacob Kollanukkaran <[email protected]>
Subject: Re: [EXT] Re: [PATCH] doc: announce changes to rte_eth_set_queue_rate_limit api
07/07/2022 15:38, Satha Koteswara Rao Kottidi:
Quoted 14 lines
From: Andrew Rybchenko <[email protected]>
Quoted 12 lines · On 7/1/22 18:32, [email protected] wrote:
Review
Quoted 7 lines
+* ethdev: The function ``rte_eth_set_queue_rate_limit`` takes +``rate``
in Mbps. + This parameter declared asuint16_t, queue rate limited to 64Gbps. +``rate``(quoted diff) +3
-0+ parameter will be modified to uint64_t in DPDK 22.11 so that it +can work for + more than 64Gbps.I fully agree that
uint16_tis not enough, but I'd like to understand the reason behinduint64_tvsuint32_t. It looks likeuint32_tis more than enough.
Quoted 2 lines
yes
uint32_tis enough, proposeduint64_tso that the rate in TM shaper profile is alsouint64_tin bps
I don't see how both are related.
Why not stick to uint32_t for this parameter?
Also I'm not sure it is breakage.
If it was, it could have been handled with function versioning. But anyway it is a small change, I am OK with uint32_t.
PATCH v2 1/1 doc: announce changes to rte_eth_set_queue_rate_limit api
In reply to [email protected]From: Satha Rao <[email protected]>
rte_eth_set_queue_rate_limit argument rate modified to uint32_t to support more than 64Gbps.
--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)
doc/guides/rel_notes/deprecation.rst +5 -0
@@ -125,3 +125,8 @@ Deprecation Notices applications should be updated to use the ``dmadev`` library instead, with the underlying HW-functionality being provided by the ``ioat`` or ``idxd`` dma drivers + +* ethdev: The function ``rte_eth_set_queue_rate_limit`` takes ``rate`` in Mbps. + This parameter declared as uint16_t, queue rate limited to 64Gbps. ``rate`` + parameter will be modified to uint32_t in DPDK 22.11 so that it can work for + more than 64Gbps.
Signature · 1 line
1.8.3.1
Quoted 7 lines · On Wed, Jul 13, 2022 at 11:59 AM <[email protected]> wrote:
From: Satha Rao <[email protected]>
rte_eth_set_queue_rate_limitargument rate modified touint32_tto support more than 64Gbps.Signed-off-by Satha Rao <[email protected]>
With api to API change in subject line
Quoted 20 lines
--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)doc/guides/rel_notes/deprecation.rst +5
-1@@ -125,3 +125,8 @@ Deprecation Notices applications should be updated to use the ``dmadev`` library instead, with the underlying HW-functionality being provided by the ``ioat`` or ``idxd`` dma drivers + +* ethdev: The function ``rte_eth_set_queue_rate_limit`` takes ``rate`` in Mbps. + This parameter declared as uint16_t, queue rate limited to 64Gbps. ``rate`` + parameter will be modified to uint32_t in DPDK 22.11 so that it can work for + more than 64Gbps. --1.8.3.1
PATCH v3 1/1 doc: announce changes to rte_eth_set_queue_rate_limit API
In reply to [email protected]From: Satha Rao <[email protected]>
rte_eth_set_queue_rate_limit argument rate modified to uint32_t to support more than 64Gbps.
---
v2: Modified rate to uint32_t as per review comments
v3: api in subject line changed to API
---
doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)
doc/guides/rel_notes/deprecation.rst +5 -0
@@ -125,3 +125,8 @@ Deprecation Notices applications should be updated to use the ``dmadev`` library instead, with the underlying HW-functionality being provided by the ``ioat`` or ``idxd`` dma drivers + +* ethdev: The function ``rte_eth_set_queue_rate_limit`` takes ``rate`` in Mbps. + This parameter declared as uint16_t, queue rate limited to 64Gbps. ``rate`` + parameter will be modified to uint32_t in DPDK 22.11 so that it can work for + more than 64Gbps.
Signature · 1 line
1.8.3.1
Re: [PATCH v3] doc: announce changes to rte_eth_set_queue_rate_limit API
Quoted 22 lines · On 7/15/22 16:25, [email protected] wrote:
From: Satha Rao <[email protected]>
rte_eth_set_queue_rate_limitargument rate modified touint32_tto support more than 64Gbps.Signed-off-by Satha Rao <[email protected]>Acked-by Jerin Jacob <[email protected]>---
v2: Modified rate to
uint32_tas per review comments
v3: api in subject line changed to API---
doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)doc/guides/rel_notes/deprecation.rst +0
-0
doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 132
Quoted 8 lines
doc/guides/rel_notes/deprecation.rst +5
-0@@ -125,3 +125,8 @@ Deprecation Notices applications should be updated to use the ``dmadev`` library instead, with the underlying HW-functionality being provided by the ``ioat`` or ``idxd`` dma drivers + +* ethdev: The function ``rte_eth_set_queue_rate_limit`` takes ``rate`` in Mbps. + This parameter declared as uint16_t, queue rate limited to 64Gbps. ``rate`` + parameter will be modified to uint32_t in DPDK 22.11 so that it can work for + more than 64Gbps.
Ajit Khaparde
Acked-byRe: [PATCH v3] doc: announce changes to rte_eth_set_queue_rate_limit API
Quoted 19 lines · Andrew Rybchenko
Quoted 17 lines · On 7/15/22 16:25, [email protected] wrote:
From: Satha Rao <[email protected]>
rte_eth_set_queue_rate_limitargument rate modified touint32_tto support more than 64Gbps.Signed-off-by Satha Rao <[email protected]>Acked-by Jerin Jacob <[email protected]>---
v2: Modified rate to
uint32_tas per review comments
v3: api in subject line changed to API---
doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)
Quoted 15 lines
doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 132
Quoted 13 lines
doc/guides/rel_notes/deprecation.rst +5
-0@@ -125,3 +125,8 @@ Deprecation Notices applications should be updated to use the ``dmadev`` library instead, with the underlying HW-functionality being provided by the ``ioat`` or ``idxd`` dma drivers + +* ethdev: The function ``rte_eth_set_queue_rate_limit`` takes ``rate`` in Mbps. + This parameter declared as uint16_t, queue rate limited to 64Gbps. ``rate`` + parameter will be modified to uint32_t in DPDK 22.11 so that it can work for + more than 64Gbps.Acked-by Andrew Rybchenko <[email protected]>
Re: [PATCH v3] doc: announce changes to rte_eth_set_queue_rate_limit API
15/07/2022 18:29, Ajit Khaparde:
Quoted 11 lines
Quoted 9 lines · Andrew Rybchenko
Quoted 7 lines · On 7/15/22 16:25, [email protected] wrote:
From: Satha Rao <[email protected]>
rte_eth_set_queue_rate_limitargument rate modified touint32_tto support more than 64Gbps.Signed-off-by Satha Rao <[email protected]>Acked-by Jerin Jacob <[email protected]>
[...]
Quoted 7 lines
Quoted 6 lines
doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 132
Quoted 4 lines
doc/guides/rel_notes/deprecation.rst +4
-0+* ethdev: The function ``rte_eth_set_queue_rate_limit`` takes ``rate`` in Mbps. + This parameter declared as uint16_t, queue rate limited to 64Gbps. ``rate`` + parameter will be modified to uint32_t in DPDK 22.11 so that it can work for + more than 64Gbps.Acked-by Andrew Rybchenko <[email protected]>Acked-by Ajit Khaparde <[email protected]>
With a bit of English grammar rewording,
Applied, thanks.