[Intel-wired-lan] [net-queue PATCH 1/2] ixgbe: Avoid loopback and fix boolean logic in ipsec_stop_data

Bowers, AndrewX andrewx.bowers at intel.com
Wed Jun 6 16:21:45 UTC 2018


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Shannon Nelson
> Sent: Tuesday, June 5, 2018 9:13 AM
> To: Duyck, Alexander H <alexander.h.duyck at intel.com>; intel-wired-
> lan at osuosl.org
> Subject: Re: [Intel-wired-lan] [net-queue PATCH 1/2] ixgbe: Avoid loopback
> and fix boolean logic in ipsec_stop_data
> 
> On 6/5/2018 8:11 AM, Alexander Duyck wrote:
> > This patch fixes two issues. First we add an early test for the Tx and
> > Rx security block ready bits. By doing this we can avoid the need for
> > waits or loopback in the event that the security block is already flushed out.
> > Secondly we fix the boolean logic that was testing for the Tx OR Rx
> > ready bits being set and change it so that we only exit if the Tx AND
> > Rx ready bits are both set.
> >
> > Signed-off-by: Alexander Duyck <alexander.h.duyck at intel.com>
> 
> Fixes: 49a94d74d948 ("ixgbe: add ipsec engine start and stop routines")
> Acked-by: Shannon Nelson <shannon.nelson at oracle.com>
> 
> > ---
> >   drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c |   13 +++++++++++--
> >   1 file changed, 11 insertions(+), 2 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list