Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PATCH v2] api: ipsec: support associating inline SA to a pktio #1378

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

nithind1988
Copy link
Contributor

commit 5f4a585
Author: Nithin Dabilpuram ndabilpuram@marvell.com
Date: Tue Sep 21 16:35:50 2021 +0530

api: ipsec: support associating inline SA to a pktio

Not all HW platforms support having a global Inline IPsec SA
which can work synchronuously across all PKTIO's. Hence add
a capability in odp_ipsec_capability_t to mention if a platform
supports global Inline IPsec SA or not.

If a platform doesn't support Global Inline IPsec SA, then PKTIO
handle should be set in odp_ipsec_sa_param_t in order to enable it
for inline processing on that PKTIO.

Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>

commit 0bcaf3c
Author: Nithin Dabilpuram ndabilpuram@marvell.com
Date: Tue Sep 21 16:44:50 2021 +0530

linux-gen: ipsec: express support for global inline ipsec SA

Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>

commit 82dd75e
Author: Nithin Dabilpuram ndabilpuram@marvell.com
Date: Tue Sep 21 17:09:54 2021 +0530

validation: ipsec: provide pktio handle to inline SA

Provide PKTIO handle to inline SA's in Inline tests
when platform doesn't support a global inline SA.

Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>

@odpbuild odpbuild changed the title api: ipsec: support associating inline SA to a pktio [PATCH v1] api: ipsec: support associating inline SA to a pktio Sep 21, 2021
Not all HW platforms support having a global Inline IPsec SA
which can work synchronously across all PKTIO's. Hence add
a capability in odp_ipsec_capability_t to mention if a platform
supports global Inline IPsec SA or not.

If a platform doesn't support Global Inline IPsec SA, then PKTIO
handle should be set in odp_ipsec_sa_param_t in order to enable it
for inline processing on that PKTIO.

Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Linux generic supports global inline SA's that can work across
all PKTIO's. Hence report it in capability.

Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Provide PKTIO handle to inline SA's in Inline tests
when platform doesn't support a global inline SA.

Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
@odpbuild odpbuild changed the title [PATCH v1] api: ipsec: support associating inline SA to a pktio [PATCH v2] api: ipsec: support associating inline SA to a pktio Sep 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant