DPDK patches and discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Mats Liljegren <liljegren.mats2@gmail.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH] RFC: Introduce host_ifname field to struct rte_eth_dev_info
Date: Thu, 2 Jan 2014 08:36:16 -0800	[thread overview]
Message-ID: <20140102083616.2872c24a@nehalam.linuxnetplumber.net> (raw)
In-Reply-To: <CA+xJJ1-F5Xi6dx8o1Dy12a_5Kz0_DVr=TSJVfxmQA1OkJFCG2A@mail.gmail.com>

On Wed, 4 Dec 2013 16:39:05 +0100
Mats Liljegren <liljegren.mats2@gmail.com> wrote:

> I played around with pcap to compare it against "pure" DPDK user-space
> driver. I realized that interrupt affinity suddenly becomes important,
> since it uses interrupts. So I needed a way to set it.
> 
> The only place where I know which core will handle which pcap
> interface, is within my DPDK application. But DPDK did not save the
> host interface name anywhere, so it was nowhere to be found.
> 
> I created a patch for this, found below. Is this something that could
> be upstreamed?
> 
> Best regards
>   Mats Liljegren

interface name can be changed while application is running not sure
if you want to cache it! Ifindex can't change.

Also, if you use sysfs you can get/set irq_affinity based on PCI address.

      parent reply	other threads:[~2014-01-02 16:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-04 15:39 Mats Liljegren
2014-01-02 13:51 ` Thomas Monjalon
2014-01-02 16:36 ` Stephen Hemminger [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=20140102083616.2872c24a@nehalam.linuxnetplumber.net \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.org \
    --cc=liljegren.mats2@gmail.com \
    /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).