Thread (30 messages) 30 messages, 6 authors, 2020-01-20

Re: [dpdk-dev] [PATCH] ethdev: allow multiple security sessions to use one rte flow

From: Thomas Monjalon <hidden>
Date: 2020-01-20 09:51:17

10/12/2019 21:47, Ori Kam:
quoted
-----Original Message-----
Subject: Re: [dpdk-dev] [PATCH] ethdev: allow multiple security sessions to
use one rte flow

On Sun, Dec 8, 2019 at 4:19 PM Anoob Joseph [off-list ref] wrote:
quoted
The rte_security API which enables inline protocol/crypto feature
mandates that for every security session an rte_flow is created. This
would internally translate to a rule in the hardware which would do
packet classification.

In rte_securty, one SA would be one security session. And if an rte_flow
need to be created for every session, the number of SAs supported by an
inline implementation would be limited by the number of rte_flows the
PMD would be able to support.

If the fields SPI & IP addresses are allowed to be a range, then this
limitation can be overcome. Multiple flows will be able to use one rule
for SECURITY processing. In this case, the security session provided as
conf would be NULL.

Application should do an rte_flow_validate() to make sure the flow is
supported on the PMD.

Signed-off-by: Anoob Joseph <redacted>
Reviewed-by: Jerin Jacob <redacted>
Acked-by: Ori Kam <redacted>
Reworded title:
	ethdev: allow multiple security sessions to use flow rule
and converted "SECURITY" to lowercase, then
Applied for -rc1


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help