Re: [dpdk-dev] [PATCH v3] ipsec: include high order bytes of esn in pkt len

2019-06-25 Thread Akhil Goyal
> > > > > > > When esn is used then high-order 32 bits are included in ICV > > > calculation however are not transmitted. Update packet length > > > to be consistent with auth data offset and length before crypto > > > operation. High-order 32 bits of esn will be removed from packet > > > length

Re: [dpdk-dev] [PATCH v3] ipsec: include high order bytes of esn in pkt len

2019-06-20 Thread Akhil Goyal
> > > > When esn is used then high-order 32 bits are included in ICV > > calculation however are not transmitted. Update packet length > > to be consistent with auth data offset and length before crypto > > operation. High-order 32 bits of esn will be removed from packet > > length in crypto pos

Re: [dpdk-dev] [PATCH v3] ipsec: include high order bytes of esn in pkt len

2019-06-06 Thread Ananyev, Konstantin
> -Original Message- > From: Lukasz Bartosik [mailto:lbarto...@marvell.com] > Sent: Wednesday, June 5, 2019 4:31 PM > To: Ananyev, Konstantin > Cc: dev@dpdk.org; ano...@marvell.com; Lukasz Bartosik > Subject: [PATCH v3] ipsec: include high order bytes of esn in pkt len > > When esn is

[dpdk-dev] [PATCH v3] ipsec: include high order bytes of esn in pkt len

2019-06-05 Thread Lukasz Bartosik
When esn is used then high-order 32 bits are included in ICV calculation however are not transmitted. Update packet length to be consistent with auth data offset and length before crypto operation. High-order 32 bits of esn will be removed from packet length in crypto post processing. Signed-off-b