doc: deprecate legacy code path in ipsec-secgw
RFC 1/1 doc: deprecate legacy code path in ipsec-secgw
All the functionality of the legacy code path in now available in the librte_ipsec library. It is planned to deprecate the legacy code path in the 19.11 release and remove the legacy code path in the 20.02 release.
--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)
doc/guides/rel_notes/deprecation.rst +5 -0
@@ -82,3 +82,8 @@ Deprecation Notices to set new power environment if power environment was already initialized. In this case the function will return -1 unless the environment is unset first (using ``rte_power_unset_env``). Other function usage scenarios will not change. + +* ipsec-secgw: All the ipsec-secgw legacy code path functionality is now + available in the librte_ipsec library. It is planned to deprecate the legacy + code path in the ipsec-secgw application in the 19.11 release and remove it + in the 20.02 release.
Signature · 1 line
2.7.4
Quoted 16 lines
All the functionality of the legacy code path in now available in the
librte_ipseclibrary. It is planned to deprecate the legacy code path in the 19.11 release and remove the legacy code path in the 20.02 release.Signed-off-by Bernard Iremonger <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)doc/guides/rel_notes/deprecation.rst +0
-0
doc/guides/rel_notes/deprecation.rst Deprecation Notices
Quoted 9 lines
doc/guides/rel_notes/deprecation.rst +5
-1@@ -82,3 +82,8 @@ Deprecation Notices to set new power environment if power environment was already initialized. In this case the function will return -1 unless the environment is unset first (using ``rte_power_unset_env``). Other function usage scenarios will not change. + +* ipsec-secgw: All the ipsec-secgw legacy code path functionality is now + available in the librte_ipsec library. It is planned to deprecate the legacy + code path in the ipsec-secgw application in the 19.11 release and remove it + in the 20.02 release. --
Quoted 1 line
2.7.4
Quoted 38 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Bernard Iremonger
Sent: Thursday, July 11, 2019 6:06 PM
To: [email protected]; Ananyev, Konstantin <[email protected]>; [email protected]
Cc: Iremonger, Bernard <[email protected]>
Subject: [dpdk-dev] [RFC] doc: deprecate legacy code path in ipsec-secgwAll the functionality of the legacy code path in now available in the
librte_ipseclibrary. It is planned to deprecate the legacy code path in the 19.11 release and remove the legacy code path in the 20.02 release.Signed-off-by Bernard Iremonger <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)doc/guides/rel_notes/deprecation.rst +0
-0@@ -82,3 +82,8 @@ Deprecation Notices to set new power environment if power environment was alreadyinitialized.
In this case the function will return -1 unless the environment is unset first (using ``rte_power_unset_env``). Other function usage scenarios will not
change.doc/guides/rel_notes/deprecation.rst +8
-1+ +* ipsec-secgw: All the ipsec-secgw legacy code path functionality is +now + available in the librte_ipsec library. It is planned to deprecate the +legacy + code path in the ipsec-secgw application in the 19.11 release and +remove it + in the 20.02 release. --
Quoted 1 line
2.7.4
Hi Bernard,
Quoted 20 lines
All the functionality of the legacy code path in now available in the
librte_ipseclibrary. It is planned to deprecate the legacy code path in the 19.11 release and remove the legacy code path in the 20.02 release.Signed-off-by Bernard Iremonger <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)doc/guides/rel_notes/deprecation.rst +0
-0@@ -82,3 +82,8 @@ Deprecation Notices to set new power environment if power environment was already initialized. In this case the function will return -1 unless the environment is unset first (using ``rte_power_unset_env``). Other function usage scenarios will notchange.
doc/guides/rel_notes/deprecation.rst Deprecation Notices
Quoted 6 lines
doc/guides/rel_notes/deprecation.rst +5
-1+ +* ipsec-secgw: All the ipsec-secgw legacy code path functionality is now + available in the librte_ipsec library. It is planned to deprecate the legacy + code path in the ipsec-secgw application in the 19.11 release and remove it + in the 20.02 release. --
Library mode path was impacting the performance on NXP platforms for lookaside mode at the time the library was introduced. Not sure what is the state today. We will evaluate the performance numbers when the actual code will be submitted for review. If the numbers are good we can remove the legacy code path. Apart from this concern,
This patch is an RFC patch and generally RFC patches are not merged.
Please send the patch again without the RFC tag, if this patch need to be integrated in this release. You can take the Acks.
Regards,
Akhil
PATCH 1/1 doc: deprecate legacy code path in ipsec-secgw
In reply to Bernard IremongerAll the functionality of the legacy code path in now available in the librte_ipsec library. It is planned to deprecate the legacy code path in the 19.11 release and remove the legacy code path in the 20.02 release.
--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)
doc/guides/rel_notes/deprecation.rst +5 -0
@@ -78,3 +78,8 @@ Deprecation Notices to set new power environment if power environment was already initialized. In this case the function will return -1 unless the environment is unset first (using ``rte_power_unset_env``). Other function usage scenarios will not change. + +* ipsec-secgw: All the ipsec-secgw legacy code path functionality is now + available in the librte_ipsec library. It is planned to deprecate the legacy + code path in the ipsec-secgw application in the 19.11 release and remove it + in the 20.02 release.
Signature · 1 line
2.7.4
+Anoob, Jerin
Quoted 31 lines
All the functionality of the legacy code path in now available in the
librte_ipseclibrary. It is planned to deprecate the legacy code path in the 19.11 release and remove the legacy code path in the 20.02 release.Signed-off-by Bernard Iremonger <[email protected]>Acked-by Fan Zhang <[email protected]>Acked-by Akhil Goyal <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)doc/guides/rel_notes/deprecation.rst +0
-0@@ -78,3 +78,8 @@ Deprecation Notices to set new power environment if power environment was already initialized. In this case the function will return -1 unless the environment is unset first (using ``rte_power_unset_env``). Other function usage scenarios will notchange.
doc/guides/rel_notes/deprecation.rst +5
-1+ +* ipsec-secgw: All the ipsec-secgw legacy code path functionality is now + available in the librte_ipsec library. It is planned to deprecate the legacy + code path in the ipsec-secgw application in the 19.11 release and remove it + in the 20.02 release. --2.7.4
Hi Anoob,
Could you please Ack this patch if there is no issue?
Thanks,
Akhil
Quoted 33 lines
+Anoob, Jerin
Quoted 31 lines
All the functionality of the legacy code path in now available in the
librte_ipseclibrary. It is planned to deprecate the legacy code path in the 19.11 release and remove the legacy code path in the 20.02 release.Signed-off-by Bernard Iremonger <[email protected]>Acked-by Fan Zhang <[email protected]>Acked-by Akhil Goyal <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)doc/guides/rel_notes/deprecation.rst +0
-0@@ -78,3 +78,8 @@ Deprecation Notices to set new power environment if power environment was already initialized. In this case the function will return -1 unless the environment is unset first (using ``rte_power_unset_env``). Other function usage scenarios will notchange.
doc/guides/rel_notes/deprecation.rst +5
-1+ +* ipsec-secgw: All the ipsec-secgw legacy code path functionality is now + available in the librte_ipsec library. It is planned to deprecate the legacy + code path in the ipsec-secgw application in the 19.11 release and remove it + in the 20.02 release. --2.7.4
Quoted 15 lines
-----Original Message-----
From: dev <[email protected]> On Behalf Of Bernard Iremonger
Sent: Wednesday, July 24, 2019 3:43 PM
To: [email protected]; [email protected]; [email protected]
Cc: Bernard Iremonger <[email protected]>
Subject: [EXT] [dpdk-dev] [PATCH] doc: deprecate legacy code path in ipsec- secgwExternal Email
----------------------------------------------------------------------
All the functionality of the legacy code path in now available in thelibrte_ipseclibrary. It is planned to deprecate the legacy code path in the 19.11 release and remove the legacy code path in the 20.02 release.
Quoted 8 lines
Signed-off-by Bernard Iremonger <[email protected]>Acked-by Fan Zhang <[email protected]>Acked-by Akhil Goyal <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)
Akhil Goyal
AppliedQuoted 16 lines
Quoted 8 lines
----------------------------------------------------------------------
All the functionality of the legacy code path in now available in thelibrte_ipseclibrary. It is planned to deprecate the legacy code path in the 19.11 release and remove the legacy code path in the 20.02 release.Quoted 8 lines
Signed-off-by Bernard Iremonger <[email protected]>Acked-by Fan Zhang <[email protected]>Acked-by Akhil Goyal <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)
Quoted 1 line
Acked-by Anoob Joseph <[email protected]>
Applied to dpdk-next-crypto
Thanks.
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
All the functionality of the legacy code path in now available in the
librte_ipseclibrary. It is planned to deprecate the legacy code path in the 19.11 release and remove the legacy code path in the 20.02 release.Signed-off-by Bernard Iremonger <[email protected]>Acked-by Fan Zhang <[email protected]>Acked-by Akhil Goyal <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)
Quoted 3 lines
Quoted 1 line
Acked-by Anoob Joseph <[email protected]>Applied to dpdk-next-crypto
Why do we have a deprecation notice for some code path in an example? The deprecation notices are for the API.
I think you can drop the legacy code in 19.11,
and I don't merge this patch in master.
Quoted 25 lines
-----Original Message-----
From: Thomas Monjalon [mailto:[email protected]]
Sent: Monday, July 29, 2019 5:34 PM
To: Iremonger, Bernard <[email protected]>
Cc: [email protected]; Akhil Goyal <[email protected]>; Anoob Joseph <[email protected]>; Ananyev, Konstantin <[email protected]>; Jerin Jacob Kollanukkaran <[email protected]>; Narayana Prasad Raju Athreya <[email protected]>
Subject: Re: [dpdk-dev] [EXT] [PATCH] doc: deprecate legacy code path in ipsec-secgwQuoted 14 lines
Quoted 13 lines
Quoted 4 lines
All the functionality of the legacy code path in now available in the
librte_ipseclibrary. It is planned to deprecate the legacy code path in the 19.11 release and remove the legacy code path in the 20.02 release.Quoted 8 lines
Signed-off-by Bernard Iremonger <[email protected]>Acked-by Fan Zhang <[email protected]>Acked-by Akhil Goyal <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)Acked-by Anoob Joseph <[email protected]>
Quoted 7 lines
Quoted 1 line
Applied to dpdk-next-crypto
Why do we have a deprecation notice for some code path in an example? The deprecation notices are for the API.
I think you can drop the legacy code in 19.11,
and I don't merge this patch in master.
Ok, if we don't need a formal deprecation note for that - even better. Thanks
Konstantin
Quoted 18 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
All the functionality of the legacy code path in now available in the
librte_ipsecQuoted 1 line
Quoted 1 line
Quoted 1 line
library. It is planned to deprecate the legacy code path in the 19.11 release
and
Quoted 12 lines
Quoted 11 lines
Quoted 10 lines
remove the legacy code path in the 20.02 release.
Signed-off-by Bernard Iremonger <[email protected]>Acked-by Fan Zhang <[email protected]>Acked-by Akhil Goyal <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)Acked-by Anoob Joseph <[email protected]>
Quoted 8 lines
Quoted 1 line
Applied to dpdk-next-crypto
Why do we have a deprecation notice for some code path in an example? The deprecation notices are for the API.
I think you can drop the legacy code in 19.11,
and I don't merge this patch in master.
We are planning to remove the original code and replace it with IPSec library APIs which are still experimental. With this change there won't be any example of the legacy ipsec code path. Applications over DPDK take ipsec-secgw as an example and IPSec is a major use case for customers. There may also be performance differences in the two code paths. Atleast on NXP platforms I saw 5-7% drop when the patches were originally submitted. Not sure what is the current state. I feel it is worth notifying the users that the original codepath is getting deprecated, so that they can plan to move to new IPSec APIs.
-Akhil
30/07/2019 07:55, Akhil Goyal:
Quoted 23 lines
Quoted 23 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
All the functionality of the legacy code path in now available in the
librte_ipsecQuoted 1 line
Quoted 1 line
Quoted 1 line
library. It is planned to deprecate the legacy code path in the 19.11 release
and
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
remove the legacy code path in the 20.02 release.
Signed-off-by Bernard Iremonger <[email protected]>Acked-by Fan Zhang <[email protected]>Acked-by Akhil Goyal <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)Quoted 3 lines
Quoted 1 line
Acked-by Anoob Joseph <[email protected]>Applied to dpdk-next-crypto
Why do we have a deprecation notice for some code path in an example? The deprecation notices are for the API.
Quoted 6 lines
Quoted 3 lines
I think you can drop the legacy code in 19.11,
and I don't merge this patch in master.We are planning to remove the original code and replace it with IPSec library APIs which are still experimental. With this change there won't be any example of the legacy ipsec code path. Applications over DPDK take ipsec-secgw as an example and IPSec is a major use case for customers. There may also be performance differences in the two code paths. Atleast on NXP platforms I saw 5-7% drop when the patches were originally submitted. Not sure what is the current state. I feel it is worth notifying the users that the original codepath is getting deprecated, so that they can plan to move to new IPSec APIs.
The deprecation notice is not the right place for a change in an example. What change is there in IPsec API? In which release?
Quoted 38 lines
30/07/2019 07:55, Akhil Goyal:
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
All the functionality of the legacy code path in now available in the
librte_ipsecQuoted 1 line
Quoted 1 line
Quoted 1 line
library. It is planned to deprecate the legacy code path in the 19.11
release
Quoted 15 lines
Quoted 15 lines
and
Quoted 13 lines
Quoted 11 lines
Quoted 10 lines
remove the legacy code path in the 20.02 release.
Signed-off-by Bernard Iremonger <[email protected]>Acked-by Fan Zhang <[email protected]>Acked-by Akhil Goyal <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)Acked-by Anoob Joseph <[email protected]>Applied to dpdk-next-crypto
Quoted 8 lines
Quoted 6 lines
Why do we have a deprecation notice for some code path in an example? The deprecation notices are for the API.
I think you can drop the legacy code in 19.11,
and I don't merge this patch in master.We are planning to remove the original code and replace it with IPSec library
APIs which are still experimental. With this change there won't be any example of the legacy ipsec code path. Applications over DPDK take ipsec-secgw as an example and IPSec is a major use case for customers. There may also be performance differences in the two code paths. Atleast on NXP platforms I saw 5-7% drop when the patches were originally submitted. Not sure what is the current state.
Quoted 6 lines
Quoted 1 line
I feel it is worth notifying the users that the original codepath is getting
deprecated, so that they can plan to move to new IPSec APIs.
The deprecation notice is not the right place for a change in an example. What change is there in IPsec API? In which release?
IPSec lib was introduced in 1902 release and a few enhancements are done thereafter. Previously all IPSec related stuff was done in the application, now we have IPSec Lib which perform similar work. There are changes both in datapath as well as control path. User need to adapt to the recent changes, as we may no longer support/maintain the datapath/control path which was done previously and there may be some conflict.
If deprecation notice is not the right place, then where should it be notified before actually making the change.
30/07/2019 09:20, Akhil Goyal:
Quoted 21 lines
Quoted 21 lines
30/07/2019 07:55, Akhil Goyal:
Quoted 20 lines
Quoted 20 lines
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
All the functionality of the legacy code path in now available in the
librte_ipseclibrary.
It is planned to deprecate the legacy code path in the 19.11 release and remove the legacy code path in the 20.02 release.Signed-off-by Bernard Iremonger <[email protected]>Acked-by Fan Zhang <[email protected]>Acked-by Akhil Goyal <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)Quoted 3 lines
Quoted 1 line
Acked-by Anoob Joseph <[email protected]>Applied to dpdk-next-crypto
Why do we have a deprecation notice for some code path in an example? The deprecation notices are for the API.
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
I think you can drop the legacy code in 19.11,
and I don't merge this patch in master.We are planning to remove the original code and replace it with IPSec library APIs which are still experimental.
With this change there won't be any example of the legacy ipsec code path.
That's good to drop old code.
If someone still wants to look at it, it is in old releases.
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Applications over DPDK take ipsec-secgw as an example and IPSec is a major use case for customers. There may also be performance differences in the two code paths. Atleast on NXP platforms I saw 5-7% drop when the patches were originally submitted. Not sure what is the current state.
That's a different issue you need to solve in the library.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
I feel it is worth notifying the users that the original codepath is getting deprecated, so that they can plan to move to new IPSec APIs.
I hope they already planned to move when they saw the new library.
Quoted 8 lines
Quoted 2 lines
The deprecation notice is not the right place for a change in an example. What change is there in IPsec API? In which release?
IPSec lib was introduced in 1902 release and a few enhancements are done thereafter. Previously all IPSec related stuff was done in the application, now we have IPSec Lib which perform similar work. There are changes both in datapath as well as control path. User need to adapt to the recent changes, as we may no longer support/maintain the datapath/control path which was done previously and there may be some conflict.
So the real DPDK change is to have a new library in 19.02.
Quoted 2 lines
If deprecation notice is not the right place,
then where should it be notified before actually making the change.
It has already been notified in "New Features" of 19.02
that there is an IPsec library. What do you want to notify more? Again, the example is not supposed to be a real application. If you want to maintain an IPsec application with better quality rules, I suggest to start a new git repository for it.
Quoted 61 lines
30/07/2019 09:20, Akhil Goyal:
Quoted 21 lines
Quoted 21 lines
30/07/2019 07:55, Akhil Goyal:
Quoted 20 lines
Quoted 20 lines
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
All the functionality of the legacy code path in now available in the
librte_ipseclibrary.
It is planned to deprecate the legacy code path in the 19.11 release and remove the legacy code path in the 20.02 release.Signed-off-by Bernard Iremonger <[email protected]>Acked-by Fan Zhang <[email protected]>Acked-by Akhil Goyal <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)Quoted 3 lines
Quoted 1 line
Acked-by Anoob Joseph <[email protected]>Applied to dpdk-next-crypto
Why do we have a deprecation notice for some code path in an example? The deprecation notices are for the API.
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
I think you can drop the legacy code in 19.11,
and I don't merge this patch in master.We are planning to remove the original code and replace it with IPSec library APIs which are still experimental.
With this change there won't be any example of the legacy ipsec code path.That's good to drop old code.
If someone still wants to look at it, it is in old releases.Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Applications over DPDK take ipsec-secgw as an example and IPSec is a major use case for customers. There may also be performance differences in the two code paths. Atleast on NXP platforms I saw 5-7% drop when the patches were originally submitted. Not sure what is the current state.
That's a different issue you need to solve in the library.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
I feel it is worth notifying the users that the original codepath is getting deprecated, so that they can plan to move to new IPSec APIs.
I hope they already planned to move when they saw the new library.
Quoted 4 lines
Quoted 2 lines
The deprecation notice is not the right place for a change in an example. What change is there in IPsec API? In which release?
IPSec lib was introduced in 1902 release and a few enhancements are done
thereafter.
Quoted 1 line
Previously all IPSec related stuff was done in the application, now we have
IPSec Lib which
Quoted 1 line
perform similar work. There are changes both in datapath as well as control
path.
Quoted 1 line
User need to adapt to the recent changes, as we may no longer
support/maintain the datapath/control
Quoted 1 line
path which was done previously and there may be some conflict.
So the real DPDK change is to have a new library in 19.02.
Quoted 9 lines
Quoted 2 lines
If deprecation notice is not the right place,
then where should it be notified before actually making the change.It has already been notified in "New Features" of 19.02
that there is an IPsec library. What do you want to notify more? Again, the example is not supposed to be a real application. If you want to maintain an IPsec application with better quality rules, I suggest to start a new git repository for it.
OK got your point, but in that case, I would say, legacy code shall not be removed Until we have the ipsec lib as experimental.
User should have both the code paths as long as we have ipsec library experimental.
30/07/2019 10:48, Akhil Goyal:
Quoted 68 lines
Quoted 59 lines
30/07/2019 09:20, Akhil Goyal:
Quoted 21 lines
Quoted 21 lines
30/07/2019 07:55, Akhil Goyal:
Quoted 20 lines
Quoted 20 lines
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
All the functionality of the legacy code path in now available in the
librte_ipseclibrary.
It is planned to deprecate the legacy code path in the 19.11 release and remove the legacy code path in the 20.02 release.Signed-off-by Bernard Iremonger <[email protected]>Acked-by Fan Zhang <[email protected]>Acked-by Akhil Goyal <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)Quoted 3 lines
Quoted 1 line
Acked-by Anoob Joseph <[email protected]>Applied to dpdk-next-crypto
Why do we have a deprecation notice for some code path in an example? The deprecation notices are for the API.
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
I think you can drop the legacy code in 19.11,
and I don't merge this patch in master.We are planning to remove the original code and replace it with IPSec library APIs which are still experimental.
With this change there won't be any example of the legacy ipsec code path.That's good to drop old code.
If someone still wants to look at it, it is in old releases.Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Applications over DPDK take ipsec-secgw as an example and IPSec is a major use case for customers. There may also be performance differences in the two code paths. Atleast on NXP platforms I saw 5-7% drop when the patches were originally submitted. Not sure what is the current state.
That's a different issue you need to solve in the library.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
I feel it is worth notifying the users that the original codepath is getting deprecated, so that they can plan to move to new IPSec APIs.
I hope they already planned to move when they saw the new library.
Quoted 11 lines
Quoted 2 lines
The deprecation notice is not the right place for a change in an example. What change is there in IPsec API? In which release?
IPSec lib was introduced in 1902 release and a few enhancements are done thereafter.
Previously all IPSec related stuff was done in the application, now we have IPSec Lib which perform similar work.
There are changes both in datapath as well as control path. User need to adapt to the recent changes, as we may no longer support/maintain the datapath/control path which was done previously and there may be some conflict.So the real DPDK change is to have a new library in 19.02.
Quoted 8 lines
Quoted 2 lines
If deprecation notice is not the right place,
then where should it be notified before actually making the change.It has already been notified in "New Features" of 19.02
that there is an IPsec library. What do you want to notify more? Again, the example is not supposed to be a real application. If you want to maintain an IPsec application with better quality rules, I suggest to start a new git repository for it.
Quoted 3 lines
OK got your point, but in that case, I would say, legacy code shall not be removed Until we have the ipsec lib as experimental.
User should have both the code paths as long as we have ipsec library experimental.
That's your take.
When do you plan to remove experimental status of IPsec library?
Quoted 85 lines
-----Original Message-----
From: Thomas Monjalon <[email protected]>
Sent: Tuesday, July 30, 2019 2:27 PM
To: Akhil Goyal <[email protected]>
Cc: Bernard Iremonger <[email protected]>; [email protected]; Anoob Joseph <[email protected]>; [email protected]; Jerin Jacob Kollanukkaran <[email protected]>; Narayana Prasad Raju Athreya <[email protected]>
Subject: Re: [dpdk-dev] [EXT] [PATCH] doc: deprecate legacy code path in ipsec- secgw30/07/2019 10:48, Akhil Goyal:
Quoted 8 lines
Quoted 8 lines
30/07/2019 09:20, Akhil Goyal:
Quoted 7 lines
Quoted 7 lines
30/07/2019 07:55, Akhil Goyal:
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
All the functionality of the legacy code path in now available in the
librte_ipseclibrary.
It is planned to deprecate the legacy code path in the 19.11 release and remove the legacy code path in the 20.02 release.Signed-off-by Bernard IremongerQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Acked-by Fan Zhang <[email protected]>Acked-by Akhil Goyal <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Acked-by Anoob Joseph <[email protected]>Applied to dpdk-next-crypto
Why do we have a deprecation notice for some code path in an
example?
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
The deprecation notices are for the API.
I think you can drop the legacy code in 19.11,
and I don't merge this patch in master.We are planning to remove the original code and replace it with IPSec library APIs which are still experimental.
With this change there won't be any example of the legacy ipsec codepath.
Quoted 40 lines
Quoted 39 lines
That's good to drop old code.
If someone still wants to look at it, it is in old releases.Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Applications over DPDK take ipsec-secgw as an example and IPSec is a major use case for customers. There may also be performance differences in the two code paths. Atleast on NXP platforms I saw 5-7% drop when the patches were originally submitted. Not sure what is the current state.
That's a different issue you need to solve in the library.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
I feel it is worth notifying the users that the original codepath is getting deprecated, so that they can plan to move to new IPSec APIs.
I hope they already planned to move when they saw the new library.
Quoted 11 lines
Quoted 2 lines
The deprecation notice is not the right place for a change in an example. What change is there in IPsec API? In which release?
IPSec lib was introduced in 1902 release and a few enhancements are done thereafter.
Previously all IPSec related stuff was done in the application, now we have IPSec Lib which perform similar work.
There are changes both in datapath as well as control path. User need to adapt to the recent changes, as we may no longer support/maintain the datapath/control path which was done previously and there may be some conflict.So the real DPDK change is to have a new library in 19.02.
Quoted 2 lines
If deprecation notice is not the right place,
then where should it be notified before actually making the change.It has already been notified in "New Features" of 19.02
that there is an IPsec library. What do you want to notify more? Again, the example is not supposed to be a real application. If you want to maintain an IPsec application with better quality rules, I suggest to start a new git repository for it.
Quoted 9 lines
Quoted 1 line
OK got your point, but in that case, I would say, legacy code shall not be
removed
Quoted 2 lines
Until we have the ipsec lib as experimental.
User should have both the code paths as long as we have ipsec libraryexperimental.
That's your take.
When do you plan to remove experimental status of IPsec library?
There have been addition of some functionality in this release cycle. I would say we can wait for 1 release cycle for some fixes or changes which may be required. If it looks stable in next release cycle, we can make formal in DPDK 2002.
Quoted 84 lines
Quoted 84 lines
-----Original Message-----
From: Thomas Monjalon <[email protected]>
Sent: Tuesday, July 30, 2019 2:27 PM
To: Akhil Goyal <[email protected]>
Cc: Bernard Iremonger <[email protected]>; [email protected]; Anoob Joseph <[email protected]>; [email protected]; Jerin Jacob Kollanukkaran <[email protected]>; Narayana Prasad Raju Athreya <[email protected]>
Subject: Re: [dpdk-dev] [EXT] [PATCH] doc: deprecate legacy code path in ipsec- secgw30/07/2019 10:48, Akhil Goyal:
Quoted 8 lines
Quoted 8 lines
30/07/2019 09:20, Akhil Goyal:
Quoted 7 lines
Quoted 7 lines
30/07/2019 07:55, Akhil Goyal:
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
All the functionality of the legacy code path in now available in the
librte_ipseclibrary.
It is planned to deprecate the legacy code path in the 19.11 release and remove the legacy code path in the 20.02 release.Signed-off-by Bernard IremongerQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Acked-by Fan Zhang <[email protected]>Acked-by Akhil Goyal <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Acked-by Anoob Joseph <[email protected]>Applied to dpdk-next-crypto
Why do we have a deprecation notice for some code path in an
example?
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
The deprecation notices are for the API.
I think you can drop the legacy code in 19.11,
and I don't merge this patch in master.We are planning to remove the original code and replace it with IPSec library APIs which are still experimental.
With this change there won't be any example of the legacy ipsec codepath.
Quoted 40 lines
Quoted 39 lines
That's good to drop old code.
If someone still wants to look at it, it is in old releases.Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Applications over DPDK take ipsec-secgw as an example and IPSec is a major use case for customers. There may also be performance differences in the two code paths. Atleast on NXP platforms I saw 5-7% drop when the patches were originally submitted. Not sure what is the current state.
That's a different issue you need to solve in the library.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
I feel it is worth notifying the users that the original codepath is getting deprecated, so that they can plan to move to new IPSec APIs.
I hope they already planned to move when they saw the new library.
Quoted 11 lines
Quoted 2 lines
The deprecation notice is not the right place for a change in an example. What change is there in IPsec API? In which release?
IPSec lib was introduced in 1902 release and a few enhancements are done thereafter.
Previously all IPSec related stuff was done in the application, now we have IPSec Lib which perform similar work.
There are changes both in datapath as well as control path. User need to adapt to the recent changes, as we may no longer support/maintain the datapath/control path which was done previously and there may be some conflict.So the real DPDK change is to have a new library in 19.02.
Quoted 2 lines
If deprecation notice is not the right place,
then where should it be notified before actually making the change.It has already been notified in "New Features" of 19.02
that there is an IPsec library. What do you want to notify more? Again, the example is not supposed to be a real application. If you want to maintain an IPsec application with better quality rules, I suggest to start a new git repository for it.
Quoted 5 lines
Quoted 5 lines
Quoted 1 line
OK got your point, but in that case, I would say, legacy code shall not be
removed
Quoted 2 lines
Until we have the ipsec lib as experimental.
User should have both the code paths as long as we have ipsec libraryexperimental.
Not sure why it is needed?
Why DPDK sample app can't use DPDK experimental API as it is, without some alternate code-path?
Quoted 7 lines
Quoted 4 lines
That's your take.
When do you plan to remove experimental status of IPsec library?There have been addition of some functionality in this release cycle. I would say we can wait for 1 release cycle for some fixes or changes which may be required. If it looks stable in next release cycle, we can make formal in DPDK 2002.
If we'll leave legacy code in 19.11, does it mean we'll have to support it for next 2 years (LTS cycle)?
Konstantin
Quoted 79 lines
Quoted 8 lines
Quoted 8 lines
30/07/2019 10:48, Akhil Goyal:
Quoted 6 lines
Quoted 6 lines
30/07/2019 09:20, Akhil Goyal:
Quoted 5 lines
Quoted 5 lines
30/07/2019 07:55, Akhil Goyal:
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
All the functionality of the legacy code path in now available in the
librte_ipseclibrary.
It is planned to deprecate the legacy code path in the 19.11 release and remove the legacy code path in the 20.02release.
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Signed-off-by Bernard IremongerQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Acked-by Konstantin AnanyevQuoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 9 lines
Quoted 7 lines
Quoted 6 lines
Acked-by Fan Zhang <[email protected]>Acked-by Akhil Goyal <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)Acked-by Anoob Joseph <[email protected]>Applied to dpdk-next-crypto
Quoted 8 lines
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Why do we have a deprecation notice for some code path in an
example?
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
The deprecation notices are for the API.
I think you can drop the legacy code in 19.11,
and I don't merge this patch in master.We are planning to remove the original code and replace it with
IPSec
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
library APIs which are still experimental.
With this change there won't be any example of the legacy ipseccode
Quoted 11 lines
Quoted 11 lines
path.
Quoted 10 lines
Quoted 10 lines
That's good to drop old code.
If someone still wants to look at it, it is in old releases.Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Applications over DPDK take ipsec-secgw as an example and IPSec is a major use case for customers. There may also be performance differences in the two code paths. Atleast on NXP platforms I saw 5-7% drop when the patches were originally submitted. Not sure what is the current state.
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
That's a different issue you need to solve in the library.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
I feel it is worth notifying the users that the original codepath is getting deprecated, so that they can plan to move to new IPSec
APIs.
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
I hope they already planned to move when they saw the new library.
Quoted 1 line
Quoted 1 line
The deprecation notice is not the right place for a change in an
example.
Quoted 22 lines
Quoted 22 lines
Quoted 22 lines
Quoted 21 lines
Quoted 10 lines
Quoted 1 line
What change is there in IPsec API? In which release?
IPSec lib was introduced in 1902 release and a few enhancements are done thereafter.
Previously all IPSec related stuff was done in the application, now we have IPSec Lib which perform similar work.
There are changes both in datapath as well as control path. User need to adapt to the recent changes, as we may no longer support/maintain the datapath/control path which was done previously and there may be some conflict.So the real DPDK change is to have a new library in 19.02.
Quoted 2 lines
If deprecation notice is not the right place,
then where should it be notified before actually making the change.It has already been notified in "New Features" of 19.02
that there is an IPsec library. What do you want to notify more? Again, the example is not supposed to be a real application. If you want to maintain an IPsec application with better quality rules, I suggest to start a new git repository for it.
Quoted 7 lines
Quoted 5 lines
Quoted 5 lines
Quoted 1 line
OK got your point, but in that case, I would say, legacy code shall not be
removed
Quoted 2 lines
Until we have the ipsec lib as experimental.
User should have both the code paths as long as we have ipsec libraryexperimental.
Not sure why it is needed?
There is some performance gap. Original Idea for ipsec lib was to have better performing APIs. How much gain is observed using these APIs on intel? Do we have data? Atleast on NXP devices, these are not performing better.
Quoted 2 lines
Why DPDK sample app can't use DPDK experimental API as it is, without some alternate code-path?
Sample app can use experimental APIs as is. There is no issue with that. The intent is just to notify the users that it will be removed so that they can be ready for change in their code.
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
That's your take.
When do you plan to remove experimental status of IPsec library?
Quoted 7 lines
Quoted 1 line
There have been addition of some functionality in this release cycle. I would
say we
Quoted 2 lines
can wait for 1 release cycle for some fixes or changes which may be required. If it looks stable in next release cycle, we can make formal in DPDK 2002.
If we'll leave legacy code in 19.11, does it mean we'll have to support it for next 2 years (LTS cycle)?
The original intent of this patch was also to remove the legacy code in 2002 release and not in 1911. Moreover, it is the application code that we need to remove. We can get that patch backported to the 19.11.1 release as well. Then it would be same.
Quoted 1 line
Konstantin
Hi Akhil,
Quoted 79 lines
Quoted 79 lines
Quoted 8 lines
Quoted 8 lines
30/07/2019 10:48, Akhil Goyal:
Quoted 6 lines
Quoted 6 lines
30/07/2019 09:20, Akhil Goyal:
Quoted 5 lines
Quoted 5 lines
30/07/2019 07:55, Akhil Goyal:
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
All the functionality of the legacy code path in now available
in the librte_ipsec library.
It is planned to deprecate the legacy code path in the 19.11
release and remove the legacy code path in the 20.02release.
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Signed-off-by: Bernard Iremonger
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Acked-by: Konstantin Ananyev
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 9 lines
Quoted 7 lines
Quoted 6 lines
Acked-by: Fan Zhang <[email protected]>
Acked-by: Akhil Goyal <[email protected]>
---
doc/guides/rel_notes/deprecation.rst | 5 +++++
1 file changed, 5 insertions(+)Acked-by Anoob Joseph <[email protected]>Applied to dpdk-next-crypto
Quoted 8 lines
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Why do we have a deprecation notice for some code path in an
example?
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
The deprecation notices are for the API.
I think you can drop the legacy code in 19.11,
and I don't merge this patch in master.We are planning to remove the original code and replace it with
IPSec
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
library APIs which are still experimental.
With this change there won't be any example of the legacy ipseccode
Quoted 11 lines
Quoted 11 lines
path.
Quoted 10 lines
Quoted 10 lines
That's good to drop old code.
If someone still wants to look at it, it is in old releases.Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Applications over DPDK take ipsec-secgw as an example and IPSec is a major use case for customers. There may also be performance differences in the two code paths. Atleast on NXP platforms I saw 5-7% drop when the patches were originally submitted. Not sure what is the current state.
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
That's a different issue you need to solve in the library.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
I feel it is worth notifying the users that the original codepath is getting deprecated, so that they can plan to move to new IPSec
APIs.
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
I hope they already planned to move when they saw the new library.
Quoted 1 line
Quoted 1 line
The deprecation notice is not the right place for a change in an
example.
Quoted 22 lines
Quoted 22 lines
Quoted 22 lines
Quoted 21 lines
Quoted 10 lines
Quoted 1 line
What change is there in IPsec API? In which release?
IPSec lib was introduced in 1902 release and a few enhancements are done thereafter.
Previously all IPSec related stuff was done in the application, now we have IPSec Lib which perform similar work.
There are changes both in datapath as well as control path. User need to adapt to the recent changes, as we may no longer support/maintain the datapath/control path which was done previously and there may be some conflict.So the real DPDK change is to have a new library in 19.02.
Quoted 2 lines
If deprecation notice is not the right place,
then where should it be notified before actually making the change.It has already been notified in "New Features" of 19.02
that there is an IPsec library. What do you want to notify more? Again, the example is not supposed to be a real application. If you want to maintain an IPsec application with better quality rules, I suggest to start a new git repository for it.
Quoted 8 lines
Quoted 7 lines
Quoted 5 lines
Quoted 5 lines
Quoted 1 line
OK got your point, but in that case, I would say, legacy code shall not be
removed
Quoted 2 lines
Until we have the ipsec lib as experimental.
User should have both the code paths as long as we have ipsec libraryexperimental.
Not sure why it is needed?
There is some performance gap.
Ok, and you think that keeping legacy code-path till 20.02 will provide enough time to analyze the perf drop for NXP devices?
Quoted 2 lines
Original Idea for ipsec lib was to have
better performing APIs.
Not only.
Main reasons were to hide from user complexity of IPsec packet processing and avoid necessity for each user to re-implement it.
Also legacy code doesn't provide many important features (replay window, ESN, multi-seg support, etc.)
Quoted 1 line
How much gain is observed using these APIs on intel?
It depends.
From my last observations for inline case library code-path is 10-15%
faster than legacy one. Though I think reason for that in not in the library itself, but that legacy code handles inline traffic in suboptimal way.
For lookaside - in most cases library and legacy code performance is about the same, except the case when we have a burst of packets where each packet belongs to different SA. In that case new code-path is 3-5% slower.
As I understand, main reason is again not the library itself,
but that in new code we try to group packets that belongs
to the same SA both before and after crypto-dev enqueue/dequeue.
Usually that helps, but for that case it just adds extra overhead (no grouping is possible).
Quoted 8 lines
Do we have data? Atleast on NXP devices, these are not performing better.
Quoted 2 lines
Why DPDK sample app can't use DPDK experimental API as it is, without some alternate code-path?
Sample app can use experimental APIs as is. There is no issue with that. The intent is just to notify the users that it will be removed so that they can be ready for change in their code.
Ok, but if we don't submit deprecation notice (as Thomas suggested) how they'll be notified?
Would there be a separate RN when we'll remove experimental tag and legacy code?
Quoted 18 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
That's your take.
When do you plan to remove experimental status of IPsec library?Quoted 7 lines
Quoted 1 line
There have been addition of some functionality in this release cycle. I would
say we
Quoted 2 lines
can wait for 1 release cycle for some fixes or changes which may be required. If it looks stable in next release cycle, we can make formal in DPDK 2002.
If we'll leave legacy code in 19.11, does it mean we'll have to support it for next 2 years (LTS cycle)?
The original intent of this patch was also to remove the legacy code in 2002 release and not in 1911. Moreover, it is the application code that we need to remove. We can get that patch backported to the 19.11.1 release as well. Then it would be same.
Hi Konstantin,
Quoted 94 lines
Hi Akhil,
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
30/07/2019 10:48, Akhil Goyal:
Quoted 3 lines
Quoted 3 lines
30/07/2019 09:20, Akhil Goyal:
Quoted 2 lines
Quoted 2 lines
30/07/2019 07:55, Akhil Goyal:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
All the functionality of the legacy code path in now
available
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
in the librte_ipsec library.
It is planned to deprecate the legacy code path in the19.11
Quoted 13 lines
Quoted 13 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
release and remove the legacy code path in the 20.02
release.
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Signed-off-by: Bernard Iremonger
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Acked-by: Konstantin Ananyev
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Acked-by: Fan Zhang <[email protected]>
Acked-by: Akhil Goyal <[email protected]>
---
doc/guides/rel_notes/deprecation.rst | 5 +++++
1 file changed, 5 insertions(+)Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Acked-by: Anoob Joseph <[email protected]>
Applied to dpdk-next-crypto
Why do we have a deprecation notice for some code path in
an
Quoted 10 lines
Quoted 10 lines
Quoted 7 lines
Quoted 7 lines
example?
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
The deprecation notices are for the API.
I think you can drop the legacy code in 19.11,
and I don't merge this patch in master.We are planning to remove the original code and replace it with
IPSec
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
library APIs which are still experimental.
With this change there won't be any example of the legacy ipsecQuoted 7 lines
Quoted 7 lines
code
Quoted 6 lines
Quoted 6 lines
path.
Quoted 5 lines
Quoted 5 lines
That's good to drop old code.
If someone still wants to look at it, it is in old releases.Quoted 1 line
Quoted 1 line
Quoted 1 line
Applications over DPDK take ipsec-secgw as an example and
IPSec
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
is a major use case for customers. There may also be
performance
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
differences in the two code paths. Atleast on NXP platforms I
saw
Quoted 15 lines
Quoted 15 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
5-7% drop when the patches were originally submitted. Not sure what is the current state.
That's a different issue you need to solve in the library.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
I feel it is worth notifying the users that the original codepath is getting deprecated, so that they can plan to move to new IPSec
APIs.
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
I hope they already planned to move when they saw the new library.
Quoted 1 line
Quoted 1 line
The deprecation notice is not the right place for a change in an
example.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
What change is there in IPsec API? In which release?
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
IPSec lib was introduced in 1902 release and a few enhancements are done thereafter.
Previously all IPSec related stuff was done in the application, now we have IPSec Lib which perform similar work. There are changes both in datapath as well as control path. User need to adapt to the recent changes, as we may no longer support/maintain the datapath/control path which was donepreviously
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 1 line
and there may be some conflict.
So the real DPDK change is to have a new library in 19.02.
Quoted 2 lines
If deprecation notice is not the right place,
then where should it be notified before actually making the change.Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
It has already been notified in "New Features" of 19.02
that there is an IPsec library. What do you want to notify more? Again, the example is not supposed to be a real application. If you want to maintain an IPsec application with better quality rules, I suggest to start a new git repository for it.OK got your point, but in that case, I would say, legacy code shall not
be
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
removed
Quoted 2 lines
Until we have the ipsec lib as experimental.
User should have both the code paths as long as we have ipsec library
Quoted 7 lines
Quoted 4 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
experimental.
Not sure why it is needed?
There is some performance gap.
Ok, and you think that keeping legacy code-path till 20.02 will provide enough time to analyze the perf drop for NXP devices?
Yes. We cannot commit for 19.11 timeframe to fix the performance issues in the new code. You can send the patches, we can try our best to incorporate it in 19.11 but we cannot commit at this moment.
Quoted 32 lines
Quoted 3 lines
Original Idea for ipsec lib was to have
better performing APIs.Not only.
Main reasons were to hide from user complexity of IPsec packet processing and avoid necessity for each user to re-implement it.
Also legacy code doesn't provide many important features (replay window, ESN, multi-seg support, etc.)Quoted 1 line
How much gain is observed using these APIs on intel?
It depends.
From my last observations for inline case library code-path is 10-15% faster than legacy one. Though I think reason for that in not in the library itself, but that legacy code handles inline traffic in suboptimal way. For lookaside - in most cases library and legacy code performance is about the same,
except the case when we have a burst of packets where each packet belongs to different SA.
In that case new code-path is 3-5% slower.
As I understand, main reason is again not the library itself,
but that in new code we try to group packets that belongs
to the same SA both before and after crypto-dev enqueue/dequeue. Usually that helps, but for that case it just adds extra overhead (no grouping is possible).Quoted 5 lines
Do we have data? Atleast on NXP devices, these are not performing better.
Quoted 2 lines
Why DPDK sample app can't use DPDK experimental API as it is, without some alternate code-path?
Quoted 6 lines
Quoted 3 lines
Sample app can use experimental APIs as is. There is no issue with that. The intent is just to notify the users that it will be removed so that they can be ready for change in their code.
Ok, but if we don't submit deprecation notice (as Thomas suggested) how they'll be notified?
As Thomas said, there is no need for sending the deprecation notice for application. So I have to hold my comment back.
Quoted 2 lines
Would there be a separate RN when we'll remove experimental tag and legacy code?
There will be a RN entry when we remove the experimental tag and the legacy code.
Quoted 26 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
That's your take.
When do you plan to remove experimental status of IPsec library?There have been addition of some functionality in this release cycle. I
would
Quoted 2 lines
Quoted 2 lines
say we
Quoted 1 line
can wait for 1 release cycle for some fixes or changes which may be
required.
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
If it looks stable in next release cycle, we can make formal in DPDK 2002.
If we'll leave legacy code in 19.11, does it mean we'll have to support it for next 2 years (LTS cycle)?
The original intent of this patch was also to remove the legacy code in 2002
release and
Quoted 1 line
not in 1911. Moreover, it is the application code that we need to remove. We
can get that patch
Quoted 2 lines
backported to the 19.11.1 release as well. Then it would be same.
Hi Akhil,
Quoted 95 lines
Quoted 95 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
30/07/2019 10:48, Akhil Goyal:
Quoted 3 lines
Quoted 3 lines
30/07/2019 09:20, Akhil Goyal:
Quoted 2 lines
Quoted 2 lines
30/07/2019 07:55, Akhil Goyal:
Quoted 1 line
Quoted 1 line
Quoted 1 line
All the functionality of the legacy code path in now
available
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
in the librte_ipsec library.
It is planned to deprecate the legacy code path in the19.11
Quoted 13 lines
Quoted 13 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
release and remove the legacy code path in the 20.02
release.
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Signed-off-by: Bernard Iremonger
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Acked-by: Konstantin Ananyev
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Acked-by: Fan Zhang <[email protected]>
Acked-by: Akhil Goyal <[email protected]>
---
doc/guides/rel_notes/deprecation.rst | 5 +++++
1 file changed, 5 insertions(+)Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
Acked-by: Anoob Joseph <[email protected]>
Applied to dpdk-next-crypto
Why do we have a deprecation notice for some code path in
an
Quoted 10 lines
Quoted 10 lines
Quoted 7 lines
Quoted 7 lines
example?
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
The deprecation notices are for the API.
I think you can drop the legacy code in 19.11,
and I don't merge this patch in master.We are planning to remove the original code and replace it with
IPSec
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
library APIs which are still experimental.
With this change there won't be any example of the legacy ipsecQuoted 7 lines
Quoted 7 lines
code
Quoted 6 lines
Quoted 6 lines
path.
Quoted 5 lines
Quoted 5 lines
That's good to drop old code.
If someone still wants to look at it, it is in old releases.Quoted 1 line
Quoted 1 line
Quoted 1 line
Applications over DPDK take ipsec-secgw as an example and
IPSec
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
is a major use case for customers. There may also be
performance
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
differences in the two code paths. Atleast on NXP platforms I
saw
Quoted 15 lines
Quoted 15 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
5-7% drop when the patches were originally submitted. Not sure what is the current state.
That's a different issue you need to solve in the library.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
I feel it is worth notifying the users that the original codepath is getting deprecated, so that they can plan to move to new IPSec
APIs.
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
I hope they already planned to move when they saw the new library.
Quoted 1 line
Quoted 1 line
The deprecation notice is not the right place for a change in an
example.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
What change is there in IPsec API? In which release?
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
IPSec lib was introduced in 1902 release and a few enhancements are done thereafter.
Previously all IPSec related stuff was done in the application, now we have IPSec Lib which perform similar work. There are changes both in datapath as well as control path. User need to adapt to the recent changes, as we may no longer support/maintain the datapath/control path which was donepreviously
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 1 line
and there may be some conflict.
So the real DPDK change is to have a new library in 19.02.
Quoted 2 lines
If deprecation notice is not the right place,
then where should it be notified before actually making the change.Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
It has already been notified in "New Features" of 19.02
that there is an IPsec library. What do you want to notify more? Again, the example is not supposed to be a real application. If you want to maintain an IPsec application with better quality rules, I suggest to start a new git repository for it.OK got your point, but in that case, I would say, legacy code shall not
be
Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
Quoted 4 lines
removed
Quoted 2 lines
Until we have the ipsec lib as experimental.
User should have both the code paths as long as we have ipsec libraryexperimental.
Not sure why it is needed?
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
There is some performance gap.
Ok, and you think that keeping legacy code-path till 20.02 will provide enough time to analyze the perf drop for NXP devices?
Yes. We cannot commit for 19.11 timeframe to fix the performance issues in the new code. You can send the patches, we can try our best to incorporate it in 19.11 but we cannot commit at this moment.
Ok, then let's put 20.02 as a preliminary target for removal experimental tag and legacy code-path. As you said, we can later consider to backport ipsec-secgw changes into 19.11.1 or so. Konstantin
Quoted 71 lines
Quoted 33 lines
Quoted 4 lines
Original Idea for ipsec lib was to have
better performing APIs.Not only.
Main reasons were to hide from user complexity of IPsec packet processing and avoid necessity for each user to re-implement it.
Also legacy code doesn't provide many important features (replay window, ESN, multi-seg support, etc.)Quoted 1 line
How much gain is observed using these APIs on intel?
It depends.
From my last observations for inline case library code-path is 10-15% faster than legacy one. Though I think reason for that in not in the library itself, but that legacy code handles inline traffic in suboptimal way. For lookaside - in most cases library and legacy code performance is about the same,
except the case when we have a burst of packets where each packet belongs to different SA.
In that case new code-path is 3-5% slower.
As I understand, main reason is again not the library itself,
but that in new code we try to group packets that belongs
to the same SA both before and after crypto-dev enqueue/dequeue. Usually that helps, but for that case it just adds extra overhead (no grouping is possible).Quoted 5 lines
Do we have data? Atleast on NXP devices, these are not performing better.
Quoted 2 lines
Why DPDK sample app can't use DPDK experimental API as it is, without some alternate code-path?
Quoted 6 lines
Quoted 3 lines
Sample app can use experimental APIs as is. There is no issue with that. The intent is just to notify the users that it will be removed so that they can be ready for change in their code.
Ok, but if we don't submit deprecation notice (as Thomas suggested) how they'll be notified?
As Thomas said, there is no need for sending the deprecation notice for application. So I have to hold my comment back.
Quoted 2 lines
Would there be a separate RN when we'll remove experimental tag and legacy code?
There will be a RN entry when we remove the experimental tag and the legacy code.
Quoted 26 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
That's your take.
When do you plan to remove experimental status of IPsec library?There have been addition of some functionality in this release cycle. I
would
Quoted 2 lines
Quoted 2 lines
say we
Quoted 1 line
can wait for 1 release cycle for some fixes or changes which may be
required.
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
If it looks stable in next release cycle, we can make formal in DPDK 2002.
If we'll leave legacy code in 19.11, does it mean we'll have to support it for next 2 years (LTS cycle)?
The original intent of this patch was also to remove the legacy code in 2002
release and
Quoted 1 line
not in 1911. Moreover, it is the application code that we need to remove. We
can get that patch
Quoted 2 lines
backported to the 19.11.1 release as well. Then it would be same.