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

How to configure flow control on Intel® 82599ES 10 Gigabit

JHsie38
Beginner
2,754 Views

The datasheet of ​Intel® 82599ES 10 Gigabit indicated that "Flow control support: Send/Receive Pause Frames and Receive FIFO Thresholds" is available. "Priority-based Flow Control (PFC) IEEE802.1Qbb" is also available.

I wonder how can I configure NIC to support the flow control mechanism on Linux and how can I confirm NIC do react for pause frame.

0 Kudos
14 Replies
Mike_Intel
Moderator
2,504 Views

Hello JHsie38,

 

Thank you for posting in Intel Ethernet Communities. 

 

To enable or disable Rx or Tx Flow Control, please use the codes below::

 

# ethtool -A <ethX> rx <on|off> tx <on|off>

 

For the rest of the guide, please refer to the "Flow Control" section of this readme file below:

 

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

 

If you have questions, please let us know.

 

Best regards,

Michael L.

Intel Customer Support Technicians

A Contingent Worker at Intel

0 Kudos
JHsie38
Beginner
2,504 Views

Hello Michael,

 

Thank you for your reply, Michael.

 

I follow the steps to enable flow control on NIC as below figure. 

Then, I use scapy (python package) to craft and send the pause frame from another host to the NIC which already enables flow control.

However, I cannot capture the pause frame by tcpdump, ethtool -S or other sniffers. I wonder what happened?

screen_shot.png

0 Kudos
Mike_Intel
Moderator
2,504 Views

Hello JHsie38,

 

Thank you for the update.

 

Let me gather the following details about the issue with pause frame.

 

  1. What is your exact Linux OS and version?
  2. Can you provide your driver version and the link where you downloaded the driver?
  3. Have you tried to check the other host is capable of Flow Control?

 

If you have questions, please let us know.

 

Best regards,

Michael L.

Intel Customer Support Technicians

A Contingent Worker at Intel

0 Kudos
JHsie38
Beginner
2,504 Views

Hello Michael,

Thank you for following this post.

The information is the on below figure.

1. OS version:

2020-01-16 11-40-38 的螢幕擷圖.png

 

 

 

2. driver version.

Because the driver was installed by other, I don't know the link where download driver installer.

2020-01-16 11-39-55 的螢幕擷圖.png2020-01-16 11-44-34 的螢幕擷圖.png

 

 

 

3. I have tried on other host with the same OS and NIC, but still don't work

I use ethtool to get the more information about NIC status.

I find that "MFLCN(TabMAC Flow Control register) Discard Pause Frames: enabled" perhaps causes the problem? Any way to modify the setting of MFLCN?

2020-01-16 12-00-25 的螢幕擷圖.png

0 Kudos
Mike_Intel
Moderator
2,504 Views

Hello JHsie38,

 

I need to further check this data that you provided. Please give me 1 to 2 days to check this.

 

If you have questions, please let us know.

 

Best regards,

Michael L.

Intel Customer Support Technicians

A Contingent Worker at Intel

0 Kudos
Mike_Intel
Moderator
2,504 Views

Hello JHsie38,

 

We are still checking this issue. While doing that, can you share the output of ethtool enp1s0?

 

If you have questions, please let us know.

 

Best regards,

Michael L.

Intel Customer Support Technicians

A Contingent Worker at Intel

0 Kudos
JHsie38
Beginner
2,504 Views

Hello Michael,

 

The below screenshot is the output of ethtool enp1s0.

If you need other information, please let me know.

2020-01-21 15-08-47 的螢幕擷圖.png

 

 

 

0 Kudos
Mike_Intel
Moderator
2,504 Views

Hello JHsie38,

 

Thank you for sharing this. I need to check this output along with the data that you provided before.

Please give me 3 to 4 working days to provide an update. Thank you.

 

If you have questions, please let us know.

 

Best regards,

Michael L.

Intel Customer Support Technicians

A Contingent Worker at Intel

0 Kudos
Mike_Intel
Moderator
2,504 Views

Hello JHsie38,

 

By the way, can you confirm if you are also having issues using this latest driver?

 

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

 

If you have questions, please let us know.

 

Best regards,

Michael L.

Intel Customer Support Technicians

A Contingent Worker at Intel

0 Kudos
JHsie38
Beginner
2,504 Views

Hello Michael,

 

I already update the driver version to 5.6.5 (latest), but it still can sniff the pause frame.

I guess the pause frame signal did not send to host, maybe the pause frame is digested in NIC.

2020-01-22 16-29-34 的螢幕擷圖.png

0 Kudos
Mike_Intel
Moderator
2,504 Views

Hello JHsie38,

 

Thank you for sharing this one. Let me check this and get back to you within 2 to 3 days.

 

If you have questions, please let us know.

 

Best regards,

Michael L.

Intel Customer Support Technicians

A Contingent Worker at Intel

0 Kudos
Mike_Intel
Moderator
2,504 Views

Hello JHsie38,

 

While checking this issue, can you confirm if on the switch port where the pause frame was sent out, can you see the throttle \ pause on the switch port statistics?

 

If you have questions, please let us know.

 

Best regards,

Michael L.

Intel Customer Support Technicians

A Contingent Worker at Intel

0 Kudos
Mike_Intel
Moderator
2,504 Views

Hello JHsie38,

 

I just want to make a follow up on the information that I requested.

 

If you have questions, please let us know.

 

Best regards,

Michael L.

Intel Customer Support Technicians

A Contingent Worker at Intel

 

0 Kudos
Mike_Intel
Moderator
2,504 Views

Hello JHsie38,

 

I am just sending another follow up on the information that I requested. 

Since we have not heard back from you, I will close this inquiry now. 

If you need further assistance, please post a new question. 

 

 

Best regards,

Michael L.

Intel Customer Support Technicians

A Contingent Worker at Intel

0 Kudos
Reply