DPDK usage discussions
 help / color / mirror / Atom feed
From: Prem Chaitanya <prem@telaverge.com>
To: users@dpdk.org
Subject: [dpdk-users] Facing issues with Interrupt mode (IGB,VFIO)
Date: Tue, 13 Dec 2016 14:43:41 +0530	[thread overview]
Message-ID: <CAJ2kfY=A5x5KJjHW54TZZujM5qudJGYz9TuZHQfrO7QQa8e3=A@mail.gmail.com> (raw)

Hi All,

We modified the l3fwd application to run in interrupt+poll mode. The driver
we used was IGB with Intel I350 NIC.
When we ran with 1 lcore and 1 queue, there were no issues. When we tried
to run with 2 lcores and 2 Rx-queues we are not getting interrupts.
In one of the documentation(DPDK-201.pdf), it was mentioned that IGB driver
doesn't support interrupt mode with multiple lcores since it supports only
1 epoll-fd.
Can you please confirm if this is the case?

Then we went ahead and loaded the VFIO driver and tried to run the same
application.
Now we get an interrupt once and after that when we go back to waiting on
epoll, we dont receive any further interrupts.
But when we print the stats for rx-packets we see that there are packets
waiting in the NIC Rx queue.
Same behavior is observed even when we run application with 1 lcore and 1
Rx queue.

We took the output of "/proc/interrupts", and we don't see the interrupt
count increasing there either.
Looks like interrupt is not getting raised eventhough packets arrive.

Would appreciate the help.

-- 
Regards
Prem

             reply	other threads:[~2016-12-13  9:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-13  9:13 Prem Chaitanya [this message]
2016-12-13 22:22 ` Stephen Hemminger
2016-12-15  3:42   ` Prem Chaitanya

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='CAJ2kfY=A5x5KJjHW54TZZujM5qudJGYz9TuZHQfrO7QQa8e3=A@mail.gmail.com' \
    --to=prem@telaverge.com \
    --cc=users@dpdk.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).