login
Header Space

 
 

Re: [6/6] [VIRTIO] net: Allow receiving SG packets

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Miller <davem@...>
Cc: <rusty@...>, <virtualization@...>, <virtualization@...>, <netdev@...>
Date: Monday, April 21, 2008 - 9:13 pm

On Mon, Apr 21, 2008 at 01:04:18PM -0700, David Miller wrote:

The +2 (i.e., extra +1) is for the virtio GSO header.
 

Theoretically yes :) But for virtualisation the underlying transport
may present meta-physically contiguous memory that is physically
discrete.  So we may actually need to have multiple SG entries for
skb->data.  However, no current code path should generate packets
with both long skb->data areas *and* skb page frags so we could
just drop them if they show up.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [6/6] [VIRTIO] net: Allow receiving SG packets, Rusty Russell, (Mon Apr 21, 3:06 pm)
Re: [6/6] [VIRTIO] net: Allow receiving SG packets, David Miller, (Mon Apr 21, 4:04 pm)
Re: [6/6] [VIRTIO] net: Allow receiving SG packets, Rusty Russell, (Mon Apr 21, 10:50 pm)
Re: [6/6] [VIRTIO] net: Allow receiving SG packets, David Miller, (Mon Apr 21, 10:55 pm)
Re: [6/6] [VIRTIO] net: Allow receiving SG packets, Herbert Xu, (Mon Apr 21, 9:13 pm)
speck-geostationary