From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gohar Irfan Subject: Re: Infiniband support Date: Thu, 07 Jan 2016 10:14:46 +0000 Message-ID: References: <1452159174.21055.127.camel@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8525086747338775133==" Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aH7bO-0004H5-GR for xen-devel@lists.xenproject.org; Thu, 07 Jan 2016 10:15:30 +0000 Received: by mail-lf0-f41.google.com with SMTP id m198so5388263lfm.0 for ; Thu, 07 Jan 2016 02:14:57 -0800 (PST) In-Reply-To: <1452159174.21055.127.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell , "xen-devel@lists.xenproject.org" List-Id: xen-devel@lists.xenproject.org --===============8525086747338775133== Content-Type: multipart/alternative; boundary=001a114021f61778ce0528bbbe4d --001a114021f61778ce0528bbbe4d Content-Type: text/plain; charset=UTF-8 Thanks a lot for the response. I am not sure if I asked it right: I already have Infiniband installed on my kernel and it is working fine in the user space. However, I would like to use the RDMA Verbs API inside the Xen code, like calling RDMA functions to send/receive data. That requires Infiniband headers to be included in the Xen code, but I'm have difficulty with that. So is there any sample code of someone already calling Infiniband/RDMA functions within Xen code or any guide on how to recompile Xen with custom headers? Thanks a lot! On Thu, Jan 7, 2016 at 2:34 PM Ian Campbell wrote: > On Wed, 2016-01-06 at 06:54 +0000, Gohar Irfan wrote: > > Hi, > > > > Can anyone guide me on how to compile Xen with Infiniband support? > > (Particularly Mellanox) > > I want to perform some RDMA read/write functionality from within the Xen > > code (it is for a course project) using the Verbs API. > > Xen itself doesn't typically contain I/O drivers at all, that is delegated > to the domain 0 or driver domain kernel(s). > > IOW you need to be looking at how to compile Infiniband support into your > dom0 kernel, i.e. in Linux or BSD or whatever, I would presume there are > plenty of resources on that subject on the web. > > Ian. > > > > > > Thanks, > > Gohar > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xen.org > > http://lists.xen.org/xen-devel > --001a114021f61778ce0528bbbe4d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks a lot for the response.

I am not sure if I asked it right: I= already have Infiniband installed on my kernel and it is working fine in t= he user space. However, I would like to use the RDMA Verbs API inside the X= en code, like calling RDMA functions to send/receive data. That requires In= finiband headers to be included in the Xen code, but I'm have difficult= y with that. So is there any sample code of someone already calling Infinib= and/RDMA functions within Xen code or any guide on how to recompile Xen wit= h custom headers?

Thanks a lot!
On Thu, Jan 7, 2016 at 2:34 PM Ian Campbell <ian.campbell@citrix.com> wrote:
On Wed, 2016-01-06 at 06:54 +0000, Gohar Ir= fan wrote:
> Hi,
>
> Can anyone guide me on how to compile Xen with Infiniband support?
> (Particularly Mellanox)
> I want to perform some RDMA read/write functionality from within the X= en
> code (it is for a course project) using the Verbs API.

Xen itself doesn't typically contain I/O drivers at all, that is delega= ted
to the domain 0 or driver domain kernel(s).

IOW you need to be looking at how to compile Infiniband support into your dom0 kernel, i.e. in Linux or BSD or whatever, I would presume there are plenty of resources on that subject on the web.

Ian.


>
> Thanks,
> Gohar
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel= @lists.xen.org
> http://lists.xen.org/xen-devel
--001a114021f61778ce0528bbbe4d-- --===============8525086747338775133== 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.xen.org http://lists.xen.org/xen-devel --===============8525086747338775133==--