Thread (1 message) 1 message, 1 author, 2014-01-02

Re: [PATCH] RFC: Introduce host_ifname field to struct rte_eth_dev_info

From: Stephen Hemminger <hidden>
Date: 2014-01-02 16:36:16

On Wed, 4 Dec 2013 16:39:05 +0100
Mats Liljegren [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help