DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Zhou, Danny" <danny.zhou@intel.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH v2 0/5] Interrupt mode for PMD
Date: Wed, 4 Feb 2015 01:55:25 +0000	[thread overview]
Message-ID: <DFDF335405C17848924A094BC35766CF0AA7CFD4@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <20150203154012.7ef2495a@urahara>


> -----Original Message-----
> From: Stephen Hemminger [mailto:stephen@networkplumber.org]
> Sent: Wednesday, February 04, 2015 7:40 AM
> To: Zhou, Danny
> Cc: dev@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v2 0/5] Interrupt mode for PMD
> 
> On Tue,  3 Feb 2015 16:18:26 +0800
> Zhou Danny <danny.zhou@intel.com> wrote:
> 
> > 2) UIO only supports a single interrupt vector which has to been shared by
> > LSC interrupt and interrupts assigned to dedicated rx queues.
> 
> UIO uses msi-x and there is no fundamental reason it could not use one IRQ for
> LSC and one IRQ per queue. Might require some more work in base kernel
> but not that hard.

Ideally, the uio kernel module before kernel 3.6 (VFIO is supported in kernels 
3.6 and greater) needs to be back-ported to support multiple interrupt vectors.
Yes, it is not hard while it is user responsibility. 
As for multiplexing that single interrupt vectors, it needs to read up to two 
MMIO registers to determine what the real interrupt cause it, at the cost
of longer latency. 

      reply	other threads:[~2015-02-04  1:55 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-03  8:18 Zhou Danny
2015-02-03  8:18 ` [dpdk-dev] [PATCH v2 1/5] ethdev: add rx interrupt enable/disable functions Zhou Danny
2015-02-03 23:42   ` Stephen Hemminger
2015-02-04  2:18     ` Zhou, Danny
2015-02-03  8:18 ` [dpdk-dev] [PATCH v2 2/5] ixgbe: enable rx queue interrupts for both PF and VF Zhou Danny
2015-02-03  8:18 ` [dpdk-dev] [PATCH v2 3/5] igb: enable rx queue interrupts for PF Zhou Danny
2015-02-12 10:00   ` Liang, Cunming
2015-02-12 10:29     ` Ananyev, Konstantin
2015-02-13  2:48       ` Zhou, Danny
2015-02-13  7:20         ` Zhou, Danny
2015-02-13  9:53           ` Ananyev, Konstantin
2015-02-03  8:18 ` [dpdk-dev] [PATCH v2 4/5] eal: add per rx queue interrupt handling based on VFIO Zhou Danny
2015-02-13  3:48   ` Liang, Cunming
2015-02-17  8:14     ` Zhou, Danny
2015-02-03  8:18 ` [dpdk-dev] [PATCH v2 5/5] l3fwd-power: enable one-shot rx interrupt and polling/interrupt mode switch Zhou Danny
2015-02-03 23:40 ` [dpdk-dev] [PATCH v2 0/5] Interrupt mode for PMD Stephen Hemminger
2015-02-04  1:55   ` Zhou, Danny [this message]

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=DFDF335405C17848924A094BC35766CF0AA7CFD4@SHSMSX104.ccr.corp.intel.com \
    --to=danny.zhou@intel.com \
    --cc=dev@dpdk.org \
    --cc=stephen@networkplumber.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).