WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] question about rx_flip in netback

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, "gm281" <gm281@xxxxxxxxx>
Subject: [Xen-devel] question about rx_flip in netback
From: "Zang Hongyong" <zanghongyong@xxxxxxxxxx>
Date: Sun, 22 Jun 2008 11:12:04 +0800
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 21 Jun 2008 20:13:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
hi
In netback netif_be_start_xmit() 
        if (!netif->copying_receiver ||
            ((skb_headlen(skb) + offset_in_page(skb->data)) >= PAGE_SIZE)) {
                struct sk_buff *nskb = netbk_copy_skb(skb);
which calls skb_copy_bits()

it means when rx-flip, the skb data and frags are copied to another buffer. 
then the buffer flip with domU's pages.
so before page flip with domU, copying happens in dom0. Does rx-flip make any 
sense?


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] question about rx_flip in netback, Zang Hongyong <=