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

Latency problem with Linux e1000e driver with 82579LM controller

SBelo1
Beginner
2,851 Views

Hello,

We have a problem with Linux e1000e driver on an on-board e1000e controller, (listed as 82579LM). We have pinpointed the problem to a very simple test case.

A task sends an UDP packet every 5ms. Most of the time, this happens in a few microseconds, but from time to time, this can take a few multiples of 50 microseconds.

Instrumenting the driver, we found that the lost time happens in the function e1000e_update_tail_wa, where the function waits for the register at offset 0x05B54 to contain the bit 0x01000000. We understand from the code that using this register is a workaround for the 82579 chip. Looking at various datasheets, we were not able to find a documentation of what this register does and a description of exactly what this workaround is needed? Since this workaround is consuming time, is there any way we could replace it with say, a software spinlock?

Regards

0 Kudos
7 Replies
st4
New Contributor III
1,360 Views

Hi ixsb,

Thank you for the post. What is the brand and model of your system? Can you provide me also which Linux driver version you used from https://downloadcenter.intel.com/product/47549/Intel-82579-Gigabit-Ethernet-Controller Intel® Download Center?

Thanks,

wb

0 Kudos
SBelo1
Beginner
1,360 Views

Hi wb,

Thank you for your reply.

We are using the driver included in the Linux kernel version 3.14.17 but I have also check the code of the Intel e1000e-3.2.4.2 driver version and I have seen the same mechanism in function "__ew32_prepare" called by "e1000e_update_tdt_wa". This arbitration for accessing to the CSR registers seems to be specific to the 82579 chip for which the flag FLAG2_PCIM2PCI_ARBITER_WA is activated.

ixsb

0 Kudos
st4
New Contributor III
1,360 Views

Hi Ixsb,

Thank you for the update what is the system model (desktop or laptop? what is the brand and model) you used?

rgds,

wb

0 Kudos
SBelo1
Beginner
1,360 Views

Hi wb,

Intel® Ivy Bridge QM77 Mini-ITX

Regards

ixsb

0 Kudos
SBelo1
Beginner
1,360 Views

Intel Ivy Bridge QM77 Mini-ITX Industrial MB from Perfectron.

ixsb

0 Kudos
st4
New Contributor III
1,360 Views

Hi ixsb,

Thank you. I will try check on this.

rgds,

wb

0 Kudos
st4
New Contributor III
1,360 Views

Hi Ixsb,

Good day. I checked with our business unit and we got a response that there is no reported issue on either another customers' systems or Intel customer

reference board with 82579LM. Therefore, we are highly recommending you to report this issue to the board manufacturer if you think it is critical issue. The board manufacturer can debug this issue in first line to check whether this is software issue such as BIOS/ ME firmware/ GbE image which the end-user cannot do.

Hope this clarifies.

rgds,

wb

0 Kudos
Reply