Yes. You can only set affinity of an interrupt line to one core.

Todd Fujinaka
Software Application Engineer
Networking Division (ND)
Intel Corporation
todd.fujin...@intel.com
(503) 712-4565

-----Original Message-----
From: 蒙奇D小碗豆 [mailto:wenx05124...@163.com] 
Sent: Wednesday, October 15, 2014 3:45 AM
To: e1000-devel@lists.sourceforge.net
Subject: [E1000-devel] igb driver irq affnity

Hi,

1.
The netwrok card I350 running with igb driver. There are 8 tx-rx  queues, each 
queue has a interrupt vector.
I can only set a irq line to one core. If I set the affnity to multiple core, 
the hardware interrupt only comes out  on one core.
# uname -r
2.6.32-279.19.10.el6.x86_64

# cat /proc/interrupt | grep eth1
 42:      29424          0          0          0          0          0          
0          0  IR-PCI-MSI-edge      eth1-TxRx-0
 43:     107313          0          0          0          0          0          
0          0  IR-PCI-MSI-edge      eth1-TxRx-1
 44:      56983          0          0          0          0          0          
0          0  IR-PCI-MSI-edge      eth1-TxRx-2
 45:     218351          0          0          0          0          0          
0          0  IR-PCI-MSI-edge      eth1-TxRx-3
 46:      24512          0          0          0          0          0          
0          0  IR-PCI-MSI-edge      eth1-TxRx-4
 47:     221472          0          0          0          0          0          
0          0  IR-PCI-MSI-edge      eth1-TxRx-5
 48:      13703          0          0          0          0          0          
0          0  IR-PCI-MSI-edge      eth1-TxRx-6
 49:      86444          0          0          0          0          0          
0          0  IR-PCI-MSI-edge      eth1-TxRx-7

# cat /proc/irq/42/smp_affnity
ff
I also download the newest version of the igb driver, it's also like this.


I compiled a new kernel 3.10.54.  The interrupt vector can assigned to all the 
cores. It shows PCI-MSI-edge but not IR-PCI-MSI-edge # uname -r
3.10.54

# cat /proc/interrupt | grep eth1
 52:        174          6          8         26         30          5          
4          1   PCI-MSI-edge      eth1-TxRx-0
 53:          9          4          3         22          2          7          
1          0   PCI-MSI-edge      eth1-TxRx-1
 54:         11          5          3         23          9          4          
4          0   PCI-MSI-edge      eth1-TxRx-2
 55:         62         24         25         36         47         35         
21         14   PCI-MSI-edge      eth1-TxRx-3
 56:         95         19         15         27         51         19         
18          2   PCI-MSI-edge      eth1-TxRx-4
 57:         14          5          0         23          1          2          
3          0   PCI-MSI-edge      eth1-TxRx-5
 58:         45          4          3         25          8          4          
1          1   PCI-MSI-edge      eth1-TxRx-6
 59:        122         37         37         44         85         62         
43         17   PCI-MSI-edge      eth1-TxRx-7

# cat /proc/irq/42/smp_affnity
ff

I investigate the kernel code, It seems there are something matter with 
interrupt-mapping? How Can I fix this in the 2.6.32-279.19.10.el6.x86_64?

BR
Xu Wen





------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to