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

Re: [Xen-devel] Q on ioctl support in netfront/netback

To: Paul Durrant <paul.durrant@xxxxxxxxxx>
Subject: Re: [Xen-devel] Q on ioctl support in netfront/netback
From: ravi kerur <rkerur@xxxxxxxxx>
Date: Mon, 15 Feb 2010 07:54:02 -0800
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 15 Feb 2010 07:54:52 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=0RFj1UFF5TucdHAIPX9lxZ9CstyZccPO5S/6sUYKluc=; b=bdwtPu2NAqTMOqsR0NdFuUQiHZmPUBZHw1Zy/pKw/+JprMrwong3g1Gkca/zAzNZYn /EvAvM1kLsfwNcJ5xBYCmiulOJF9xJYF9BRL5GIUBg/IG7c71EBjZCGV9YGml2CiqDFk AUdzu0PN+AA3bnSj4ea6fpWoFCF26KFNGmKug=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=kTZjvS6KDT6+19NkW7n3nf/UQp7Vrt5lfKtilIA4pFB22dy5+p/bk4DK53O4PF1ZjB uLFfXi0v9eukTZ44Aki6M1hUU+bKSc6r1Lsah3STAcMHeWrdg75090fFqK3UJwVR8kg6 gWyWAR9ZiO8RriWq1gXMarDdn9H4kOanrV7PA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B791671.4050902@xxxxxxxxxx>
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>
References: <dfc283f41002141823o7ca47994g7530e5cfc6ef7ad6@xxxxxxxxxxxxxx> <4B791671.4050902@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Paul,

Registers are not in netback, they are h/w registers on NIC and the driver supports reads/writes via ioctl calls. Driver is in dom0 and application which reads/writes registers is run in domU.

-RK

On Mon, Feb 15, 2010 at 1:40 AM, Paul Durrant <paul.durrant@xxxxxxxxxx> wrote:
ravi kerur wrote:

Our network driver support ioctl calls from applications for register reads/writes. I am wondering can ioctl calls be supported from domU to dom0? i.e call flow will be

application invokes ioctl ---> netfront ioctl ----->via xenbus ------> netback ioctl ------> to actual driver in dom0

with the return path in similar fashion.


I'm wondering precisely what register in netback you wish to access?

--
===============================
Paul Durrant, Software Engineer

Citrix Systems (R&D) Ltd.
First Floor, Building 101
Cambridge Science Park
Milton Road
Cambridge CB4 0FY
United Kingdom
===============================

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