doc: update deprecation of ethdev offload API
PATCH 1/1 doc: update deprecation of ethdev offload API
Update deprecation notice for the new ethdev offloads API. Deprecation of the old offloads API is set to 18.05.
--- doc/guides/rel_notes/deprecation.rst | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-)
doc/guides/rel_notes/deprecation.rst +8 -6
@@ -41,12 +41,14 @@ Deprecation Notices PKT_RX_QINQ_STRIPPED, that are better described. The old flags and their behavior will be kept until 17.08 and will be removed in 17.11. -* ethdev: Tx offloads will no longer be enabled by default in 17.11. - Instead, the ``rte_eth_txmode`` structure will be extended with - bit field to enable each Tx offload. - Besides of making the Rx/Tx configuration API more consistent for the - application, PMDs will be able to provide a better out of the box performance. - As part of the work, ``ETH_TXQ_FLAGS_NO*`` will be superseded as well. +* ethdev: a new Tx and Rx offload API was introduced on 17.11. + In the new API, offloads are divided into per-port and per-queue offloads. + Offloads are disabled by default and enabled per application request. + The old offloads API is target to be deprecated on 18.05. This includes: + + - removal of ``ETH_TXQ_FLAGS_NO*`` flags. + - removal of ``txq_flags`` field from ``rte_eth_txconf`` struct. + - removal of the offloads bit-field from ``rte_eth_rxmode`` struct. * ethdev: the legacy filter API, including ``rte_eth_dev_filter_supported()``, ``rte_eth_dev_filter_ctrl()`` as well
Signature · 1 line
2.12.0
Hi,
Any comments on this patch? Is there any objection to deprecation in 18.05?
Tuesday, October 17, 2017 5:24 PM, Shahaf Shuler:
Quoted 37 lines
Update deprecation notice for the new ethdev offloads API. Deprecation of the old offloads API is set to 18.05.
Signed-off-by Shahaf Shuler <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-)doc/guides/rel_notes/deprecation.rst +0
-5@@ -41,12 +41,14 @@ Deprecation Notices PKT_RX_QINQ_STRIPPED, that are better described. The old flags and their behavior will be kept until 17.08 and will be removed in 17.11. -* ethdev: Tx offloads will no longer be enabled by default in 17.11. - Instead, the ``rte_eth_txmode`` structure will be extended with - bit field to enable each Tx offload. - Besides of making the Rx/Tx configuration API more consistent for the - application, PMDs will be able to provide a better out of the boxperformance.
doc/guides/rel_notes/deprecation.rst +8
-2- As part of the work, ``ETH_TXQ_FLAGS_NO*`` will be superseded as well. +* ethdev: a new Tx and Rx offload API was introduced on 17.11. + In the new API, offloads are divided into per-port and per-queue offloads. + Offloads are disabled by default and enabled per application request. + The old offloads API is target to be deprecated on 18.05. This includes: + + - removal of ``ETH_TXQ_FLAGS_NO*`` flags. + - removal of ``txq_flags`` field from ``rte_eth_txconf`` struct. + - removal of the offloads bit-field from ``rte_eth_rxmode`` struct. * ethdev: the legacy filter API, including ``rte_eth_dev_filter_supported()``, ``rte_eth_dev_filter_ctrl()`` as well --2.12.0
Quoted 23 lines · Shahaf Shuler
Update deprecation notice for the new ethdev offloads API. Deprecation of the old offloads API is set to 18.05.
Signed-off-by Shahaf Shuler <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-)doc/guides/rel_notes/deprecation.rst +1
-6@@ -41,12 +41,14 @@ Deprecation Notices PKT_RX_QINQ_STRIPPED, that are better described. The old flags and their behavior will be kept until 17.08 and will be removed in 17.11. -* ethdev: Tx offloads will no longer be enabled by default in 17.11. - Instead, the ``rte_eth_txmode`` structure will be extended with - bit field to enable each Tx offload. - Besides of making the Rx/Tx configuration API more consistent for the - application, PMDs will be able to provide a better out of the box performance. - As part of the work, ``ETH_TXQ_FLAGS_NO*`` will be superseded as well. +* ethdev: a new Tx and Rx offload API was introduced on 17.11.
doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 54
Quoted 10 lines
doc/guides/rel_notes/deprecation.rst +7
-0+ In the new API, offloads are divided into per-port and per-queue offloads. + Offloads are disabled by default and enabled per application request. + The old offloads API is target to be deprecated on 18.05. This includes: + + - removal of ``ETH_TXQ_FLAGS_NO*`` flags. + - removal of ``txq_flags`` field from ``rte_eth_txconf`` struct. + - removal of the offloads bit-field from ``rte_eth_rxmode`` struct. * ethdev: the legacy filter API, including ``rte_eth_dev_filter_supported()``, ``rte_eth_dev_filter_ctrl()`` as well
Quoted 33 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Shahaf Shuler
Sent: Tuesday, October 17, 2017 3:24 PM
To: [email protected]; [email protected]
Cc: [email protected]
Subject: [dpdk-dev] [PATCH] doc: update deprecation of ethdev offload APIUpdate deprecation notice for the new ethdev offloads API. Deprecation of the old offloads API is set to 18.05.
Signed-off-by Shahaf Shuler <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-)doc/guides/rel_notes/deprecation.rst +2
-6@@ -41,12 +41,14 @@ Deprecation Notices PKT_RX_QINQ_STRIPPED, that are better described. The old flags and their behavior will be kept until 17.08 and will be removed in 17.11. -* ethdev: Tx offloads will no longer be enabled by default in 17.11. - Instead, the ``rte_eth_txmode`` structure will be extended with - bit field to enable each Tx offload. - Besides of making the Rx/Tx configuration API more consistent for the - application, PMDs will be able to provide a better out of the box performance. - As part of the work, ``ETH_TXQ_FLAGS_NO*`` will be superseded as well. +* ethdev: a new Tx and Rx offload API was introduced on 17.11. + In the new API, offloads are divided into per-port and per-queue offloads.
doc/guides/rel_notes/deprecation.rst Deprecation Notices
Quoted 10 lines
doc/guides/rel_notes/deprecation.rst +6
-1+ Offloads are disabled by default and enabled per application request. + The old offloads API is target to be deprecated on 18.05. This includes: + + - removal of ``ETH_TXQ_FLAGS_NO*`` flags. + - removal of ``txq_flags`` field from ``rte_eth_txconf`` struct. + - removal of the offloads bit-field from ``rte_eth_rxmode`` struct. * ethdev: the legacy filter API, including ``rte_eth_dev_filter_supported()``, ``rte_eth_dev_filter_ctrl()`` as well --
Quoted 1 line
2.12.0
Quoted 6 lines
Quoted 4 lines
Update deprecation notice for the new ethdev offloads API. Deprecation of the old offloads API is set to 18.05.
Signed-off-by Shahaf Shuler <[email protected]>
Applied, thanks
PATCH 1/1 doc: reduce initial offload API scope to drivers
In reply to Shahaf Shuler18.05 tagets ethdev-PMD offload API, which means switching all PMDs to new offloading API
Next step targets ethdev-application offload API which means forcing applications to switch to new API
--- doc/guides/rel_notes/deprecation.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
doc/guides/rel_notes/deprecation.rst +6 -1
@@ -97,8 +97,13 @@ Deprecation Notices * ethdev: a new Tx and Rx offload API was introduced on 17.11. In the new API, offloads are divided into per-port and per-queue offloads. Offloads are disabled by default and enabled per application request. - The old offloads API is target to be deprecated on 18.05. This includes: + The old offloads API between ethdev and drivers is target to be deprecated on 18.05. + This includes: + - removal of the conversion in ethdev from new offloading API to old API. + + In later releases the old offloading API between ethdev and applications will be + deprecated too, which will include: - removal of ``ETH_TXQ_FLAGS_NO*`` flags. - removal of ``txq_flags`` field from ``rte_eth_txconf`` struct. - removal of the offloads bit-field from ``rte_eth_rxmode`` struct.
Signature · 1 line
2.13.6
Re: [PATCH] doc: reduce initial offload API scope to drivers
Hi Ferruh,
Friday, March 16, 2018 5:32 PM, Ferruh Yigit:
Quoted 28 lines
Subject: [PATCH] doc: reduce initial offload API scope to drivers
18.05 tagets ethdev-PMD offload API, which means switching all PMDs to new offloading API
Next step targets ethdev-application offload API which means forcing applications to switch to new API
Fixes 3004d3454192 ("doc: update deprecation of ethdev offload API")Signed-off-by Ferruh Yigit <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)doc/guides/rel_notes/deprecation.rst +1
-1@@ -97,8 +97,13 @@ Deprecation Notices * ethdev: a new Tx and Rx offload API was introduced on 17.11. In the new API, offloads are divided into per-port and per-queue offloads. Offloads are disabled by default and enabled per application request. - The old offloads API is target to be deprecated on 18.05. This includes: + The old offloads API between ethdev and drivers is target to bedeprecated on 18.05.
doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 103
Quoted 3 lines
doc/guides/rel_notes/deprecation.rst +2
-0+ This includes: + - removal of the conversion in ethdev from new offloading API to old API.
We cannot remove this part before all of the applications has moved to the new API.
The conversion function is to help PMDs to have single control path with no branch for both old and new application.
doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 109
Quoted 6 lines
doc/guides/rel_notes/deprecation.rst +3
-0+ + In later releases the old offloading API between ethdev and + applications will be deprecated too, which will include: - removal of ``ETH_TXQ_FLAGS_NO*`` flags. - removal of ``txq_flags`` field from ``rte_eth_txconf`` struct. - removal of the offloads bit-field from ``rte_eth_rxmode`` struct.
I am OK with postponing the deprecation to a later release and have the PMDs conversion to the new API in the current/next one.
Quoted 2 lines
--
2.13.6
Re: [PATCH] doc: reduce initial offload API scope to drivers
Quoted 33 lines · Shahaf Shuler
Hi Ferruh,
Friday, March 16, 2018 5:32 PM, Ferruh Yigit:
Quoted 30 lines
Subject: [PATCH] doc: reduce initial offload API scope to drivers
18.05 tagets ethdev-PMD offload API, which means switching all PMDs to new offloading API
Next step targets ethdev-application offload API which means forcing applications to switch to new API
Fixes 3004d3454192 ("doc: update deprecation of ethdev offload API")Signed-off-by Ferruh Yigit <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)doc/guides/rel_notes/deprecation.rst +1
-1@@ -97,8 +97,13 @@ Deprecation Notices * ethdev: a new Tx and Rx offload API was introduced on 17.11. In the new API, offloads are divided into per-port and per-queue offloads. Offloads are disabled by default and enabled per application request. - The old offloads API is target to be deprecated on 18.05. This includes: + The old offloads API between ethdev and drivers is target to bedeprecated on 18.05.
+ This includes:
Quoted 4 lines
Quoted 1 line
+ - removal of the conversion in ethdev from new offloading API to old API.
We cannot remove this part before all of the applications has moved to the new API.
The conversion function is to help PMDs to have single control path with no branch for both old and new application.
There are two conversion done in ethdev:
1) From old API to new API
2) From new API to old API
so that PMDs can have access to both old and new API independent from what application provided.
Above text suggesting to remove only 2).
If we switch all PMDs to new API we don't need conversion 2) anymore.
If application using new API we are all good, for old application that using old API ethdev will convert to new API so that PMDs can use them.
Quoted 13 lines
doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 109
Quoted 7 lines
doc/guides/rel_notes/deprecation.rst +3
-0+ + In later releases the old offloading API between ethdev and + applications will be deprecated too, which will include: - removal of ``ETH_TXQ_FLAGS_NO*`` flags. - removal of ``txq_flags`` field from ``rte_eth_txconf`` struct. - removal of the offloads bit-field from ``rte_eth_rxmode`` struct.I am OK with postponing the deprecation to a later release and have the PMDs conversion to the new API in the current/next one.
Quoted 2 lines
--
2.13.6
PATCH v2 1/1 doc: reduce initial offload API scope to drivers
In reply to Ferruh YigitDo ethdev new offloading API switch in two steps.
In v18.05 target is implementing the new ethdev-PMD offload interface, which means converting all PMDs to new offloading API.
Next target is removing the old ethdev offload API.
It will effect applications and will force them to implement new offloading API.
---
v2:
* Update commit log and deprecation notice for clarification
--- doc/guides/rel_notes/deprecation.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
doc/guides/rel_notes/deprecation.rst +5 -1
@@ -72,8 +72,12 @@ Deprecation Notices * ethdev: a new Tx and Rx offload API was introduced on 17.11. In the new API, offloads are divided into per-port and per-queue offloads. Offloads are disabled by default and enabled per application request. - The old offloads API is target to be deprecated on 18.05. This includes: + The old ethdev - drivers offload interface will be deprecated on 18.05. + This includes: + - removal of the conversion in ethdev from new offloading API to old API for drivers. + + In later releases the old offloading API will be deprecated, which will include: - removal of ``ETH_TXQ_FLAGS_NO*`` flags. - removal of ``txq_flags`` field from ``rte_eth_txconf`` struct. - removal of the offloads bit-field from ``rte_eth_rxmode`` struct.
Signature · 1 line
2.14.3
Re: [PATCH v2] doc: reduce initial offload API scope to drivers
Saturday, April 14, 2018 12:21 AM, Ferruh Yigit:
Quoted 39 lines
Subject: [PATCH v2] doc: reduce initial offload API scope to drivers
Do ethdev new offloading API switch in two steps.
In v18.05 target is implementing the new ethdev-PMD offload interface, which means converting all PMDs to new offloading API.
Next target is removing the old ethdev offload API.
It will effect applications and will force them to implement new offloading API.Fixes 3004d3454192 ("doc: update deprecation of ethdev offload API")Signed-off-by Ferruh Yigit <[email protected]>---
v2:
* Update commit log and deprecation notice for clarification--- doc/guides/rel_notes/deprecation.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)doc/guides/rel_notes/deprecation.rst +3
-1@@ -72,8 +72,12 @@ Deprecation Notices * ethdev: a new Tx and Rx offload API was introduced on 17.11. In the new API, offloads are divided into per-port and per-queue offloads. Offloads are disabled by default and enabled per application request. - The old offloads API is target to be deprecated on 18.05. This includes: + The old ethdev - drivers offload interface will be deprecated on 18.05. + This includes: + - removal of the conversion in ethdev from new offloading API to old APIfor drivers.
doc/guides/rel_notes/deprecation.rst +2
-0+ + In later releases the old offloading API will be deprecated, which will
Quoted 6 lines
include:
- removal of ``ETH_TXQ_FLAGS_NO*`` flags.
- removal of ``txq_flags`` field from ``rte_eth_txconf`` struct.
- removal of the offloads bit-field from ``rte_eth_rxmode`` struct.
--
2.14.3
Thomas Monjalon
AppliedRe: [PATCH v2] doc: reduce initial offload API scope to drivers
15/04/2018 07:28, Shahaf Shuler:
Quoted 15 lines
Saturday, April 14, 2018 12:21 AM, Ferruh Yigit:
Quoted 14 lines
Subject: [PATCH v2] doc: reduce initial offload API scope to drivers
Do ethdev new offloading API switch in two steps.
In v18.05 target is implementing the new ethdev-PMD offload interface, which means converting all PMDs to new offloading API.
Next target is removing the old ethdev offload API.
It will effect applications and will force them to implement new offloading API.Fixes 3004d3454192 ("doc: update deprecation of ethdev offload API")
Quoted 7 lines
Quoted 5 lines
Signed-off-by Ferruh Yigit <[email protected]>---
v2:
* Update commit log and deprecation notice for clarification
---Acked-by Shahaf Shuler <[email protected]>
Applied, thanks