Pradeep Singh, TLS-Chennai
2007-Apr-05 13:06 UTC
[Xen-devel] Xen net subsystem and driver model query?
Xen net subsystem and driver model query? Hi All, Xen changes employs the technique of backend and frontend drivers for network drivers also.Does this means Xen hypervisor code for networking subsystem is also heavily changed to employ this? Any pointers to the src code files. Thank you ~psr ----------------------- Pradeep Singh Member Technical Staff Server and Storage Group 51, Greams Road. HCL Technologies, Chennai DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. ----------------------------------------------------------------------------------------------------------------------- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mark Williamson
2007-Apr-07 16:44 UTC
Re: [Xen-devel] Xen net subsystem and driver model query?
> Xen changes employs the technique of backend and frontend drivers for > network drivers also.Does this means Xen hypervisor code for > networking subsystem is also heavily changed to employ this? >Xen itself doesn''t include any network-related code. The frontend driver runs in the domU kernel and just looks like an ethernet device to the rest of Linux''s networking subsystem. The backend device runs in the dom0 kernel and looks like a producer of ethernet packets to the rest of the dom0 kernel... Any modifications to the rest of the network stack to support this model are pretty minimal.> Any pointers to the src code files.The drivers are in: linux-2.6-sparse/drivers/xen/netfront/ linux-2.6-sparse/drivers/xen/netback/ The principle of operation of the block front and back drivers is very similar. Cheers, Mark _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pradeep Singh, TLS-Chennai
2007-Apr-10 07:31 UTC
RE: [Xen-devel] Xen net subsystem and driver model query?
RE: [Xen-devel] Xen net subsystem and driver model query? -----Original Message----- From: M.A. Williamson on behalf of Mark Williamson Sent: Sat 07-Apr-07 10:14 PM To: Pradeep Singh, TLS-Chennai Cc: xen-devel@lists.xensource.com Subject: Re: [Xen-devel] Xen net subsystem and driver model query? > Xen changes employs the technique of backend and frontend drivers for > network drivers also.Does this means Xen hypervisor code for > networking subsystem is also heavily changed to employ this? > Xen itself doesn''t include any network-related code. The frontend driver runs in the domU kernel and just looks like an ethernet device to the rest of Linux''s networking subsystem. The backend device runs in the dom0 kernel and looks like a producer of ethernet packets to the rest of the dom0 kernel... Any modifications to the rest of the network stack to support this model are pretty minimal. Thanks a lot for the help. ~psr > Any pointers to the src code files. The drivers are in: linux-2.6-sparse/drivers/xen/netfront/ linux-2.6-sparse/drivers/xen/netback/ The principle of operation of the block front and back drivers is very similar. Cheers, Mark DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. ----------------------------------------------------------------------------------------------------------------------- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel