* [dpdk-dev] [PATCH] doc: add ABI change notification for ring library
@ 2017-02-13 17:38 Bruce Richardson
2017-02-14 0:32 ` Mcnamara, John
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Bruce Richardson @ 2017-02-13 17:38 UTC (permalink / raw)
To: dev; +Cc: Bruce Richardson
Document proposed changes for the rings code in the next release.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
doc/guides/rel_notes/deprecation.rst | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index b49e0a0..e715fc7 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -8,6 +8,25 @@ API and ABI deprecation notices are to be posted here.
Deprecation Notices
-------------------
+* ring: Changes are planned to rte_ring APIs in release 17.05. Proposed
+ changes include:
+ - Removing build time options for the ring:
+ CONFIG_RTE_RING_SPLIT_PROD_CONS
+ CONFIG_RTE_RING_PAUSE_REP_COUNT
+ - Adding an additional parameter to enqueue functions to return the
+ amount of free space in the ring
+ - Adding an additional parameter to dequeue functions to return the
+ number of remaining elements in the ring
+ - Removing direct support for watermarks in the rings, since the
+ additional return value from the enqueue function makes it
+ unneeded
+ - Adjusting the return values of the bulk() enq/deq functions to
+ make them consistent with the burst() equivalents. [Note, parameter
+ to these functions are changing too, per points above, so compiler
+ will flag them as needing update in legacy code]
+ - Updates to some library functions e.g. rte_ring_get_memsize() to
+ allow for variably-sized ring elements.
+
* igb_uio: iomem mapping and sysfs files created for iomem and ioport in
igb_uio will be removed, because we are able to detect these from what Linux
has exposed, like the way we have done with uio-pci-generic. This change
--
2.9.3
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-dev] [PATCH] doc: add ABI change notification for ring library
2017-02-13 17:38 [dpdk-dev] [PATCH] doc: add ABI change notification for ring library Bruce Richardson
@ 2017-02-14 0:32 ` Mcnamara, John
2017-02-14 3:25 ` Jerin Jacob
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Mcnamara, John @ 2017-02-14 0:32 UTC (permalink / raw)
To: Richardson, Bruce, dev; +Cc: Richardson, Bruce
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Bruce Richardson
> Sent: Monday, February 13, 2017 5:39 PM
> To: dev@dpdk.org
> Cc: Richardson, Bruce <bruce.richardson@intel.com>
> Subject: [dpdk-dev] [PATCH] doc: add ABI change notification for ring
> library
>
> Document proposed changes for the rings code in the next release.
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-dev] [PATCH] doc: add ABI change notification for ring library
2017-02-13 17:38 [dpdk-dev] [PATCH] doc: add ABI change notification for ring library Bruce Richardson
2017-02-14 0:32 ` Mcnamara, John
@ 2017-02-14 3:25 ` Jerin Jacob
2017-02-14 8:33 ` Olivier Matz
2017-02-14 18:42 ` [dpdk-dev] " Thomas Monjalon
3 siblings, 0 replies; 6+ messages in thread
From: Jerin Jacob @ 2017-02-14 3:25 UTC (permalink / raw)
To: Bruce Richardson; +Cc: dev
On Mon, Feb 13, 2017 at 05:38:30PM +0000, Bruce Richardson wrote:
> Document proposed changes for the rings code in the next release.
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> ---
> doc/guides/rel_notes/deprecation.rst | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
>
> diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
> index b49e0a0..e715fc7 100644
> --- a/doc/guides/rel_notes/deprecation.rst
> +++ b/doc/guides/rel_notes/deprecation.rst
> @@ -8,6 +8,25 @@ API and ABI deprecation notices are to be posted here.
> Deprecation Notices
> -------------------
>
> +* ring: Changes are planned to rte_ring APIs in release 17.05. Proposed
> + changes include:
> + - Removing build time options for the ring:
> + CONFIG_RTE_RING_SPLIT_PROD_CONS
> + CONFIG_RTE_RING_PAUSE_REP_COUNT
> + - Adding an additional parameter to enqueue functions to return the
> + amount of free space in the ring
> + - Adding an additional parameter to dequeue functions to return the
> + number of remaining elements in the ring
> + - Removing direct support for watermarks in the rings, since the
> + additional return value from the enqueue function makes it
> + unneeded
> + - Adjusting the return values of the bulk() enq/deq functions to
> + make them consistent with the burst() equivalents. [Note, parameter
> + to these functions are changing too, per points above, so compiler
> + will flag them as needing update in legacy code]
> + - Updates to some library functions e.g. rte_ring_get_memsize() to
> + allow for variably-sized ring elements.
> +
> * igb_uio: iomem mapping and sysfs files created for iomem and ioport in
> igb_uio will be removed, because we are able to detect these from what Linux
> has exposed, like the way we have done with uio-pci-generic. This change
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-dev] [PATCH] doc: add ABI change notification for ring library
2017-02-13 17:38 [dpdk-dev] [PATCH] doc: add ABI change notification for ring library Bruce Richardson
2017-02-14 0:32 ` Mcnamara, John
2017-02-14 3:25 ` Jerin Jacob
@ 2017-02-14 8:33 ` Olivier Matz
2017-02-14 11:43 ` Hemant Agrawal
2017-02-14 18:42 ` [dpdk-dev] " Thomas Monjalon
3 siblings, 1 reply; 6+ messages in thread
From: Olivier Matz @ 2017-02-14 8:33 UTC (permalink / raw)
To: Bruce Richardson; +Cc: dev
On Mon, 13 Feb 2017 17:38:30 +0000, Bruce Richardson
<bruce.richardson@intel.com> wrote:
> Document proposed changes for the rings code in the next release.
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-dev] [PATCH] doc: add ABI change notification for ring library
2017-02-14 8:33 ` Olivier Matz
@ 2017-02-14 11:43 ` Hemant Agrawal
0 siblings, 0 replies; 6+ messages in thread
From: Hemant Agrawal @ 2017-02-14 11:43 UTC (permalink / raw)
To: Olivier Matz, Bruce Richardson; +Cc: dev
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Olivier Matz
> Sent: Tuesday, February 14, 2017 2:34 AM
> To: Bruce Richardson <bruce.richardson@intel.com>
> Cc: dev@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH] doc: add ABI change notification for ring
> library
>
> On Mon, 13 Feb 2017 17:38:30 +0000, Bruce Richardson
> <bruce.richardson@intel.com> wrote:
> > Document proposed changes for the rings code in the next release.
> >
> > Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
>
> Acked-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-dev] doc: add ABI change notification for ring library
2017-02-13 17:38 [dpdk-dev] [PATCH] doc: add ABI change notification for ring library Bruce Richardson
` (2 preceding siblings ...)
2017-02-14 8:33 ` Olivier Matz
@ 2017-02-14 18:42 ` Thomas Monjalon
3 siblings, 0 replies; 6+ messages in thread
From: Thomas Monjalon @ 2017-02-14 18:42 UTC (permalink / raw)
To: Bruce Richardson; +Cc: dev
Applied
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-02-14 18:42 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-13 17:38 [dpdk-dev] [PATCH] doc: add ABI change notification for ring library Bruce Richardson
2017-02-14 0:32 ` Mcnamara, John
2017-02-14 3:25 ` Jerin Jacob
2017-02-14 8:33 ` Olivier Matz
2017-02-14 11:43 ` Hemant Agrawal
2017-02-14 18:42 ` [dpdk-dev] " Thomas Monjalon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).