On 06/03/2011 01:23 AM, Jon Zhou wrote:
> According to the 82599 datasheet
>
> Flow Director Filters: up to 32 KB Flows by Hash Filters or up to 8 KB 
> Perfect Match Filters
>
> I create  filters like below:
> ./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
>
> My questions are:
>
> #1. The above are hash filter or perfect match filter? What is hash filter?
>
> #2. How many number of filters I can set? how can I know the size of the 
> filters?
>
> Thanks
> jon
A hash filter in an inexact filter that is used during ATR.

For ntuple based filters also known as perfect match filters the maximum 
number supported is 8190.  However that is with the module option 
FdirPballoc=2.  The default configuration only supports 2046 perfect 
filters.  More information on FdirPballoc should be included with the 
README that came with the driver.

Thanks,

Alex

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
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