[Intel-wired-lan] [PATCH next-queue 2/3] ixgbe: fix ipsec trailer length
Bowers, AndrewX
andrewx.bowers at intel.com
Mon Feb 26 23:13:47 UTC 2018
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Shannon Nelson
> Sent: Thursday, February 22, 2018 11:10 AM
> To: intel-wired-lan at lists.osuosl.org
> Cc: steffen.klassert at secunet.com; netdev at vger.kernel.org
> Subject: [Intel-wired-lan] [PATCH next-queue 2/3] ixgbe: fix ipsec trailer
> length
>
> Fix up the Tx trailer length calculation. We can't believe the trailer len from
> the xstate information because it was calculated before the packet was put
> together and padding added. This bit of code finds the padding value in the
> trailer, adds it to the authentication length, and saves it so later we can put it
> into the Tx descriptor to tell the device where to stop the checksum
> calculation.
>
> Fixes: 592594704761 ("ixgbe: process the Tx ipsec offload")
> Signed-off-by: Shannon Nelson <shannon.nelson at oracle.com>
> ---
> drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c | 24
> +++++++++++++++++++++++-
> 1 file changed, 23 insertions(+), 1 deletion(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list