examples/l2fwd-crypto: fix packet length while decryption
authorRohit Raj <rohit.raj@nxp.com>
Fri, 9 Apr 2021 13:14:59 +0000 (18:44 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Fri, 16 Apr 2021 10:43:33 +0000 (12:43 +0200)
commit62c0b4484c455e9ba03d04dcf8403fef17e7d22d
tree455db708dd7f6737bd0779f674be81ef5401479f
parent58266cc91efbf45e24fee3a15e23816da6941501
examples/l2fwd-crypto: fix packet length while decryption

There were some padding left when a packet gets decrypted. This
patch removes those padding.
This patch also removes the padding left after verifying auth of
the packet.

Fixes: e2cdfbd07c8a ("examples/l2fwd-crypto: fix port id type")
Cc: stable@dpdk.org
Signed-off-by: Rohit Raj <rohit.raj@nxp.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
examples/l2fwd-crypto/main.c