LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-06-2016, 01:10 AM   #1
tookilt
LQ Newbie
 
Registered: Dec 2016
Posts: 2

Rep: Reputation: Disabled
Why the Intel 83574L gigabit Ethernet link status change too slow


I have one NIC of Intel 82574L, when i pull the cable(1000BASE-T), the message in "/var/log/message(tail -f)" is delay about 350ms to display that "eth0 NIC Link is DOWN", but when the NIC mode is 100m/s, the message("eth0 NIC Link is DOWN") will display immediately. When i check the NIC driver(e1000e), I find that the func "e1000e_has_link" was delay about 345ms to change link status(link up to link down) when i pull the cable, and then i check this func, i find this func need a condition that "hw->mac.get_link_status == true" tell driver to check link status. then i go on to check this condition, i find this condition need 82574L'register(ICR) to set E1000_ICR_LSC bit(0x00000004), this bit mean "Link Status Change". i test this bit, find it need about 345ms to set when i pull the cable.
I look up the Intel 82574l datasheet, the Attribute of the register(ICR) is write-and-clear, read-and-clear, auto-clear, can not to write one bit on this register(ICR), so i want to know why the speed in 1000m/s have about 350ms delay !!! thakns!!

82574l datasheet: http://www.intel.com/content/www/us/...datasheet.html

Last edited by tookilt; 12-06-2016 at 06:58 PM.
 
Old 12-09-2016, 08:37 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
I would suggest the use of more full stops in your post, as it is difficult to follow. I'm a native English speaker, and you clearly know what you're talking about, but I don't.

Solve your issue with Divide & conquer. A 1000Mbit link will fall back to 100Mbit and then to 10Mbit before dropping out. Could it be timing out 3 times? How long is allowed for the delay? What behaviour do you expect? I thought Nics worked better with the cables plugged in - why unplug?
 
Old 12-11-2016, 04:02 AM   #3
tookilt
LQ Newbie
 
Registered: Dec 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
I would suggest the use of more full stops in your post, as it is difficult to follow. I'm a native English speaker, and you clearly know what you're talking about, but I don't.

Solve your issue with Divide & conquer. A 1000Mbit link will fall back to 100Mbit and then to 10Mbit before dropping out. Could it be timing out 3 times? How long is allowed for the delay? What behaviour do you expect? I thought Nics worked better with the cables plugged in - why unplug?

I want to know how to reduce time when I cables plugged on gigabit ethernet env such as 100m/s
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow gigabit ethernet on Ubuntu 10.10 packer_fan Linux - Networking 2 05-30-2011 03:29 AM
gigabit ethernet really slow g_k Linux - Networking 10 04-07-2010 08:15 PM
gigabit ethernet slow Abida54 Linux - Networking 9 01-03-2010 02:51 PM
Gigabit ethernet too slow. alex6666 Linux - Hardware 3 12-13-2008 08:34 AM
Slow gigabit ethernet reggie Linux - Networking 3 05-20-2007 08:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration