Hi All,

I would be very grateful for any comments on the issue described below:

I have Jailhouse setup on ARM64 platform with Zynq SoC, where I have 2 
Non-Root Linux cells. I need to provide network access for both NR-Linux 
cells. 
To achieve that, I have configured the root cell to have 2 VNICs - one for 
NR-Linux cell 1 (on .bdf 0<<3)  and one for NR-Linux cell 2 (on .bdf << 1). 

While network comms between the root and the cell 1 work fine (cells ping 
each other, cell 1  can use the root as a router and get external network 
access), network comms between the root and cell 2 do not work.

Initially, I expected it to be an issue with the VNIC's interrupt in cell 
2. That does not seem to be the case. When cell 2 starts ( Linux is 
booted), the count on the corresponding IRQ line is 6. What I've found so 
far, is that when I ping the cell 2 from the root, no ivshm_net_xmit() is 
invoked on the root as a result of the ping. 

I expected ivshm_net_xmit() to be invoked, because it looks to me this is 
how an interrupt is raised to a NR-Linux cell:
ivshm_net_xmit()->ivshm_net_notify_tx()->write to the relevant doorbell 
register->an interrupt is raised on the peer.

Funnily enough, if I move my NR-Linux cell 2 to use .bdf 0, rather than 
1<<3, or leave it to use 1<<3, but have only one VNIC in the root, then my 
cell 2 gets network access...

Has anyone seen anything similar?
Or could give any pointers of what might be going wrong?
Has anyone managed to have network access for > 1 NR-Linux cell on ARM64?

I could share my code and logs, if that could help anyone help me :).

Thank you very much in advance.

Best Regards,

Yelena

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/f38fba53-5ab2-45bc-94f7-0a191d6aa0d8n%40googlegroups.com.

Reply via email to