Re: [E1000-devel] RSS related questions

2014-12-19 Thread Skidmore, Donald C
thus just use one >queue. > >Thanks, >-Don Skidmore mailto:donald.c.skidm...@intel.com>> > >> -Original Message- >> From: lzh [mailto:lhqlzh...@163.com] >> Sent: Thursday, December 18, 2014 12:33 AM >> To: lzh; >> e1000-devel@lists.sourcef

Re: [E1000-devel] RSS related questions

2014-12-18 Thread lzh
tion creating packets you will just have one flow and thus just use one >queue. > >Thanks, >-Don Skidmore > >> -Original Message- >> From: lzh [mailto:lhqlzh...@163.com] >> Sent: Thursday, December 18, 2014 12:33 AM >> To: lzh; e1000-devel@lists.source

Re: [E1000-devel] RSS related questions

2014-12-18 Thread Skidmore, Donald C
12:33 AM > To: lzh; e1000-devel@lists.sourceforge.net > Cc: e1000-devel@lists.sourceforge.net > Subject: Re: [E1000-devel] RSS related questions > > > > > There is a another problem. When we set all 20 irqs to both cpu0 and > cpu1(echo 3 > "/proc/irq//smp

Re: [E1000-devel] RSS related questions

2014-12-18 Thread Tom Barbette
Hi, Are the packets correctly distributed to different queues? (look at /proc/interrupts). RSS which is used to split packets among queues only supports up to 16 queues. Moreover, for the hash function to be effective the packets have to be different (if you use a pktgen, that might not be the cas

Re: [E1000-devel] RSS related questions

2014-12-18 Thread lzh
There is a another problem. When we set all 20 irqs to both cpu0 and cpu1(echo 3 > "/proc/irq//smp_affinity".‍), the irq all go to cpu0. We use x86 64bit. so the irq balance is done by apic hardware (setting "msi_set_affinity" in linux/arch/x86/kernel/apic/io_apic.c), why it doesn't take effe