|
From: Alexander D. <ale...@in...> - 2012-10-08 22:22:17
|
On 10/06/2012 11:50 AM, Frank Gamper wrote: > Hi everybody, > I'm trying to use the Hardware Filters from the ixgbe network driver but somehow I always get error messages when trying to set the filters. > I installed the ixgbe module like this: > cd ixgbe-3.9.15/src > make > mane install > modprobe ixbge FdirMode=2 FdirPballoc=2 > > > Then I tried to set the filters by doing: > sudo ethtool -U eth2 flow-type ip4 src-ip 1.1.1.1 action -1 > but I get the message: > rmgr: Cannot insert RX class rule: Operation not supported > > The network adapter is an Intel 82599... > > Does anyone know whats wrong/what I'm doing wrong? > > Thank you, > Frank > > There could be a couple of possible issues. First, what kernel are you using? You need to be using a 2.6.30 or later kernel to support ntuple filtering. Second, have you enabled ntuple filtering for the port you are using? The FdirMode parameter is a comma separated value. If you specify FdirMode=2, but have 2 ports, the second port will not be enabled. To enable it for 2 ports you would need to specify FdirMode=2,2. You can also verify that ntuple filtering is enabled by running "ethtool -k eth2". Finally, what version of ethtool are you using? You can verify it via either "ethtool --version", or the version should be the first line of "ethtool -h". In order to support ntuple filters you need to be using version 2.6.39 of ethtool, otherwise unsupported commands are used. Thanks, Alex |