WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Porting linux network driver to Xen

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Porting linux network driver to Xen
From: ravi kerur <rkerur@xxxxxxxxx>
Date: Wed, 4 Nov 2009 05:17:36 -0800
Delivery-date: Wed, 04 Nov 2009 05:18:03 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=FlL0xK6D14Ra0QURy+g+fjmWe7xDqLMQ24mYlUWIor0=; b=UNyPIIEeF3zXqe0BY6wfqH+rLWd/KHcegekB6UC+3yv3Hs1yd39bZKfRuTWZEKD0EA +aK6BmlyQAqYrWw8w3cCkFdU1P4IgQM7BQOtJbWnLQ3825CKIK3WLX3Y1A0S7sH/DH2r RbrqTESfyEIwfGXp79/Y6QwHpnMurIjt3nDxQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=XKJvMX+ru1OD5TJyG4+BFrKYyMgfOdk3YtFTeGnAMNN7c/bRPqsd2dRhufIBXaPi8l ShSBVrX/68LNT0pCbt0Y8uH3ibfHvo8fInRFjKcgK4LYuLpcLJESvuC0wJX7F5qenx6s /4fF2wW2oxeFtFWE9a3Twy/CiMtZXJf2cdHDU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi All,

I am working on porting an existing network driver from Linux to Xen, I understand network drivers needs netback and netfront functionality in order to work in Xen but I am unable to nail down the details of changes required esp.

a. will the existing driver go into hypervisor or dom0?
b. what changes are required in TX/RX rings for DMA in existing driver and how to incorporate them into netback/netfront,
c. handling IRQs...

Any pointers to existing nic driver or pointer to a document would be really helpful.

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