RE: about the timers in Intel PRO/1000 driver code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I am looking at the PRO/1000 linux base driver code. I just wondered
what
> is
> the three timers---watchdog_timer, tx_fifo_stall_timer
phy_info_timer---
> for.

I'm not quite sure what info you're looking for, but here's a quick
summary...

Watchdog: This timer calls the watchdog routine which, for the most
part, checks link state, updates the statistics, and checks for a
transmitter hang.

Tx FIFO Stall: This timer calls the e1000_82547_tx_fifo_stall routine
which resets the hardware's FIFO pointers due to an issue with the
82547.

Phy info: This timer calls e1000_phy_get_info to update the information
on the phy.

> They seems critical to the card interrupts. And what's their
relationship
> with the hardware implemented timers---absolute timers & packets
timers?

The watchdog timer triggers off of link status change and rx sequence
error interrupts.  Otherwise, it's set to call the watchdog routine
every 2 seconds.

The *IntDelay and *AbsIntDelay timers are explained pretty well in
Documentation/networking/e1000.txt of your kernel source.  Tuning these
is an exercise left to the user, but the goal is to improve throughput
and/or CPU utilization.

Thanks,
-Jeb

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux