- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
We are trying add different ntuple rules with different masks but nic doesn't allow to do so.
For example:
ethtool -N enp7s0f1 flow-type tcp4 src-ip 172.16.0.0 m 0.0.255.255 action -1
After adding above rule, when i try adding another rule with different mask, i get error
ethtool -N enp7s0f1 flow-type tcp4 src-ip 192.168.0.0 m 0.0.0.255 action -1
I got this error
rmgr: Cannot insert RX class rule: Invalid argument
and that error on dmesg
ixgbe 0000:07:00.1 enp7s0f1: Only one mask supported per port
And this is also valid for src-ip dst-ip src-port dst-port pairs. I can add a rule only if it has same mask for all options.
These are properties of my test machine.
Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
Kernel version: 3.15.9
ixgbe version: 4.0.1-k-rh7.1
OS: Centos 7
ethtool version: 3.8 (also tried with 3.18)
I wonder if there is a solution for that? Is it because of nic capability? or can it be fixed by recompiling driver with an option? etc.
Thanks for any help.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi labrisnetworks,
Thank you for the info, we will check on this.
rgds,
wb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi labrisnetworks,
Thank you for the info, we will check on this.
rgds,
wb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi labrisnetworks,
You may refer to this website
https://www.kernel.org/doc/Documentation/networking/ixgbe.txt https://www.kernel.org/doc/Documentation/networking/ixgbe.txt
Please refer to Intel Ethernet Flow Director:->Other ethtool Commands:
To enable Flow Director ethtool -K ethX ntuple on
To add a filter Use -U switch. e.g., ethtool -U ethX flow-type tcp4 src-ip 10.0.128.23 action 1
To see the list of filters currently present: ethtool -u ethX
Hope this helps.
rgds
wb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
Thanks but your answer isn't helpful at all. I know how to use ethtool.
My question was that what is the reason I got the error "only one mask supported per port"? Is there any way to solve that including to use another nic?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Labrisnetworks,
Thank you for the reply.I will further check on this.
rgds,
wb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Labrisnetworks,
Good day. Further checking adding ntuple filter to different mask is not doable.
Thanks,
wb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi labrisnetworks,
You may refer to this website
https://www.kernel.org/doc/Documentation/networking/ixgbe.txt https://www.kernel.org/doc/Documentation/networking/ixgbe.txt
Please refer to Intel Ethernet Flow Director:->Other ethtool Commands:
To enable Flow Director ethtool -K ethX ntuple on
To add a filter Use -U switch. e.g., ethtool -U ethX flow-type tcp4 src-ip 10.0.128.23 action 1
To see the list of filters currently present: ethtool -u ethX
Hope this helps.
rgds
wb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
Thanks but your answer isn't helpful at all. I know how to use ethtool.
My question was that what is the reason I got the error "only one mask supported per port"? Is there any way to solve that including to use another nic?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Labrisnetworks,
Thank you for the reply.I will further check on this.
rgds,
wb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Labrisnetworks,
Good day. Further checking adding ntuple filter to different mask is not doable.
Thanks,
wb

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page