inputs on porting network(nic) drivers from Linux to Xen

View: New views
3 Messages — Rating Filter:   Alert me  

inputs on porting network(nic) drivers from Linux to Xen

by ravi kerur :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am looking for inputs to port an existing pci nic driver from Linux to Xen, I understand nic driver needs netback and netfront functionality in order to work in Xen but I am unable to nail down the details of changes required esp. what changes are required in TX/RX buffers for DMA in existing driver and change them for netback/netfront functionality, handling IRQs... A pointer to existing nic driver or if pointer to document would be really helpful.

Thanks
-RK

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

Re: inputs on porting network(nic) drivers from Linux to Xen

by Konrad Rzeszutek Wilk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Nov 03, 2009 at 09:41:43PM -0800, ravi kerur wrote:
> I am looking for inputs to port an existing pci nic driver from Linux to
> Xen, I understand nic driver needs netback and netfront functionality in

As in you want to drive the NIC in the hypervisor?

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

Re: inputs on porting network(nic) drivers from Linux to Xen

by ravi kerur :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Nopes, I need this driver to run in dom0 and domU via netback and netfront. My main confusion is what changes to be done such that existing DMA Tx/Rx rings in native driver starts talking via netfront/netback between domU's, dom0 and NIC. Inputs appreciated.

Thanks
-RK

On Wed, Nov 4, 2009 at 10:40 AM, Konrad Rzeszutek Wilk <konrad.wilk@...> wrote:
On Tue, Nov 03, 2009 at 09:41:43PM -0800, ravi kerur wrote:
> I am looking for inputs to port an existing pci nic driver from Linux to
> Xen, I understand nic driver needs netback and netfront functionality in

As in you want to drive the NIC in the hypervisor?


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