lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150805173830.00001a1c@unknown>
Date:	Wed, 5 Aug 2015 17:38:30 -0700
From:	Jesse Brandeburg <jesse.brandeburg@...el.com>
To:	Tom Herbert <tom@...bertland.com>
Cc:	Jeff Kirsher <jeffrey.t.kirsher@...el.com>,
	"David S. Miller" <davem@...emloft.net>,
	Anjali Singhai Jain <anjali.singhai@...el.com>,
	Linux Kernel Network Developers <netdev@...r.kernel.org>,
	<nhorman@...hat.com>, <sassmann@...hat.com>, <jogreene@...hat.com>,
	Catherine Sullivan <catherine.sullivan@...el.com>,
	jesse.brandeburg@...el.com
Subject: Re: [net-next 07/15] i40e/i40evf: Add TX/RX outer UDP checksum
 support for X722

On Wed, 5 Aug 2015 17:13:21 -0700
Tom Herbert <tom@...bertland.com> wrote:

> On Wed, Aug 5, 2015 at 4:52 PM, Jeff Kirsher
> <jeffrey.t.kirsher@...el.com> wrote:
> > From: Anjali Singhai Jain <anjali.singhai@...el.com>
> >                 if (vsi->back->flags & I40E_FLAG_WB_ON_ITR_CAPABLE)
> >                         tx_ring->flags = I40E_TXR_FLAGS_WB_ON_ITR;
> > +               if (vsi->back->flags & I40E_FLAG_OUTER_UDP_CSUM_CAPABLE)
> > +                       tx_ring->flags |= I40E_TXR_FLAGS_OUTER_UDP_CSUM;
> 
> Just curious... is there a difference between enabling the outer UDP
> checksum (of a tunnel) and just enabling checksum offload for UDP
> packets?

Yes, the hardware knows the difference (or we actually tell it
the difference) between a UDP packet and a tunnel inside a UDP
packet.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ