[dpdk-dev] [PATCH] examples/ipsec-secgw: Update checksum while decrementing ttl

2016-10-26 Thread De Lara Guarch, Pablo
> >>> > > >>>> -Original Message----- > > >>>> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Sergio > > Gonzalez > > >>>> Monroy > > >>>> Sent: Monday, September 26, 2016 6:28 AM > > >

[dpdk-dev] [PATCH] examples/ipsec-secgw: Update checksum while decrementing ttl

2016-10-19 Thread Akhil Goyal
> Gonzalez > >>>> Monroy > >>>> Sent: Monday, September 26, 2016 6:28 AM > >>>> To: akhil.goyal at nxp.com; dev at dpdk.org > >>>> Subject: Re: [dpdk-dev] [PATCH] examples/ipsec-secgw: Update > checksum > >>>> while

[dpdk-dev] [PATCH] examples/ipsec-secgw: Update checksum while decrementing ttl

2016-10-17 Thread De Lara Guarch, Pablo
half Of Sergio > Gonzalez > >>>> Monroy > >>>> Sent: Monday, September 26, 2016 6:28 AM > >>>> To: akhil.goyal at nxp.com; dev at dpdk.org > >>>> Subject: Re: [dpdk-dev] [PATCH] examples/ipsec-secgw: Update > checksum > >>>&

[dpdk-dev] [PATCH] examples/ipsec-secgw: Update checksum while decrementing ttl

2016-10-10 Thread Sergio Gonzalez Monroy
>> Monroy >>>> Sent: Monday, September 26, 2016 6:28 AM >>>> To: akhil.goyal at nxp.com; dev at dpdk.org >>>> Subject: Re: [dpdk-dev] [PATCH] examples/ipsec-secgw: Update checksum >>>> while decrementing ttl >>>> >>>> Hi

[dpdk-dev] [PATCH] examples/ipsec-secgw: Update checksum while decrementing ttl

2016-10-07 Thread De Lara Guarch, Pablo
; To: akhil.goyal at nxp.com; dev at dpdk.org > >> Subject: Re: [dpdk-dev] [PATCH] examples/ipsec-secgw: Update checksum > >> while decrementing ttl > >> > >> Hi Akhil, > >> > >> This application relies on checksum offload in both outbound and

[dpdk-dev] [PATCH] examples/ipsec-secgw: Update checksum while decrementing ttl

2016-10-05 Thread Akhil Goyal
rg >> Subject: Re: [dpdk-dev] [PATCH] examples/ipsec-secgw: Update checksum >> while decrementing ttl >> >> Hi Akhil, >> >> This application relies on checksum offload in both outbound and inbound >> paths (PKT_TX_IP_CKSUM flag). [Akhil]Agreed that the appli

[dpdk-dev] [PATCH] examples/ipsec-secgw: Update checksum while decrementing ttl

2016-10-05 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Sergio Gonzalez > Monroy > Sent: Monday, September 26, 2016 6:28 AM > To: akhil.goyal at nxp.com; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] examples/ipsec-secgw: Update checksum &g

[dpdk-dev] [PATCH] examples/ipsec-secgw: Update checksum while decrementing ttl

2016-09-26 Thread akhil.go...@nxp.com
From: Akhil Goyal In IPsec-secgw application when TTL is decremented in IP header before forwarding the packet, checksum needs to be updated. In this patch an incremental checksum is added. Other applications(like l3fwd) are also doing so. Signed-off-by: Akhil Goyal --- examples/ipsec-secgw/i

[dpdk-dev] [PATCH] examples/ipsec-secgw: Update checksum while decrementing ttl

2016-09-26 Thread Sergio Gonzalez Monroy
Hi Akhil, This application relies on checksum offload in both outbound and inbound paths (PKT_TX_IP_CKSUM flag). Because we assume that we always forward the packet in both paths, we decrement the ttl in both inbound and outbound. You seem to only increment (recalculate) the checksum of the inn