[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100826.170614.02282407.davem@davemloft.net>
Date: Thu, 26 Aug 2010 17:06:14 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: shemminger@...tta.com
Cc: tsi@...berta.ca, eric.dumazet@...il.com, bhutchings@...arflare.com,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
kuznet@....inr.ac.ru, pekkas@...core.fi, jmorris@...ei.org,
yoshfuji@...ux-ipv6.org, kaber@...sh.net
Subject: Re: RFC: MTU for serving NFS on Infiniband
From: Stephen Hemminger <shemminger@...tta.com>
Date: Thu, 26 Aug 2010 16:53:59 -0700
> On Thu, 26 Aug 2010 08:43:42 -0600 (Mountain Daylight Time)
> Marc Aurele La France <tsi@...berta.ca> wrote:
>
>> Right. And a 65520 MTU allocates sk_buff's with 128K contiguous payloads.
>
> Infiniband device driver needs to be fixed to do SG and checksum offload.
Agreed, this problem is in the infiniband layer and should be fixed
there.
But I fear there is a real potential blocker for this, if the
infiniband layer can't checksum transmit packets in hardware we cannot
legitimately add SG support.
Paged SKBs can have references to page cache pages and similar. These
can be updated asynchronously to the transmit, there is no locking at
all to freeze the contents, and therefore full checksum offload is
required to support SG correctly.
So don't get the idea to do the checksum in software in the infiniband
layer, and advertize hw checksumming support, to get around this :-)
--
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