Skip to contentSkip to conversation

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

DISCUSSION ravi kerur 2 participants 3 messages Nov 4, 2009

lore
Share & tools
lore

ravi kerur

author
#0 lore raw

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
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 2 lines · ravi kerur

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?

author
#2 lore raw

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

Quoted 6 lines · Konrad Rzeszutek Wilk
Quoted 2 lines · ravi kerur

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
[email protected]
http://lists.xensource.com/xen-devel