Stefan Neuwirth
2006-Aug-17 16:05 UTC
[Xen-devel] Adaptec 4port tulip card - IRQ-Sharing dom0/domU
Hello, I''m running xen-3.0.2-3 and try to share the 4 ports of a adaptec 4port ethernet card between dom0 and domU by using pciback.hide. Therefor I had to modify the domU driver for the tulip cards due to the fact that there is only one eeprom on the board and all 4 ports of the card are using the same interrupt line. When starting the dom0 tulip driver (unmodified) I get two working eth-interfaces, after starting the domU tulip driver (modified) I got two eth-interfaces inside of the guest. These interfaces are looking good when doing ifconfig, but when setting them up, the interrupts are going to dom0 (CPU usage of dom0 round about 95%) and the interfaces in the guest are not working. So my question is: Is it possible to share the same interrupt between dom0 and domU? If have a working setup with two independent tulip based ethernet cards for domU and the 4port card in dom0 and vice versa - the only thing that is not working is the sharing of the 4port card between dom0 and domU :-( Regards Stefan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2006-Aug-18 08:59 UTC
Re: [Xen-devel] Adaptec 4port tulip card - IRQ-Sharing dom0/domU
It''s supposed to, but really it''s not at all well tested. I can point you at the code that''s involved, if that''s helpful to you? -- Keir On 17/8/06 5:05 pm, "Stefan Neuwirth" <neuwirt-xen-devel@trillian.hd.shuttle.de> wrote:> I''m running xen-3.0.2-3 and try to share the 4 ports of a adaptec > 4port ethernet card between dom0 and domU by using > pciback.hide. Therefor I had to modify the domU driver for the tulip > cards due to the fact that there is only one eeprom on the board and > all 4 ports of the card are using the same interrupt line. When > starting the dom0 tulip driver (unmodified) I get two working > eth-interfaces, after starting the domU tulip driver (modified) I got > two eth-interfaces inside of the guest. These interfaces are looking > good when doing ifconfig, but when setting them up, the interrupts are > going to dom0 (CPU usage of dom0 round about 95%) and the interfaces > in the guest are not working. > > So my question is: Is it possible to share the same interrupt between > dom0 and domU?_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel