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-users

[Xen-users] direct access to ethernet card from domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] direct access to ethernet card from domU
From: Miroslav Ruda <ruda@xxxxxxxxxxx>
Date: Fri, 01 Jul 2005 12:21:17 +0200
Delivery-date: Fri, 01 Jul 2005 10:19:52 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050317)
Hello,

I would like to test difference (mostly in performance) between bridged ethernet and direct access to ethernet card in xen (2.0.6, kernel 2.4.30-xenU). Machine has several on-board ethernet cards, so I can leave one ethernet for domO and second for domU.

How can I compile ethernet driver into domU kernel? I have tried
CONFIG_XEN_PHYSDEV_ACCESS=y
CONFIG_NETDEVICES=y
CONFIG_NET_ETHERNET=y
+ethernet driver itself

but when linking vmlinux, I have got


arch/xen/drivers/blkif/drv.o: In function `blkif_connect':
arch/xen/drivers/blkif/drv.o(.text+0x3601): undefined reference to `direct_remap_area_pages'
arch/xen/drivers/netif/drv.o: In function `netif_connect':
arch/xen/drivers/netif/drv.o(.text+0x3832): undefined reference to `direct_remap_area_pages' arch/xen/drivers/netif/drv.o(.text+0x386f): undefined reference to `direct_remap_area_pages'

Does it means that I have to allow also
CONFIG_XEN_PRIVILEGED_GUEST=y

With this I'm able to compile kernel, but is it correct way?

--
                  Mirek Ruda

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

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