[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJZOPZK_b=Ve1YXsHfZjyeOQiMxj_jAKscmgZT_AKCEK1+V1UA@mail.gmail.com>
Date: Thu, 2 Jan 2014 23:31:48 +0200
From: Or Gerlitz <or.gerlitz@...il.com>
To: Joseph Gasparakis <joseph.gasparakis@...el.com>
Cc: "Kirsher, Jeffrey T" <jeffrey.t.kirsher@...el.com>,
David Miller <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"gospo@...hat.com" <gospo@...hat.com>,
"sassmann@...hat.com" <sassmann@...hat.com>,
"Brandeburg, Jesse" <jesse.brandeburg@...el.com>
Subject: Re: [net-next v4 07/16] i40e: Rx checksum offload for VXLAN
On Thu, Jan 2, 2014 at 10:57 PM, Joseph Gasparakis
<joseph.gasparakis@...el.com> wrote:
>
> > The comment says that the driver has to compute the udp checksum
> > **if** the packet has an outer udp checksum,
> > but the driver call to issue checksumming is done unconditionally
>
>
> This code runs when the right bits are set in the rx hardware descriptor
> field (rx_ptype and rx_status), which implies the hardware has detected
> ipv4 tunneling and there is non zero UDP csum.
Got it -- thanks for explaining, also for the pointer on where
skb->encapsulation is set
--
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