[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.