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

Re: [Xen-devel] Why are you removing netif_carrier_on?

To: Guillaume Thouvenin <guillaume.thouvenin@xxxxxxxxxx>
Subject: Re: [Xen-devel] Why are you removing netif_carrier_on?
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Wed, 03 Dec 2003 21:06:25 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Wed, 03 Dec 2003 21:07:31 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Wed, 03 Dec 2003 09:48:56 EST." <1070462936.3fcdf7d8b6974@xxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> 
> I'm looking the difference between the ethernet driver (3c59x.c) for linux and
> the one for Xen. It seems that there is only two differences. 
> 
> Firstly, Xen don't use the copybreak scheme. If I'm right, the copybreak 
> scheme
> implies the use of smaller buffer according to the incoming packet size. Why
> can't you use this scheme with Xen? 

Currently, we use page-flipping to deliver all packets to guests
rather than ever copying. This is probably not entirely smart for
small packets.... It'll all change under the next gen IO scheme
any how.

> Secondly, you remove all netif_carrier_on() call. Why? 

Hmm. I suspect you're just diff'ing against a different driver
version.

Ian


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>