All of lore.kernel.org
 help / color / mirror / Atom feed
From: Neil Turton <nturton@solarflare.com>
To: Zang Hongyong <zanghongyong@ncic.ac.cn>
Cc: xen-devel <xen-devel@lists.xensource.com>, gm281 <gm281@cam.ac.uk>
Subject: Re: SetPageForeign in netback
Date: Fri, 27 Jun 2008 16:59:01 +0100	[thread overview]
Message-ID: <48650E45.9040505@solarflare.com> (raw)
In-Reply-To: <20080625004218.47BAC13681C@ncic.ac.cn>

Hi Zang,

You wrote:
> I noticed that the plug-in accelerator is available in Xen3.2 Source code. The
> accelerator is used for direct IO network devices such as Infiniband and
> Solarflare 10G Nic.
> Can it be used for the PCIE IOV devices? 
> and is there any referece implementation of PCIE IOV Nics now?	

The accelerator plug-in framework is designed to be general-purpose, so
it should work fine with IOV devices.  It requires a plug-in driver to
be written for both netfront and netback.  Between them, these drivers
will need to ensure that BAR pages are mapped into the guest, IOMMU page
tables are setup and interrupts passed to the guest.  These jobs are
outside the scope of the accelerator framework which is just concerned
with handing over traffic from netfront/netback.

I don't know of a reference implementation of an IOV NIC - just the
Solarflare one, but the PCI passthrough code should help you with
mapping interrupts and pages.  Which NIC are you wanting to use?

Cheers, Neil.

  reply	other threads:[~2008-06-27 15:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-25  0:50 Re: Re: Re: Re: SetPageForeign in netback Zang Hongyong
2008-06-27 15:59 ` Neil Turton [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-06-19  0:40 Zang Hongyong
2008-06-19  7:22 ` Keir Fraser
2008-06-15 16:04 Zang Hongyong
2008-06-18 10:52 ` Grzegorz Miłoś

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48650E45.9040505@solarflare.com \
    --to=nturton@solarflare.com \
    --cc=gm281@cam.ac.uk \
    --cc=xen-devel@lists.xensource.com \
    --cc=zanghongyong@ncic.ac.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.