Re: [dpdk-dev] [PATCH v2 1/5] examples/ipsec-secgw: fix invalid packet length

2019-06-25 Thread Ananyev, Konstantin
Hi Akhil, > > Hi Konstantin, > > Could you please rebase this patchset. There are some conflicting changes > because of Marcin's patches. > Also could you please squash your doc patch with " examples/ipsec-secgw: > support packet fragmentation and reassembly " > As per convention followed,

Re: [dpdk-dev] [PATCH v2 1/5] examples/ipsec-secgw: fix invalid packet length

2019-06-25 Thread Akhil Goyal
Hi Konstantin, Could you please rebase this patchset. There are some conflicting changes because of Marcin's patches. Also could you please squash your doc patch with " examples/ipsec-secgw: support packet fragmentation and reassembly " As per convention followed, there should not be separate do

[dpdk-dev] [PATCH v2 1/5] examples/ipsec-secgw: fix invalid packet length

2019-06-06 Thread Konstantin Ananyev
for packets smaller then 64B some NICs reports pkt_len=64B. As ipsec-secgw (and librte_ipsec) relies on pkt_len value to determine payload length, that causes problems for small packets. To fix the issue, check that pkt_len matches values in IPv4/IPv6 header and re-adjust pkt_len if necessary. Fix