[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: Paul Durrant <paul.durrant@xxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.