Re: [dpdk-dev] [PATCH 6/9] ipsec: implement SA data-path API

2018-11-20 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ananyev, Konstantin > Sent: Tuesday, November 20, 2018 9:44 AM > To: Zhang, Qi Z ; dev@dpdk.org > Cc: Awal, Mohammad Abdul > Subject: Re: [dpdk-dev] [PATCH 6/9] ipsec: implement SA data-path

Re: [dpdk-dev] [PATCH 6/9] ipsec: implement SA data-path API

2018-11-20 Thread Ananyev, Konstantin
Hi Qi, > > Hi Konstantin and Awal: > > I have couple questions for this patch. > please forgive me if they are obvious, since I don't have much insight > on IPsec, but I may work on related stuff in future :) > > > +static inline int32_t > > +esp_outb_tun_pkt_prepare(struct rte_i

Re: [dpdk-dev] [PATCH 6/9] ipsec: implement SA data-path API

2018-11-19 Thread Zhang, Qi Z
Hi Konstantin and Awal: I have couple questions for this patch. please forgive me if they are obvious, since I don't have much insight on IPsec, but I may work on related stuff in future :) > +static inline int32_t > +esp_outb_tun_pkt_prepare(struct rte_ipsec_sa *sa, rte_

[dpdk-dev] [PATCH 6/9] ipsec: implement SA data-path API

2018-11-15 Thread Konstantin Ananyev
Provide implementation for rte_ipsec_pkt_crypto_prepare() and rte_ipsec_pkt_process(). Current implementation: - supports ESP protocol tunnel mode. - supports ESP protocol transport mode. - supports ESN and replay window. - supports algorithms: AES-CBC, AES-GCM, HMAC-SHA1, NULL. - covers all c