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

i40e MAC filter hash state failed

SantoshSingh
Beginner
1,493 Views

Hi,

 

My NIC is dropping the packets destined to the following MAC and VLAN ID.

I got the following error from the driver when i tried to dump the mac filter hash state in NIC.

 

[3214997.759285] i40e 0000:19:00.3:     mac_filter_hash: 33:33:ff:43:75:3c vid=2056, state FAILED

[3214997.759293] i40e 0000:19:00.3:     mac_filter_hash: 33:33:ff:43:75:3c vid=2200, state FAILED

[3214997.759300] i40e 0000:19:00.3:     active_filters 1946, promisc_threshold 1974, overflow promisc ON

 

Using the "ethtool" I could confirm that the device is receiving the packets, but not sending it to upper layers.

port.rx_unicast >>>> This counter is incrementing

Has someone seen similar issue before?

Does this means that we are reaching the scale limit in terms of number of hash entries?

What does the "active_filters" and "promisc_threshold" means?

 

Thanks & Regards,

Santosh

0 Kudos
7 Replies
B_Y
Employee
1,435 Views

Hi @SantoshSingh,


Thank you for posting in Intel Ethernet Communities. 

Kindly provide the following information for us to check on your query:

1) Please advise if you are using custom board or with Intel/OEM system board?

2) Please provide the Intel(R) network adapter involved

3) Linux distribution

4) Ethtool -i 

5) Ethtool -k or sudo ethtool -k <interface_name>


Thank you.


Best regards,

BY_Intel

Intel Customer Support


0 Kudos
SantoshSingh
Beginner
1,410 Views

Hi,

 

Thank you for your response.

Below is the data.

 

1) Please advise if you are using custom board or with Intel/OEM system board?

Cisco UCS Server.

 

2) Please provide the Intel(R) network adapter involved

b1:00.0 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 01)

b1:00.1 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 01)

b1:00.2 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 01)

b1:00.3 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 01)

 

3) Linux distribution

Linux 5.4.0-139-generic #156-Ubuntu SMP Fri Jan 20 17:27:18 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

 

4) Ethtool -i 

root@sonic-ucs-m6-2:/home/tester# ethtool -i ens108f0

driver: i40e

version: 2.16.11

firmware-version: 5.05 0x80002b50 0.385.8

expansion-rom-version:

bus-info: 0000:b1:00.0

supports-statistics: yes

supports-test: yes

supports-eeprom-access: yes

supports-register-dump: yes

supports-priv-flags: yes

root@sonic-ucs-m6-2:/home/tester#

 

5) Ethtool -k or sudo ethtool -k <interface_name>

root@sonic-ucs-m6-2:/home/tester# ethtool -k ens108f0

Features for ens108f0:

rx-checksumming: off

tx-checksumming: on

tx-checksum-ipv4: on

tx-checksum-ip-generic: off [fixed]

tx-checksum-ipv6: on

tx-checksum-fcoe-crc: off [fixed]

tx-checksum-sctp: on

scatter-gather: on

tx-scatter-gather: on

tx-scatter-gather-fraglist: off [fixed]

tcp-segmentation-offload: on

tx-tcp-segmentation: on

tx-tcp-ecn-segmentation: on

tx-tcp-mangleid-segmentation: off

tx-tcp6-segmentation: on

generic-segmentation-offload: on

generic-receive-offload: on

large-receive-offload: off [fixed]

rx-vlan-offload: on

tx-vlan-offload: on

ntuple-filters: on

receive-hashing: on

highdma: on

rx-vlan-filter: on [fixed]

vlan-challenged: off [fixed]

tx-lockless: off [fixed]

netns-local: off [fixed]

tx-gso-robust: off [fixed]

tx-fcoe-segmentation: off [fixed]

tx-gre-segmentation: on

tx-gre-csum-segmentation: on

tx-ipxip4-segmentation: on

tx-ipxip6-segmentation: on

tx-udp_tnl-segmentation: on

tx-udp_tnl-csum-segmentation: on

tx-gso-partial: on

0 Kudos
B_Y
Employee
1,401 Views

Hi @SantoshSingh,


Thank you for sharing the information.

Firstly, based on the network adapter/controller shown, may I clarify with you if it is embedded to Cisco UCS' system board?

Secondly, the i40e driver and linux kernel version are not up to date. May I know if you have tried update to later version if it makes some differences?


Thank you.


Best regards,

BY_Intel

Intel Customer Support


0 Kudos
SantoshSingh
Beginner
1,385 Views

 

Hi @BY_Intel,

 

Thanks for your reply.

 

Firstly, based on the network adapter/controller shown, may I clarify with you if it is embedded to Cisco UCS' system board?

 

    Yes

 

Secondly, the i40e driver and linux kernel version are not up to date. May I know if you have tried update to later version if it makes some differences?

 

    We started seeing this issue with a driver upgrade, can you please point me to the latest version of the driver?

 

What is the scale Limit, in terms of number of Entries in MAC FILTER HASH Table?

Also, any Idea on the below message - 

 

[3214997.759300] i40e 0000:19:00.3:     active_filters 1946, promisc_threshold 1974, overflow promisc ON

Thanks & Regards,

Santosh

 

0 Kudos
B_Y
Employee
1,372 Views

Hi @SantoshSingh,

 

Thank you for your quick response.

Since this question related to embedded configuration, may I suggest to post inside Intel Embedded Communities and link as below.

Embedded Connectivity Forum:

https://community.intel.com/t5/Embedded-Connectivity/bd-p/embedded-networking-connectivity

 

Thank you.

 

Best regards,

BY_Intel

Intel Customer Support

 

0 Kudos
B_Y
Employee
1,314 Views

Hi @SantoshSingh,

 

I hope this message finds you well. I am just sending a follow up if you have any questions from the previous post. If so, please let us know. You may refer the latest i40e driver at https://www.intel.com/content/www/us/en/download/18026/intel-network-adapter-driver-for-pcie-40-gigabit-ethernet-network-connections-under-linux.html

Thank you.

 

Thank you.

 

Best regards,

BY_Intel

Intel Customer Support


0 Kudos
B_Y
Employee
1,285 Views

Hi @SantoshSingh,

 

Please be informed that we will now close this request since we haven't received any response from our previous follow ups. Just feel free to post a new question if you may have any other inquiry in the future as this thread will no longer be monitored.

 

Best regards,

BY_Intel

Intel Customer Support


0 Kudos
Reply