Skip to contentSkip to conversation

doc: add distributor library API change notice

PATCH Applied David Hunt 5 participants 7 messages Feb 6, 2017 – Feb 13, 2017

lore
Share & tools
lore

David Hunt

author
#0 lore raw

PATCH 1/1 doc: add distributor library API change notice

Given that the packet distributor library improvements (1) will not be in 17.02, I plan on doing some consolidation of the API for burst operation for 17.05, merging the two api's into one, with options for single or burst operation.

(1) http://dpdk.org/dev/patchwork/patch/19911/

---
 doc/guides/rel_notes/deprecation.rst | 6 ++++++
 1 file changed, 6 insertions(+)
doc/guides/rel_notes/deprecation.rst +6 -0
index 755dc65..925e156 100644
@@ -55,6 +55,12 @@ Deprecation Notices
   and will be removed in 17.02.
   It is replaced by ``rte_mempool_generic_get/put`` functions.
 
+* lib: distributor library API will be changed to incorporate a burst-
+  oriented API. This will include a change to ``rte_distributor_create``
+  to specify which type of instance to create (single or burst), and
+  additional calls for ``rte_poll_pkt_burst`` and ``rte_return_pkt_burst``,
+  among others.
+
 * ethdev: the legacy filter API, including
   ``rte_eth_dev_filter_supported()``, ``rte_eth_dev_filter_ctrl()`` as well
   as filter types MACVLAN, ETHERTYPE, FLEXIBLE, SYN, NTUPLE, TUNNEL, FDIR,
Signature · 1 line
2.7.4
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · David Hunt

Given that the packet distributor library improvements (1) will not be in 17.02, I plan on doing some consolidation of the API for burst operation for 17.05, merging the two api's into one, with options for single or burst operation.

+1 for merging APIs

Acked-by on v1 1/1
#2 lore raw
In reply to David Hunt
Quoted 7 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of David Hunt
Sent: Monday, February 6, 2017 8:08 AM
To: [email protected]
Cc: Richardson, Bruce <[email protected]>; Hunt, David <[email protected]>
Subject: [dpdk-dev] [PATCH v1] doc: add distributor library API change notice

Quoted 8 lines

Given that the packet distributor library improvements (1) will not be in 17.02, I plan on doing some consolidation of the API for burst operation for 17.05, merging the two api's into one, with options for single or burst operation.

(1) http://dpdk.org/dev/patchwork/patch/19911/

Acked-by on v1 1/1
#3 lore raw
In reply to David Hunt
Quoted 17 lines · David Hunt

Given that the packet distributor library improvements (1) will not be in 17.02, I plan on doing some consolidation of the API for burst operation for 17.05, merging the two api's into one, with options for single or burst operation.

(1) http://dpdk.org/dev/patchwork/patch/19911/

---
 doc/guides/rel_notes/deprecation.rst | 6 ++++++
 1 file changed, 6 insertions(+)
doc/guides/rel_notes/deprecation.rst +0 -0
index 755dc65..925e156 100644

doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 62

Quoted 8 lines
doc/guides/rel_notes/deprecation.rst +5 -0
@@ -55,6 +55,12 @@ Deprecation Notices
   and will be removed in 17.02.
   It is replaced by ``rte_mempool_generic_get/put`` functions.
 
+* lib: distributor library API will be changed to incorporate a burst-
+  oriented API. This will include a change to ``rte_distributor_create``
+  to specify which type of instance to create (single or burst), and
+  additional calls for ``rte_poll_pkt_burst`` and ``rte_return_pkt_burst``,
+  among others.

Should new APIs (rte_poll_pkt_burst & rte_return_pkt_burst) have "rte_distributor_" name space? Apart from this:

#4 lore raw
Quoted 29 lines · Ferruh Yigit
Quoted 17 lines · David Hunt

Given that the packet distributor library improvements (1) will not be in 17.02, I plan on doing some consolidation of the API for burst operation for 17.05, merging the two api's into one, with options for single or burst operation.

(1) http://dpdk.org/dev/patchwork/patch/19911/

---
  doc/guides/rel_notes/deprecation.rst | 6 ++++++
  1 file changed, 6 insertions(+)
doc/guides/rel_notes/deprecation.rst +0 -0
index 755dc65..925e156 100644

doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 62

Quoted 8 lines
doc/guides/rel_notes/deprecation.rst +5 -0
@@ -55,6 +55,12 @@ Deprecation Notices
    and will be removed in 17.02.
    It is replaced by ``rte_mempool_generic_get/put`` functions.
 
+* lib: distributor library API will be changed to incorporate a burst-
+  oriented API. This will include a change to ``rte_distributor_create``
+  to specify which type of instance to create (single or burst), and
+  additional calls for ``rte_poll_pkt_burst`` and ``rte_return_pkt_burst``,
+  among others.

Should new APIs (rte_poll_pkt_burst & rte_return_pkt_burst) have "rte_distributor_" name space? Apart from this:

Quoted 2 lines

Ferruh,
Thanks for the third Ack.

Thomas,
Would you prefer me to re-spin the patch after inserting
"_distributor" into
the two function names, or would you be so good as to do it during the merge?

Regards,
Dave.

#5 lore raw

2017-02-09 17:02, Hunt, David:

Quoted 12 lines · Ferruh Yigit
Quoted 10 lines · David Hunt

doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 62

Quoted 5 lines
doc/guides/rel_notes/deprecation.rst +5 -0
+* lib: distributor library API will be changed to incorporate a burst-
+  oriented API. This will include a change to ``rte_distributor_create``
+  to specify which type of instance to create (single or burst), and
+  additional calls for ``rte_poll_pkt_burst`` and ``rte_return_pkt_burst``,
+  among others.

Should new APIs (rte_poll_pkt_burst & rte_return_pkt_burst) have "rte_distributor_" name space? Apart from this:

Quoted 8 lines

Ferruh,
Thanks for the third Ack.

Thomas,
Would you prefer me to re-spin the patch after inserting
"_distributor" into
the two function names, or would you be so good as to do it during the merge?

I can do it Dave :)

#6 lore raw

2017-02-09 18:49, Thomas Monjalon:

Quoted 16 lines

2017-02-09 17:02, Hunt, David:

Quoted 15 lines · Ferruh Yigit
Quoted 10 lines · David Hunt

doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 62

Quoted 5 lines
doc/guides/rel_notes/deprecation.rst +5 -0
+* lib: distributor library API will be changed to incorporate a burst-
+  oriented API. This will include a change to ``rte_distributor_create``
+  to specify which type of instance to create (single or burst), and
+  additional calls for ``rte_poll_pkt_burst`` and ``rte_return_pkt_burst``,
+  among others.

Should new APIs (rte_poll_pkt_burst & rte_return_pkt_burst) have "rte_distributor_" name space? Apart from this:

Ferruh,
Thanks for the third Ack.

Quoted 7 lines
Quoted 5 lines

Thomas,
Would you prefer me to re-spin the patch after inserting
"_distributor" into
the two function names, or would you be so good as to do it during the merge?

I can do it Dave :)

Applied