[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACKFLi=2mHfOS1Rz5RbSdyhepdjBqM+dj7Nh=CzARcYSwUTcSw@mail.gmail.com>
Date: Tue, 26 Apr 2016 22:55:04 -0700
From: Michael Chan <michael.chan@...adcom.com>
To: Alexander Duyck <aduyck@...antis.com>
Cc: eugenia@...lanox.com, bruce.w.allan@...el.com, saeedm@...lanox.com,
netdev@...r.kernel.org, intel-wired-lan@...ts.osuosl.org,
ariel.elior@...gic.com, Michael Chan <mchan@...adcom.com>
Subject: Re: [RFC PATCH 4/5] bnxt: Add support for segmentation of tunnels
with outer checksums
On Tue, Apr 19, 2016 at 12:06 PM, Alexander Duyck <aduyck@...antis.com> wrote:
> This patch assumes that the bnxt hardware will ignore existing IPv4/v6
> header fields for length and checksum as well as the length and checksum
> fields for outer UDP and GRE headers.
>
> I have no means of testing this as I do not have any bnx2x hardware but
> thought I would submit it as an RFC to see if anyone out there wants to
> test this and see if this does in fact enable this functionality allowing
> us to to segment tunneled frames that have an outer checksum.
>
> Signed-off-by: Alexander Duyck <aduyck@...antis.com>
Hi Alex, I just did a very quick test of this patch on our bnxt
hardware and it seemed to work.
I created a vxlan endpoint with udpcsum enabled and I saw TSO packets
getting through. I've verified that our hardware can be programmed to
either ignore outer UDP checksum or to calculate it. Current default
is to ignore ipv4 UDP checksum and calculate ipv6 UDP checksum.
Thanks.
> ---
> drivers/net/ethernet/broadcom/bnxt/bnxt.c | 9 +++++++--
> 1 file changed, 7 insertions(+), 2 deletions(-)
>
Powered by blists - more mailing lists