Skip to contentSkip to conversation

doc: announce API and ABI change for librte_ether

PATCH Applied Bernard Iremonger 5 participants 8 messages Oct 18, 2016 – Nov 13, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: announce API and ABI change for librte_ether

In 17.02 five rte_eth_dev_set_vf_*** functions will be removed from librte_ether, renamed and moved to the ixgbe PMD.

---
 doc/guides/rel_notes/deprecation.rst | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
doc/guides/rel_notes/deprecation.rst +36 -0
index 1d274d8..20e11ac 100644
@@ -53,3 +53,39 @@ Deprecation Notices
 * librte_ether: an API change is planned for 17.02 for the function
   ``_rte_eth_dev_callback_process``. In 17.02 the function will return an ``int``
   instead of ``void`` and a fourth parameter ``void *ret_param`` will be added.
+
+* librte_ether: for 17.02 it is planned to deprecate the following five functions:
+
+  ``rte_eth_dev_set_vf_rxmode``
+
+  ``rte_eth_dev_set_vf_rx``
+
+  ``rte_eth_dev_set_vf_tx``
+
+  ``rte_eth_dev_set_vf_vlan_filter``
+
+  ``rte_eth_set_vf_rate_limit``
+
+  The following fields will be removed from ``struct eth_dev_ops``:
+
+  ``eth_set_vf_rx_mode_t``
+
+  ``eth_set_vf_rx_t``
+
+  ``eth_set_vf_tx_t``
+
+  ``eth_set_vf_vlan_filter_t``
+
+  ``eth_set_vf_rate_limit_t``
+
+  The functions will be renamed to the following, and moved to the ``ixgbe`` PMD.
+
+  ``rte_pmd_ixgbe_set_vf_rxmode``
+
+  ``rte_pmd_ixgbe_set_vf_rx``
+
+  ``rte_pmd_ixgbe_set_vf_tx``
+
+  ``rte_pmd_ixgbe_set_vf_vlan_filter``
+
+  ``rte_pmd_ixgbe_set_vf_rate_limit``
Signature · 1 line
2.10.1
#1 lore raw

PATCH 1/1 doc: announce API change for ethdev function

The _rte_eth_dev_call_process function will change to return "int" and a fourth parameter "void* ret_param" will be added. This change targets release 17.02.

---
 doc/guides/rel_notes/deprecation.rst | 4 ++++
 1 file changed, 4 insertions(+)
doc/guides/rel_notes/deprecation.rst +4 -0
index d5c1490..1d274d8 100644
@@ -49,3 +49,7 @@ Deprecation Notices
 * mempool: The functions for single/multi producer/consumer are deprecated
   and will be removed in 17.02.
   It is replaced by ``rte_mempool_generic_get/put`` functions.
+
+* librte_ether: an API change is planned for 17.02 for the function
+  ``_rte_eth_dev_callback_process``. In 17.02 the function will return an ``int``
+  instead of ``void`` and a fourth parameter ``void *ret_param`` will be added.
Signature · 1 line
2.10.1
Acked-by on v1 1/1
#2 lore raw

Re: [PATCH v1] doc: announce API change for ethdev function

Quoted 9 lines

-----Original Message-----
From: Iremonger, Bernard
Sent: Tuesday, October 18, 2016 2:38 PM
To: [email protected]; Mcnamara, John <[email protected]>
Cc: Iremonger, Bernard <[email protected]>
Subject: [PATCH v1] doc: announce API change for ethdev function

Quoted 5 lines

The _rte_eth_dev_call_process function will change to return "int" and a fourth parameter "void* ret_param" will be added. This change targets release 17.02.

Acked-by Applied
#3 lore raw

Re: [PATCH v1] doc: announce API change for ethdev function

Quoted 7 lines
Quoted 5 lines

The _rte_eth_dev_call_process function will change to return "int" and a fourth parameter "void* ret_param" will be added. This change targets release 17.02.

The real API change is in rte_eth_dev_cb_fn but we understand the idea.

Applied

Acked-by on v1 1/1
#4 lore raw
In reply to Bernard Iremonger
Quoted 9 lines

-----Original Message-----
From: Iremonger, Bernard
Sent: Tuesday, October 18, 2016 2:38 PM
To: [email protected]; Mcnamara, John <[email protected]>
Cc: Iremonger, Bernard <[email protected]>
Subject: [PATCH v1] doc: announce API and ABI change for librte_ether

Quoted 4 lines

In 17.02 five rte_eth_dev_set_vf_*** functions will be removed from librte_ether, renamed and moved to the ixgbe PMD.

Acked-by
#5 lore raw
Quoted 9 lines · John
Quoted 9 lines

-----Original Message-----
From: Iremonger, Bernard
Sent: Tuesday, October 18, 2016 2:38 PM
To: [email protected]; Mcnamara, John <[email protected]>
Cc: Iremonger, Bernard <[email protected]>
Subject: [PATCH v1] doc: announce API and ABI change for librte_ether

Quoted 6 lines
Quoted 4 lines

In 17.02 five rte_eth_dev_set_vf_*** functions will be removed from librte_ether, renamed and moved to the ixgbe PMD.

Acked-by on v1 1/1
#7 lore raw
In reply to Bernard Iremonger
Quoted 69 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Bernard Iremonger
Sent: Tuesday, October 18, 2016 2:38 PM
To: [email protected]; Mcnamara, John <[email protected]>
Cc: Iremonger, Bernard <[email protected]>
Subject: [dpdk-dev] [PATCH v1] doc: announce API and ABI change for librte_ether

In 17.02 five rte_eth_dev_set_vf_*** functions will be removed from librte_ether, renamed and moved to the ixgbe PMD.

---
 doc/guides/rel_notes/deprecation.rst | 36
++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
doc/guides/rel_notes/deprecation.rst +0 -0
index 1d274d8..20e11ac 100644
@@ -53,3 +53,39 @@ Deprecation Notices
 * librte_ether: an API change is planned for 17.02 for the function
   ``_rte_eth_dev_callback_process``. In 17.02 the function will return an

``int``
instead of ``void`` and a fourth parameter ``void *ret_param`` will be
added.

doc/guides/rel_notes/deprecation.rst +2 -0
+
+* librte_ether: for 17.02 it is planned to deprecate the following five

functions:

doc/guides/rel_notes/deprecation.rst +24 -0
+
+  ``rte_eth_dev_set_vf_rxmode``
+
+  ``rte_eth_dev_set_vf_rx``
+
+  ``rte_eth_dev_set_vf_tx``
+
+  ``rte_eth_dev_set_vf_vlan_filter``
+
+  ``rte_eth_set_vf_rate_limit``
+
+  The following fields will be removed from ``struct eth_dev_ops``:
+
+  ``eth_set_vf_rx_mode_t``
+
+  ``eth_set_vf_rx_t``
+
+  ``eth_set_vf_tx_t``
+
+  ``eth_set_vf_vlan_filter_t``
+
+  ``eth_set_vf_rate_limit_t``
+
+  The functions will be renamed to the following, and moved to the ``ixgbe``

PMD.

doc/guides/rel_notes/deprecation.rst +10 -1
+
+  ``rte_pmd_ixgbe_set_vf_rxmode``
+
+  ``rte_pmd_ixgbe_set_vf_rx``
+
+  ``rte_pmd_ixgbe_set_vf_tx``
+
+  ``rte_pmd_ixgbe_set_vf_vlan_filter``
+
+  ``rte_pmd_ixgbe_set_vf_rate_limit``
--
Quoted 1 line

2.10.1