Skip to contentSkip to conversation

doc: announce API and ABI change for ethdev

PATCH Superseded Bernard Iremonger 3 participants 8 messages Jan 5, 2017 – Feb 14, 2017

lore
Share & tools
lore
#0 lore raw

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

In 17.05 nine rte_eth_dev_* functions will be removed from librte_ether, renamed and moved to the ixgbe PMD.

---
 doc/guides/rel_notes/deprecation.rst | 61 ++++++++++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)
doc/guides/rel_notes/deprecation.rst +61 -0
index 1438c77..f3d79d8 100644
@@ -79,3 +79,64 @@ Deprecation Notices
   PMDs that implement the latter.
   Target release for removal of the legacy API will be defined once most
   PMDs have switched to rte_flow.
+
+* ethdev: for 17.05 it is planned to deprecate the following nine rte_eth_dev_* functions
+  and move them into the ixgbe PMD:
+
+  ``rte_eth_dev_bypass_init``
+
+  ``rte_eth_dev_bypass_state_set``
+
+  ``rte_eth_dev_bypass_state_show``
+
+  ``rte_eth_dev_bypass_event_store``
+
+  ``rte_eth_dev_bypass_event_show``
+
+  ``rte_eth_dev_wd_timeout_store``
+
+  ``rte_eth_dev_bypass_wd_timeout_show``
+
+  ``rte_eth_dev_bypass_ver_show``
+
+  ``rte_eth_dev_bypass_wd_reset``
+
+  The following fields will be removed from ``struct eth_dev_ops``:
+
+  ``bypass_init_t``
+
+  ``bypass_state_set_t``
+
+  ``bypass_state_show_t``
+
+  ``bypass_event_set_t``
+
+  ``bypass_event_show_t``
+
+  ``bypass_wd_timeout_set_t``
+
+  ``bypass_wd_timeout_show_t``
+
+  ``bypass_ver_show_t``
+
+  ``bypass_wd_reset_t``
+
+  The functions will be renamed to the following, and moved to the ``ixgbe`` PMD:
+
+  ``rte_pmd_ixgbe_bypass_init``
+
+  ``rte_pmd_ixgbe_bypass_state_set``
+
+  ``rte_pmd_ixgbe_bypass_state_show``
+
+  ``rte_pmd_ixgbe_bypass_event_set``
+
+  ``rte_pmd_ixgbe_bypass_event_show``
+
+  ``rte_pmd_ixgbe_bypass_wd_timeout_set``
+
+  ``rte_pmd_ixgbe_bypass_wd_timeout_show``
+
+  ``rte_pmd_ixgbe_bypass_ver_show``
+
+  ``rte_pmd_ixgbe_bypass_wd_reset``
Signature · 1 line
2.10.1
#1 lore raw

2017-01-05 10:44, Bernard Iremonger:

Quoted 2 lines

In 17.05 nine rte_eth_dev_* functions will be removed from librte_ether, renamed and moved to the ixgbe PMD.

I agree it is a good move to clean up ethdev API.

Quoted 53 lines
doc/guides/rel_notes/deprecation.rst +50 -0
+* ethdev: for 17.05 it is planned to deprecate the following nine rte_eth_dev_* functions
+  and move them into the ixgbe PMD:
+
+  ``rte_eth_dev_bypass_init``
+
+  ``rte_eth_dev_bypass_state_set``
+
+  ``rte_eth_dev_bypass_state_show``
+
+  ``rte_eth_dev_bypass_event_store``
+
+  ``rte_eth_dev_bypass_event_show``
+
+  ``rte_eth_dev_wd_timeout_store``
+
+  ``rte_eth_dev_bypass_wd_timeout_show``
+
+  ``rte_eth_dev_bypass_ver_show``
+
+  ``rte_eth_dev_bypass_wd_reset``
+
+  The following fields will be removed from ``struct eth_dev_ops``:
+
+  ``bypass_init_t``
+
+  ``bypass_state_set_t``
+
+  ``bypass_state_show_t``
+
+  ``bypass_event_set_t``
+
+  ``bypass_event_show_t``
+
+  ``bypass_wd_timeout_set_t``
+
+  ``bypass_wd_timeout_show_t``
+
+  ``bypass_ver_show_t``
+
+  ``bypass_wd_reset_t``
+
+  The functions will be renamed to the following, and moved to the ``ixgbe`` PMD:
+
+  ``rte_pmd_ixgbe_bypass_init``
+
+  ``rte_pmd_ixgbe_bypass_state_set``
+
+  ``rte_pmd_ixgbe_bypass_state_show``
+
+  ``rte_pmd_ixgbe_bypass_event_set``

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

Quoted 10 lines
doc/guides/rel_notes/deprecation.rst +10 -0
+
+  ``rte_pmd_ixgbe_bypass_event_show``
+
+  ``rte_pmd_ixgbe_bypass_wd_timeout_set``
+
+  ``rte_pmd_ixgbe_bypass_wd_timeout_show``
+
+  ``rte_pmd_ixgbe_bypass_ver_show``
+
+  ``rte_pmd_ixgbe_bypass_wd_reset``

Please could you make it shorter by using commas for listing?

#2 lore raw

Hi Thomas,

Quoted 73 lines

-----Original Message-----
From: Thomas Monjalon [mailto:[email protected]]
Sent: Thursday, January 5, 2017 1:31 PM
To: Iremonger, Bernard <[email protected]>
Cc: [email protected]; Mcnamara, John <[email protected]>
Subject: Re: [dpdk-dev] [PATCH v1] doc: announce API and ABI change for ethdev

2017-01-05 10:44, Bernard Iremonger:

Quoted 2 lines

In 17.05 nine rte_eth_dev_* functions will be removed from librte_ether, renamed and moved to the ixgbe PMD.

I agree it is a good move to clean up ethdev API.

Quoted 35 lines
doc/guides/rel_notes/deprecation.rst +33 -0
+* ethdev: for 17.05 it is planned to deprecate the following nine
+rte_eth_dev_* functions
+  and move them into the ixgbe PMD:
+
+  ``rte_eth_dev_bypass_init``
+
+  ``rte_eth_dev_bypass_state_set``
+
+  ``rte_eth_dev_bypass_state_show``
+
+  ``rte_eth_dev_bypass_event_store``
+
+  ``rte_eth_dev_bypass_event_show``
+
+  ``rte_eth_dev_wd_timeout_store``
+
+  ``rte_eth_dev_bypass_wd_timeout_show``
+
+  ``rte_eth_dev_bypass_ver_show``
+
+  ``rte_eth_dev_bypass_wd_reset``
+
+  The following fields will be removed from ``struct eth_dev_ops``:
+
+  ``bypass_init_t``
+
+  ``bypass_state_set_t``
+
+  ``bypass_state_show_t``
+
+  ``bypass_event_set_t``
+
+  ``bypass_event_show_t``

doc/guides/rel_notes/deprecation.rst Deprecation Notices

Quoted 10 lines
doc/guides/rel_notes/deprecation.rst +10 -0
+
+  ``bypass_wd_timeout_set_t``
+
+  ``bypass_wd_timeout_show_t``
+
+  ``bypass_ver_show_t``
+
+  ``bypass_wd_reset_t``
+
+  The functions will be renamed to the following, and moved to the

``ixgbe`` PMD:

Quoted 13 lines
doc/guides/rel_notes/deprecation.rst +13 -0
+
+  ``rte_pmd_ixgbe_bypass_init``
+
+  ``rte_pmd_ixgbe_bypass_state_set``
+
+  ``rte_pmd_ixgbe_bypass_state_show``
+
+  ``rte_pmd_ixgbe_bypass_event_set``
+
+  ``rte_pmd_ixgbe_bypass_event_show``
+
+  ``rte_pmd_ixgbe_bypass_wd_timeout_set``
+
Quoted 8 lines

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

Quoted 6 lines
doc/guides/rel_notes/deprecation.rst +5 -0
+  ``rte_pmd_ixgbe_bypass_wd_timeout_show``
+
+  ``rte_pmd_ixgbe_bypass_ver_show``
+
+  ``rte_pmd_ixgbe_bypass_wd_reset``

Please could you make it shorter by using commas for listing?

I will use commas for the listing in v2.

Regards,

Bernard.

#3 lore raw

PATCH v2 1/1 doc: announce API and ABI change for ethdev

In reply to Bernard Iremonger

In 17.05 nine rte_eth_dev_* functions will be removed from librte_ether, renamed and moved to the ixgbe PMD.

---
v2:
Used comma's to shorten lists.

 doc/guides/rel_notes/deprecation.rst | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
doc/guides/rel_notes/deprecation.rst +19 -0
index 1438c77..985cda8 100644
@@ -79,3 +79,22 @@ Deprecation Notices
   PMDs that implement the latter.
   Target release for removal of the legacy API will be defined once most
   PMDs have switched to rte_flow.
+
+* ethdev: for 17.05 it is planned to deprecate the following nine rte_eth_dev_* functions
+  and move them into the ixgbe PMD:
+
+  ``rte_eth_dev_bypass_init``, ``rte_eth_dev_bypass_state_set``, ``rte_eth_dev_bypass_state_show``,
+  ``rte_eth_dev_bypass_event_store``, ``rte_eth_dev_bypass_event_show``, ``rte_eth_dev_wd_timeout_store``,
+  ``rte_eth_dev_bypass_wd_timeout_show``, ``rte_eth_dev_bypass_ver_show``, ``rte_eth_dev_bypass_wd_reset``.
+
+  The following fields will be removed from ``struct eth_dev_ops``:
+
+  ``bypass_init_t``, ``bypass_state_set_t``, ``bypass_state_show_t``, ``bypass_event_set_t``,
+  ``bypass_event_show_t``, ``bypass_wd_timeout_set_t``, ``bypass_wd_timeout_show_t``,
+  ``bypass_ver_show_t``, ``bypass_wd_reset_t``.
+
+  The functions will be renamed to the following, and moved to the ``ixgbe`` PMD:
+
+  ``rte_pmd_ixgbe_bypass_init``, ``rte_pmd_ixgbe_bypass_state_set``, ``rte_pmd_ixgbe_bypass_state_show``,
+  ``rte_pmd_ixgbe_bypass_event_set``, ``rte_pmd_ixgbe_bypass_event_show``, ``rte_pmd_ixgbe_bypass_wd_timeout_set``,
+  ``rte_pmd_ixgbe_bypass_wd_timeout_show``, ``rte_pmd_ixgbe_bypass_ver_show``, ``rte_pmd_ixgbe_bypass_wd_reset``.
Signature · 1 line
2.10.1
Acked-by on v2 1/1
#4 lore raw

2017-01-05 15:25, Bernard Iremonger:

Quoted 4 lines

In 17.05 nine rte_eth_dev_* functions will be removed from librte_ether, renamed and moved to the ixgbe PMD.

"ixgbe bypass" should be in the title and the description. I'll reword to:

doc: announce move of ethdev bypass function to ixgbe API

In 17.05, nine rte_eth_dev_* functions for bypass control, and implemented only in ixgbe, will be removed from ethdev, renamed and moved to the ixgbe PMD-specific API.

Acked-by
#5 lore raw
Quoted 9 lines · Thomas Monjalon

2017-01-05 15:25, Bernard Iremonger:

Quoted 4 lines

In 17.05 nine rte_eth_dev_* functions will be removed from librte_ether, renamed and moved to the ixgbe PMD.

"ixgbe bypass" should be in the title and the description. I'll reword to:

Quoted 7 lines

doc: announce move of ethdev bypass function to ixgbe API

In 17.05, nine rte_eth_dev_* functions for bypass control, and implemented only in ixgbe, will be removed from ethdev, renamed and moved to the ixgbe PMD-specific API.

author Acked-by
#6 lore raw
Quoted 23 lines

-----Original Message-----
From: Jerin Jacob [mailto:[email protected]]
Sent: Tuesday, February 14, 2017 3:17 AM
To: Thomas Monjalon <[email protected]>
Cc: Iremonger, Bernard <[email protected]>; [email protected]; Mcnamara, John <[email protected]>
Subject: Re: [dpdk-dev] [PATCH v2] doc: announce API and ABI change for ethdev

Quoted 11 lines · Thomas Monjalon

2017-01-05 15:25, Bernard Iremonger:

Quoted 4 lines

In 17.05 nine rte_eth_dev_* functions will be removed from librte_ether, renamed and moved to the ixgbe PMD.

"ixgbe bypass" should be in the title and the description. I'll reword to:

doc: announce move of ethdev bypass function to ixgbe API

Quoted 7 lines
Quoted 5 lines

In 17.05, nine rte_eth_dev_* functions for bypass control, and implemented only in ixgbe, will be removed from ethdev, renamed and moved to the ixgbe PMD-specific API.