[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120514095446.3ce307d2@nehalam.linuxnetplumber.net>
Date: Mon, 14 May 2012 09:54:46 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: "Michael S. Tsirkin" <mst@...hat.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Joe Perches <joe@...ches.com>,
Jason Wang <jasowang@...hat.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, Ian.Campbell@...rix.com,
kvm@...r.kernel.org
Subject: Re: [PATCH RFC] tun: experimental zero copy tx support
On Sun, 13 May 2012 18:52:06 +0300
"Michael S. Tsirkin" <mst@...hat.com> wrote:
> + /* Userspace may produce vectors with count greater than
> + * MAX_SKB_FRAGS, so we need to linearize parts of the skb
> + * to let the rest of data to be fit in the frags.
> + */
Rather than complex partial code, just go through slow path for
requests with too many frags (or for really small requests).
Creating mixed skb's seems too easy to get wrong.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists