Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
156 Views

IXGBE driver 4.2.1-k flow director not working

Hello,

I have enabled flow director on Intel NICs using IXGBE driver to classify TCP and UDP traffic but it is not working. Following are the details. Kindly let me know what is missing in the configuration.

1) Driver version:

ethtool -i eth1
driver: ixgbe
version: 4.2.1-k
firmware-version: 0x800005b1
expansion-rom-version:
bus-info: 0000:03:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no

 

2) ntuple is enabled

ethtool -k eth1 | grep ntuple
ntuple-filters: on

3) TCP and UDP specific rules

ethtool -u eth1
2 RX rings available
Total 2 rules

Filter: 2044
Rule Type: UDP over IPv4
Src IP addr: 0.0.0.0 mask: 255.255.255.255
Dest IP addr: 0.0.0.0 mask: 255.255.255.255
TOS: 0x0 mask: 0xff
Src port: 0 mask: 0xffff
Dest port: 0 mask: 0xffff
VLAN EtherType: 0x0 mask: 0xffff
VLAN: 0x0 mask: 0xffff
User-defined: 0x0 mask: 0xffffffffffffffff
Action: Direct to queue 0

Filter: 2045
Rule Type: TCP over IPv4
Src IP addr: 0.0.0.0 mask: 255.255.255.255
Dest IP addr: 0.0.0.0 mask: 255.255.255.255
TOS: 0x0 mask: 0xff
Src port: 0 mask: 0xffff
Dest port: 0 mask: 0xffff
VLAN EtherType: 0x0 mask: 0xffff
VLAN: 0x0 mask: 0xffff
User-defined: 0x0 mask: 0xffffffffffffffff
Action: Direct to queue 1

4) Statistics show nothing on queue 1

ethtool -S eth1

tx_queue_0_packets: 199424246
tx_queue_0_bytes: 281121860462
tx_queue_0_bp_napi_yield: 0
tx_queue_0_bp_misses: 0
tx_queue_0_bp_cleaned: 0
tx_queue_1_packets: 2
tx_queue_1_bytes: 180
tx_queue_1_bp_napi_yield: 0
tx_queue_1_bp_misses: 0
tx_queue_1_bp_cleaned: 0

...

rx_queue_0_packets: 33174212
rx_queue_0_bytes: 3932596549
rx_queue_0_bp_poll_yield: 0
rx_queue_0_bp_misses: 0
rx_queue_0_bp_cleaned: 0
rx_queue_1_packets: 0
rx_queue_1_bytes: 0
rx_queue_1_bp_poll_yield: 0
rx_queue_1_bp_misses: 0
rx_queue_1_bp_cleaned: 0

...

 

5) ethtool -S eth1 | grep -i fdir
fdir_match: 0
fdir_miss: 0
fdir_overflow: 0

6) No interrupts on queue 1

cat /proc/interrupts | grep eth1
37: 20305 0 0 0 1 0 0 44348340 PCI-MSI 1572864-edge eth1-TxRx-0
38: 0 33 0 0 0 1 0 4771 PCI-MSI 1572865-edge eth1-TxRx-1
39: 0 0 0 0 0 0 0 0 PCI-MSI 1572866-edge eth1

0 Kudos
11 Replies
Highlighted
Moderator
145 Views

Hi Ravik2,

Thank you for posting in our Intel® Ethernet Communities Page.

We are sorry to hear about the issue that you are experiencing with your network adapter.

So we would have a better understanding of your issue, please provide the following information:

1. Please download and run our Intel® System Support Utility from this page, https://downloadcenter.intel.com/download/26735/Intel-System-Support-Utility-for-the-Linux-Operating.... After running it, you will be given an option to save the logs to a text file, please do so and attach the file on your reply.

2. May we know the exact model of your Intel NIC?

We look forward to hearing from you. If we do not get your reply, we will follow up after 3 business days.



Best Regards,

Alfred S

Intel® Customer Support


0 Kudos
Highlighted
Beginner
141 Views

Hello Alfred,

It is a ubuntu kernel with proprietary operating system. Please let me know what information you need from the script, I will try to get it. Running the script gets following output.

Kernel - 4.4.177 x86_64

Driver -- ethtool -i eth1
driver: ixgbe
version: 4.2.1-k
firmware-version: 0x800005b1
expansion-rom-version:
bus-info: 0000:03:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no

bash ssu.sh

This product is not supported on this operating system.
Would you like to try to scan? (y/n)y

*****************************Interface info from script******************************

- Interface eth1
Supports auto-negotiation:"Yes"
Advertised auto-negotiation:"Yes"
Auto-negotiation:"on"
Availability:"UP BROADCAST RUNNING PROMISC MULTICAST MTU:1536 Metric:1"
Capabilities:"[40] Power Management version 3"
Capabilities:"[50] MSI: Enable- Count=1/1 Maskable+ 64bit+"
Capabilities:"[70] MSI-X: Enable+ Count=64 Masked-"
Capabilities:"[a0] Express Endpoint, MSI 00"
Capabilities:"[100] Advanced Error Reporting"
Capabilities:"[140] Device Serial Number 00-00-c9-ff-ff-00-00-00"
Capabilities:"[150] Alternative Routing-ID Interpretation (ARI)"
Capabilities:"[160] Single Root I/O Virtualization (SR-IOV)"
Capabilities:"[1b0] Access Control Services"
Capabilities:"[1c0] Latency Tolerance Reporting"
Caption:"Not Available"
Default IP Gateway:"Not Available"
DHCP Enabled:"Yes"
DHCP Lease Expires:"Not Available"
DHCP Lease Obtained:"Not Available"
DHCP Server:"Not Available"
Driver:"ixgbe"
Driver Path:""
Driver Provider:""
Driver Version:""
Duplex:"Full"
Firmware Version:"0x800005b1"
Interface:"eth1"
I/O Ports:"Not Available"
IP Address:"Not Available"
IP Subnet:"Not Available"
MAC Address:"00:A0:C9:00:00:00"
Location:"03:00.0"
Manufacturer:"Not Available"
Net Connection ID:"Ethernet"
Port:"Other"
Power Management:"Supports Wake-on: umbg"
Power Management:"Wake-on: g"
Speed:"10000Mb/s"
Supported link modes:"1000baseT/Full, 10000baseT/Full, Supported pause frame use: No"
Advertised link modes:"1000baseT/Full, 10000baseT/Full, Advertised pause frame use: No"
Partner advertised link modes:"Not Available"

 

*****************Processor info from script***************************

- Processor
- "Intel(R) Xeon(R) CPU D-1548 @ 2.00GHz"
Architecture:"Not Available"

Byte Order:"Not Available"
Cache Size:"12288 KB"
Caption:"Intel(R) Xeon(R) CPU D-1548 @ 2.00GHz"
Characteristics:"Not Available"
CPU Speed (Minimum):"2600.000"
CPU Speed (Maximum):"Not Available"
Current Voltage:"Not Available"
External Clock:"Not Available"
Family:"Pentium Pro"
Flags:"Not Available"
ID:"63 06 05 00 FF FB EB BF"
Level 1 Cache:"Not Available"
Level 2 Cache:"Not Available"
Level 3 Cache:"Not Available"
Load:"Load average: 2.07 1.88 2.09 3/331 6820

Thanks,

Ravi

 

0 Kudos
Highlighted
Moderator
135 Views

Hi Ravik2,

Thank you for your response, and for trying our suggestions.

Does the script mention anything about the system and the network card type model? If yes, that is what we need from the script.

We look forward to your reply. Should we not get your reply, we will follow up after three business days.


Best Regards,

Alfred S

Intel® Customer Support


0 Kudos
Highlighted
Beginner
125 Views

Hello Alfred,

It is not a NIC, it is SoC and whatever information from the script on the interface is given in my previous post under "interface eth1"

 

Thanks,

Ravi

0 Kudos
Highlighted
Moderator
116 Views

Hi Ravik2,

Thank you for your response and for clarifying the type of product that you have.

Since it is an SOC, do you know the base controller of the built-in network card?

Please also provide us the make and model of the system where this SOC is integrated to.

We look forward to your reply. Should we not get your reply, we will follow up after three business days.


Best Regards,

Alfred S

Intel® Customer Support


0 Kudos
Highlighted
Beginner
109 Views

Hello Alfred,

I am not sure whether you are trying to help or just extracting our product information. Can you tell me why you need make and model of the system where SoC is integrated and how it is related to Flow director functionality of IXGBE driver? I have given you the flow director configuration, driver version, firmware version and 'cpu' and 'eth1 interface' information from the script. Can you not figure out from those information? Moreover, I get just one response per day not sure what time zone you are?

Thanks,

Ravi

0 Kudos
Highlighted
Beginner
106 Views

Hello Alfred,

Can you let me know the syntax to use flexible filter? From the following readme, i see

https://downloadmirror.intel.com/14687/eng/readme.txt

Flex Byte Flow Director Filters
-------------------------------
The driver also supports matching user-defined data within the packet payload.
This flexible data is specified using the "user-def" field of the ethtool
command in the following way:
+----------------------------+--------------------------+
| 31    28    24    20    16 | 15    12    8    4    0  |
+----------------------------+--------------------------+
| offset into packet payload | 2 bytes of flexible data |
+----------------------------+--------------------------+

For example,
  ... user-def 0x4FFFF ...

tells the filter to look 4 bytes into the payload and match that value against
0xFFFF. The offset is based on the beginning of the payload, and not the
beginning of the packet.  

 

Thanks,

Ravi

 

0 Kudos
Highlighted
Moderator
97 Views

Hi Ravik2,

Thank you for providing that information.

We will continue checking this and the information that provided is invaluable to us.

Please allow us some time to check on this. We hope for your understanding regarding this

We will get back to you no later than 3 business days from now.



Best Regards,

Alfred S

Intel® Customer Support 


0 Kudos
Highlighted
Beginner
90 Views

Hello Alfred,

Can you let me know the inputs to my question?

Thanks.

0 Kudos
Highlighted
Moderator
82 Views

Hi Ravik2,

Thank you for waiting for our update.

To answer your question, why we are asking for details of your system and the ethernet controller, we need to ask that so we can properly assist you.

System on Chips (SOC) are being handled by a separate group since it is an embedded design. We were asking for the ethernet controller type so we can determine if we have some inputs to provide you from our end.

Since it is unclear what you ethernet controller model is, we still want to provide you helpful information with the details that we currently have. Please check this link if your ethernet controller supports flow director: https://www.intel.com/content/www/us/en/support/articles/000031907/network-and-i-o/ethernet-products.... If it is not included on the list it maybe the most likely reason why it is not working.

On the other hand, we will move your thread to the correct group who handles SOCs.

We are hoping for your understanding on this one.

Please wait for their reply within 1 to 2 business days.



Best Regards,

Alfred S

Intel® Customer Support


0 Kudos
Highlighted
Moderator
56 Views

Hello, @Ravik2:

Thank you for contacting Intel Embedded Community.

You should verify the compatibility of the cited driver with your devices.

However, you have mentioned a Broadwell-DE processor in a previous communication, so you should use the Intel Broadwell DE BDXDE V1 Stepping 10G LAN Enabling Kit [LEK] document # 556663. You can find it when you are logged into your Resource & Design Center (RDC) privileged account on the following website:

https://cdrdv2.intel.com/v1/dl/getContent/556663

You should fill out the form stated on the following website when you have problems with the provided website or want to update your RDC account:

https://www.intel.com/content/www/us/en/forms/support/my-intel-sign-on-support.html

We suggest you use a business email address to evade any inconvenience. Please avoid the free email provider's address (such the provided by Hotmail, Gmail, Yahoo, or others).

Best Regards,

@CarlosAM_INTEL.

0 Kudos