Ethernet Products
Determine ramifications of Intel® Ethernet products and technologies
4810 Discussions

Intel® ethernet flow director not working for OUI encapsulated frames.

sshar98
Beginner
469 Views

Hello Intel,

We are trying to configure NIC queues on " Intel Corporation Ethernet Connection X552 10 GbE Backplane" for load balancing packets to different queues as currently all packets are being landed into same queue. Frames coming to NIC interface (eth1) are mostly encapsulated within OIU.

 

Packet format:-

OUI_Header+OUI_Extended_ethertype+ payload(Ethernet_Header+ IP header+ UDP_Header + Data)

 

Seems like intel kernel driver is not smart enough to filter encapsulated frames. Tried to setup udp4 and tcp4 based rules but still packets were going into queue-0 only.

 

Then I tried to setup "flow-type ether" rule to filter packet based on MAC but looks like driver doesn't support it.

 

root:~# ethtool -U eth1 flow-type ether dst 00:11:22:33:44:55 loc 5 action 2

rmgr: Cannot insert RX class rule: Invalid argument

root:~# dmesg | tail -n 2

[105824.613222] ixgbe 0000:03:00.0 eth1: Unrecognized flow type

[105841.445661] ixgbe 0000:03:00.0 eth1: Unrecognized flow type

root:~#

 

Also I see limited options for “rx-flow-hash”… many of the types seem geared towards higher-level protocols…

 

          rx-flow-hash tcp4|udp4|ah4|esp4|sctp4|tcp6|udp6|ah6|esp6|sctp6

                 Retrieves the hash options for the specified flow type.

 

                 tcp4   TCP over IPv4

                 udp4   UDP over IPv4

                 ah4    IPSEC AH over IPv4

                 esp4   IPSEC ESP over IPv4

                 sctp4  SCTP over IPv4

                 tcp6   TCP over IPv6

                 udp6   UDP over IPv6

                 ah6    IPSEC AH over IPv6

                 esp6   IPSEC ESP over IPv6

                 sctp6  SCTP over IPv6

 

Can you please help us how we can set rules to filter encapsulated packets?

 

Note:- We are not using DPDK just forwarding all packets through kernel.

 

Some more logs below which could help:-

 

 rx_queue_0_packets: 6334910

   rx_queue_0_bytes: 589310736

   rx_queue_1_packets: 0

   rx_queue_1_bytes: 0

   rx_queue_2_packets: 38

   rx_queue_2_bytes: 5848

   rx_queue_3_packets: 0

   rx_queue_3_bytes: 0

   rx_queue_4_packets: 1

   rx_queue_4_bytes: 132

   rx_queue_5_packets: 0

   rx_queue_5_bytes: 0

   rx_queue_6_packets: 0

   rx_queue_6_bytes: 0

   rx_queue_7_packets: 24

   rx_queue_7_bytes: 2688

   rx_queue_8_packets: 0

   rx_queue_8_bytes: 0

   rx_queue_9_packets: 0

   rx_queue_9_bytes: 0

   rx_queue_10_packets: 0

   rx_queue_10_bytes: 0

   rx_queue_11_packets: 0

   rx_queue_11_bytes: 0

   rx_queue_12_packets: 0

   rx_queue_12_bytes: 0

   rx_queue_13_packets: 0

   rx_queue_13_bytes: 0

   rx_queue_14_packets: 0

   rx_queue_14_bytes: 0

   rx_queue_15_packets: 0

   rx_queue_15_bytes: 0

 

CPU

vendor_id      : GenuineIntel

cpu family     : 6

model          : 86

model name     : Intel(R) Xeon(R) CPU D-1539 @ 1.60GH

 

NIC:- 03:00.0 Ethernet controller: Intel Corporation Ethernet Connection X552 10 GbE Backplane

 

root:~# ethtool -i eth1

driver: ixgbe

version: 5.6.3

firmware-version: 0x800006a8

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: yes

root:~#

 

One sample OIU encapsulated packet:-

0 Kudos
3 Replies
Caguicla_Intel
Moderator
440 Views

Hello sshar98,

 

Thank you for posting in Intel Ethernet Communities. 

 

Please share the following information that would help in further checking your request.

 

1.) What is the exact Operating System used? 

2.) Please share where was the driver version 5.6.3 downloaded from.

3.) Is the X552 embedded on your system or is it a discrete adapter? If discrete, is it possible to provide the PBA number that can be seen on the white sticker of the adapter itself? You may refer to the link below on where to find the PBA number. It consists 6-digit number located at the last part of the serial number.

https://www.intel.com/content/www/us/en/support/articles/000007022/network-and-i-o/ethernet-products.html

4.) Have you tried using the latest generic driver from the link below?

Intel® Network Adapter Driver for PCIe* Intel® 10 Gigabit Ethernet Network Connections Under Linux*

https://downloadcenter.intel.com/download/14687/Ethernet-Intel-Network-Adapter-Driver-for-PCIe-Intel-10-Gigabit-Ethernet-Network-Connections-Under-Linux-?product=88207

 

Awaiting to hear from you.

 

Should there be no response from you, I’ll make sure to reach out after 3 business days.

 

Best regards,

Crisselle C

Intel® Customer Support

0 Kudos
Caguicla_Intel
Moderator
440 Views

Hello sshar98,

 

Good day!

 

We'd like to follow up the requested information for us to proceed in checking your request.

 

Looking forward to hear from you.

 

In case we don't receive a reply, we will follow up after 3 business days.

 

Best regards,

Crisselle C

Intel® Customer Support

0 Kudos
Caguicla_Intel
Moderator
440 Views

Hello sshar98,

 

How are you today?

 

Please be informed that we will now close this request since we haven't received any response from our previous follow up. Should you have any assistance needed in the future, feel free to post a new question.

 

May you have an amazing day ahead!

 

Best regards,

Crisselle C

Intel® Customer Support

0 Kudos
Reply