Re: [dpdk-dev] [PATCH 1/2] security: enforce semantics for Tx inline processing

2021-07-14 Thread Ananyev, Konstantin
vier.m...@6wind.com; jer...@marvell.com; Doherty, Declan > ; Nicolau, Radu ; > jiawe...@trustnetic.com; jianw...@trustnetic.com > Subject: Re: [dpdk-dev] [PATCH 1/2] security: enforce semantics for Tx inline > processing > > On Wed, Jul 14, 2021 at 11:09:08AM +, Ananyev, Konstan

Re: [dpdk-dev] [PATCH 1/2] security: enforce semantics for Tx inline processing

2021-07-14 Thread Nithin Dabilpuram
On Wed, Jul 14, 2021 at 11:09:08AM +, Ananyev, Konstantin wrote: > > > > > > > > Adding more rte_security and PMD maintainers into the loop. > > > > > > > > > > > > > > > > > > > For Tx inline processing, when > > > > > > > > > > > > > > > RTE_SECURITY_TX_OLOAD_NEED_MDATA is > > > > > > > > >

Re: [dpdk-dev] [PATCH 1/2] security: enforce semantics for Tx inline processing

2021-07-14 Thread Ananyev, Konstantin
> > > > > > Adding more rte_security and PMD maintainers into the loop. > > > > > > > > > > > > > > > > > For Tx inline processing, when > > > > > > > > > > > > > > RTE_SECURITY_TX_OLOAD_NEED_MDATA is > > > > > > > > > > > > > > set, rte_security_set_pkt_metadata() needs to be > > > > > > > > > >

Re: [dpdk-dev] [PATCH 1/2] security: enforce semantics for Tx inline processing

2021-07-13 Thread Nithin Dabilpuram
On Tue, Jul 13, 2021 at 02:08:18PM +, Ananyev, Konstantin wrote: > > > > > Adding more rte_security and PMD maintainers into the loop. > > > > > > > > > > > > > > > For Tx inline processing, when > > > > > > > > > > > > > RTE_SECURITY_TX_OLOAD_NEED_MDATA is > > > > > > > > > > > > > set, rt

Re: [dpdk-dev] [PATCH 1/2] security: enforce semantics for Tx inline processing

2021-07-13 Thread Ananyev, Konstantin
> > Adding more rte_security and PMD maintainers into the loop. > > > > > > > > > > > > > For Tx inline processing, when > > > > > > > > > > > > RTE_SECURITY_TX_OLOAD_NEED_MDATA is > > > > > > > > > > > > set, rte_security_set_pkt_metadata() needs to be called > > > > > > > > > > > > for pkts

Re: [dpdk-dev] [PATCH 1/2] security: enforce semantics for Tx inline processing

2021-07-13 Thread Ananyev, Konstantin
Adding more rte_security and PMD maintainers into the loop. > > > > > > > > > > > For Tx inline processing, when > > > > > > > > > > > RTE_SECURITY_TX_OLOAD_NEED_MDATA is > > > > > > > > > > > set, rte_security_set_pkt_metadata() needs to be called > > > > > > > > > > > for pkts > > > > > > >

Re: [dpdk-dev] [PATCH 1/2] security: enforce semantics for Tx inline processing

2021-07-12 Thread Nithin Dabilpuram
On Sat, Jul 10, 2021 at 12:57:19PM +, Ananyev, Konstantin wrote: > > > > > > > > > > > For Tx inline processing, when > > > > > > > > > > RTE_SECURITY_TX_OLOAD_NEED_MDATA is > > > > > > > > > > set, rte_security_set_pkt_metadata() needs to be called for > > > > > > > > > > pkts > > > > > > >

Re: [dpdk-dev] [PATCH 1/2] security: enforce semantics for Tx inline processing

2021-07-10 Thread Ananyev, Konstantin
> > > > > > > > > For Tx inline processing, when > > > > > > > > > RTE_SECURITY_TX_OLOAD_NEED_MDATA is > > > > > > > > > set, rte_security_set_pkt_metadata() needs to be called for > > > > > > > > > pkts > > > > > > > > > to associate a Security session with a mbuf before submitting > > > > > >

Re: [dpdk-dev] [PATCH 1/2] security: enforce semantics for Tx inline processing

2021-07-07 Thread Nithin Dabilpuram
On Wed, Jul 07, 2021 at 09:59:10AM +, Ananyev, Konstantin wrote: > > > > > > > > > For Tx inline processing, when RTE_SECURITY_TX_OLOAD_NEED_MDATA > > > > > > > > is > > > > > > > > set, rte_security_set_pkt_metadata() needs to be called for pkts > > > > > > > > to associate a Security sessio

Re: [dpdk-dev] [PATCH 1/2] security: enforce semantics for Tx inline processing

2021-07-07 Thread Ananyev, Konstantin
> > > > > > > For Tx inline processing, when RTE_SECURITY_TX_OLOAD_NEED_MDATA is > > > > > > > set, rte_security_set_pkt_metadata() needs to be called for pkts > > > > > > > to associate a Security session with a mbuf before submitting > > > > > > > to Ethdev Tx. This is apart from setting PKT_TX

Re: [dpdk-dev] [PATCH 1/2] security: enforce semantics for Tx inline processing

2021-07-07 Thread Nithin Dabilpuram
On Tue, Jul 06, 2021 at 02:07:17PM +, Ananyev, Konstantin wrote: > > > > > > > > For Tx inline processing, when RTE_SECURITY_TX_OLOAD_NEED_MDATA is > > > > > > set, rte_security_set_pkt_metadata() needs to be called for pkts > > > > > > to associate a Security session with a mbuf before submi

Re: [dpdk-dev] [PATCH 1/2] security: enforce semantics for Tx inline processing

2021-07-06 Thread Ananyev, Konstantin
> > > > > For Tx inline processing, when RTE_SECURITY_TX_OLOAD_NEED_MDATA is > > > > > set, rte_security_set_pkt_metadata() needs to be called for pkts > > > > > to associate a Security session with a mbuf before submitting > > > > > to Ethdev Tx. This is apart from setting PKT_TX_SEC_OFFLOAD in

Re: [dpdk-dev] [PATCH 1/2] security: enforce semantics for Tx inline processing

2021-07-06 Thread Nithin Dabilpuram
On Tue, Jul 06, 2021 at 12:42:34PM +, Ananyev, Konstantin wrote: > > > On Tue, Jul 06, 2021 at 10:56:10AM +, Ananyev, Konstantin wrote: > > > > > > > > > > > From: Nithin Dabilpuram > > > > > > > > For Tx inline processing, when RTE_SECURITY_TX_OLOAD_NEED_MDATA is > > > > set, rte_securit

Re: [dpdk-dev] [PATCH 1/2] security: enforce semantics for Tx inline processing

2021-07-06 Thread Ananyev, Konstantin
> On Tue, Jul 06, 2021 at 10:56:10AM +, Ananyev, Konstantin wrote: > > > > > > > > From: Nithin Dabilpuram > > > > > > For Tx inline processing, when RTE_SECURITY_TX_OLOAD_NEED_MDATA is > > > set, rte_security_set_pkt_metadata() needs to be called for pkts > > > to associate a Security sessi

Re: [dpdk-dev] [PATCH 1/2] security: enforce semantics for Tx inline processing

2021-07-06 Thread Nithin Dabilpuram
On Tue, Jul 06, 2021 at 10:56:10AM +, Ananyev, Konstantin wrote: > > > > > From: Nithin Dabilpuram > > > > For Tx inline processing, when RTE_SECURITY_TX_OLOAD_NEED_MDATA is > > set, rte_security_set_pkt_metadata() needs to be called for pkts > > to associate a Security session with a mbuf

Re: [dpdk-dev] [PATCH 1/2] security: enforce semantics for Tx inline processing

2021-07-06 Thread Ananyev, Konstantin
> > From: Nithin Dabilpuram > > For Tx inline processing, when RTE_SECURITY_TX_OLOAD_NEED_MDATA is > set, rte_security_set_pkt_metadata() needs to be called for pkts > to associate a Security session with a mbuf before submitting > to Ethdev Tx. This is apart from setting PKT_TX_SEC_OFFLOAD in

Re: [dpdk-dev] [PATCH 1/2] security: enforce semantics for Tx inline processing

2021-07-06 Thread Akhil Goyal
Hi Konstantin/ Olivier, Could you please review this patch? This has also an update in documentation of mbuf. Regards, Akhil > From: Nithin Dabilpuram > > For Tx inline processing, when RTE_SECURITY_TX_OLOAD_NEED_MDATA is > set, rte_security_set_pkt_metadata() needs to be called for pkts > t

[dpdk-dev] [PATCH 1/2] security: enforce semantics for Tx inline processing

2021-06-24 Thread Akhil Goyal
From: Nithin Dabilpuram For Tx inline processing, when RTE_SECURITY_TX_OLOAD_NEED_MDATA is set, rte_security_set_pkt_metadata() needs to be called for pkts to associate a Security session with a mbuf before submitting to Ethdev Tx. This is apart from setting PKT_TX_SEC_OFFLOAD in mbuf.ol_flags. r