From mboxrd@z Thu Jan 1 00:00:00 1970 From: ravi kerur Subject: Q on ioctl support in netfront/netback Date: Sun, 14 Feb 2010 18:23:26 -0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0349936306==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0349936306== Content-Type: multipart/alternative; boundary=000e0cd5bda060d8af047f9a4d42 --000e0cd5bda060d8af047f9a4d42 Content-Type: text/plain; charset=ISO-8859-1 Hello!!! 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. Looked at the existing netfront and netback drivers and with my understanding it seems it is not possible. I looked at scsifront and scsiback, assuming storage drivers should be supporting ioctls, didn't see anything related to it. Wanted to know what's the mechanism to support ioctls. Inputs appreciated. Thanks -RK --000e0cd5bda060d8af047f9a4d42 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello!!!

Our network driver support ioctl calls from applications fo= r register reads/writes. I am wondering can ioctl calls be supported from d= omU 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.

Looked at the existing= netfront and netback drivers and with my understanding it seems it is not = possible. I looked at scsifront and scsiback, assuming storage drivers shou= ld be supporting ioctls, didn't see anything related to it. Wanted to k= now what's the mechanism to support ioctls. Inputs appreciated.

Thanks
-RK

--000e0cd5bda060d8af047f9a4d42-- --===============0349936306== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0349936306==--