Guillaume Thouvenin
2003-Dec-03 14:48 UTC
[Xen-devel] Why are you removing netif_carrier_on?
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? Secondly, you remove all netif_carrier_on() call. Why? I try to understand what is the problem and what work as to be done for using native linux drivers in Xen. Guillaume ------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> > 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel