hi

wonder if I use flowdirector filter correctly.

the machine has 12 cores,I want to use only 8 rx queues:
insmod ./ixgbe.ko FdirMode=0,0 RSS=8,8

then set vlan id filter:
./ethtool -K eth5 ntuple off
./ethtool -K eth5 ntuple on
./ethtool -U eth5 flow-type tcp4 vlan 0 vlan-mask 0xF000 action 0
./ethtool -U eth5 flow-type udp4 vlan 0 vlan-mask 0xF000 action 0
./ethtool -U eth5 flow-type tcp4 vlan 1 vlan-mask 0xF000 action 1
./ethtool -U eth5 flow-type udp4 vlan 1 vlan-mask 0xF000 action 1
./ethtool -U eth5 flow-type tcp4 vlan 2 vlan-mask 0xF000 action 2
./ethtool -U eth5 flow-type udp4 vlan 2 vlan-mask 0xF000 action 2
./ethtool -U eth5 flow-type tcp4 vlan 3 vlan-mask 0xF000 action 3
./ethtool -U eth5 flow-type udp4 vlan 3 vlan-mask 0xF000 action 3
./ethtool -U eth5 flow-type tcp4 vlan 4 vlan-mask 0xF000 action 4
./ethtool -U eth5 flow-type udp4 vlan 4 vlan-mask 0xF000 action 4
./ethtool -U eth5 flow-type tcp4 vlan 5 vlan-mask 0xF000 action 5
./ethtool -U eth5 flow-type udp4 vlan 5 vlan-mask 0xF000 action 5
./ethtool -U eth5 flow-type tcp4 vlan 6 vlan-mask 0xF000 action 6
./ethtool -U eth5 flow-type udp4 vlan 6 vlan-mask 0xF000 action 6
./ethtool -U eth5 flow-type tcp4 vlan 7 vlan-mask 0xF000 action 7
./ethtool -U eth5 flow-type udp4 vlan 7 vlan-mask 0xF000 action 7

my question is, as I disable flow director(FdirMode=0,0) , can I still
set the filter like that?
why the FdirMode must be 0 when i want to use less rx queues?

what 's the exact meaning of "flow director"? confused with RSS and rx
queue. I think packets belong to same flow must go to same rx queue,
why we need the "flow director"?

thanks
rui

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
E1000-devel mailing list
[email protected]
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