[PATCH API-NEXT v1] api: ipsec: more capabilities#26
Closed
lumag wants to merge 2 commits intoOpenDataPlane:api-nextfrom
Closed
[PATCH API-NEXT v1] api: ipsec: more capabilities#26lumag wants to merge 2 commits intoOpenDataPlane:api-nextfrom
lumag wants to merge 2 commits intoOpenDataPlane:api-nextfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## api-next #26 +/- ##
===========================================
+ Coverage 78.72% 78.8% +0.07%
===========================================
Files 189 189
Lines 33329 33329
===========================================
+ Hits 26239 26264 +25
+ Misses 7090 7065 -25
Continue to review full report at Codecov.
|
Contributor
From: Bala Manoharan
Reviewed-by: Balasubramanian Manoharan
On 10 May 2017 at 12:00, Github ODP bot wrote:
> From: Dmitry Eremin-Solenikov
>
> RFC4301 marks AH support as MAY instead of MUST. Some platforms might
> skip implementing AH. Thus we should provide capability to allow
> applications to check if AH is actually implemented or not.
>
> Signed-off-by: Dmitry Eremin-Solenikov
> ---
> /** Email created from pull request 26 (lumag:ipsec-ah-cap)
> ** https://github.com/Linaro/odp/pull/26
> ** Patch: https://github.com/Linaro/odp/pull/26.patch
> ** Base sha: 3ea9c1dac34e0fb4785b0d643056c731daa55e85
> ** Merge commit sha: 1b298f0560ad52ebe47022df83bc185cb4a0e11d
> **/
> include/odp/api/spec/ipsec.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h
> index e83494d..016d232 100644
> --- a/include/odp/api/spec/ipsec.h
> +++ b/include/odp/api/spec/ipsec.h
> @@ -244,6 +244,9 @@ typedef struct odp_ipsec_capability_t {
> /** Inline IPSEC operation mode (ODP_IPSEC_OP_MODE_INLINE) support */
> odp_support_t op_mode_inline;
>
> + /** Synchronous of AH (ODP_IPSEC_AH ) support */
> + odp_support_t op_proto_ah;
> +
> /**
> * Support of pipelined classification (ODP_IPSEC_PIPELINE_CLS) of
> * resulting inbound packets
>
|
RFC4301 marks AH support as MAY instead of MUST. Some platforms might skip implementing AH. Thus we should provide capability to allow applications to check if AH is actually implemented or not. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
Unlike SYNC/ASYNC operation modes, it well might be that the implementation provides only INLINE support only for inbound or outbound packets. Let's split the capability into two new caps. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
Contributor
From: "Savolainen, Petri (Nokia - FI/Espoo)"
> -----Original Message-----
> From: lng-odp [mailto:lng-odp-bounces@lists.linaro.org] On Behalf Of
> Github ODP bot
> Sent: Wednesday, May 10, 2017 10:00 PM
> To: lng-odp@lists.linaro.org
> Subject: [lng-odp] [PATCH API-NEXT v1 1/1] api: ipsec: add AH capability
>
> From: Dmitry Eremin-Solenikov
>
> RFC4301 marks AH support as MAY instead of MUST. Some platforms might
> skip implementing AH. Thus we should provide capability to allow
> applications to check if AH is actually implemented or not.
>
> Signed-off-by: Dmitry Eremin-Solenikov
> ---
> /** Email created from pull request 26 (lumag:ipsec-ah-cap)
> ** https://github.com/Linaro/odp/pull/26
> ** Patch: https://github.com/Linaro/odp/pull/26.patch
> ** Base sha: 3ea9c1dac34e0fb4785b0d643056c731daa55e85
> ** Merge commit sha: 1b298f0560ad52ebe47022df83bc185cb4a0e11d
> **/
> include/odp/api/spec/ipsec.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h
> index e83494d..016d232 100644
> --- a/include/odp/api/spec/ipsec.h
> +++ b/include/odp/api/spec/ipsec.h
> @@ -244,6 +244,9 @@ typedef struct odp_ipsec_capability_t {
> /** Inline IPSEC operation mode (ODP_IPSEC_OP_MODE_INLINE)
> support */
> odp_support_t op_mode_inline;
>
> + /** Synchronous of AH (ODP_IPSEC_AH ) support */
There's couple of copy-paste errors on these two line.
Only this: "AH protocol (ODP_IPSEC_AH) support"
> + odp_support_t op_proto_ah;
Variable name should be just "proto_ah"
-Petri
> +
> /**
> * Support of pipelined classification (ODP_IPSEC_PIPELINE_CLS)
> of
> * resulting inbound packets
|
Contributor
From: "Savolainen, Petri (Nokia - FI/Espoo)" Entire patch set: Reviewed-by: Petri Savolainen > -----Original Message----- > From: lng-odp [mailto:lng-odp-bounces@lists.linaro.org] On Behalf Of > Github ODP bot > Sent: Thursday, May 11, 2017 12:00 AM > To: lng-odp@lists.linaro.org > Subject: [lng-odp] [PATCH API-NEXT v1 0/2] api: ipsec: more capabilities > > Add AH support capability (as AH is optional in RFC 4301). > Split INLINE capability into pair of in and out caps. > > ----------------github------------------------ > /** Email created from pull request 26 (lumag:ipsec-ah-cap) > ** https://github.com/Linaro/odp/pull/26 > ** Patch: https://github.com/Linaro/odp/pull/26.patch > ** Base sha: 3ea9c1dac34e0fb4785b0d643056c731daa55e85 > ** Merge commit sha: 6eb5ba103d81883b2b55945c58214b903bfac64d > **/ > ----------------/github------------------------ > > ----------------checkpatch.pl------------------------ > total: 0 errors, 0 warnings, 0 checks, 9 lines checked > > > to_send-p-000.patch has no obvious style problems and is ready for > submission. > total: 0 errors, 0 warnings, 0 checks, 19 lines checked > > > to_send-p-001.patch has no obvious style problems and is ready for > submission. > ----------------/checkpatch.pl------------------------ |
Contributor
|
Merged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.