All of lore.kernel.org
 help / color / mirror / Atom feed
From: Auke Kok <auke-jan.h.kok@intel.com>
To: netdev@vger.kernel.org
Subject: Re: 2.6.16.13 e1000 reports incorrect PCI-X bus speed?
Date: Fri, 12 May 2006 14:33:53 -0700	[thread overview]
Message-ID: <4464FF41.7060000@intel.com> (raw)
In-Reply-To: <4464FB01.6070206@candelatech.com>

Ben Greear wrote:
> I'm running a slightly modified 2.6.16.13 kernel on FC5-amd64.  The 
> motherboard
> is SuperMicro H8SSL dual-core AMD system.  According to super-micro web 
> site,
> the PCI-X slot is 133Mhz.  I'm using a 4-port pro/1000 NIC.
> 
> dmesg shows a listing of 120Mhz:
> 
> Intel(R) PRO/1000 Network Driver - version 6.3.9-k4-NAPI
> Copyright (c) 1999-2005 Intel Corporation.
> GSI 18 sharing vector 0xB9 and IRQ 18
> ACPI: PCI Interrupt 0000:03:04.0[A] -> GSI 20 (level, low) -> IRQ 18
> e1000: 0000:03:04.0: e1000_probe: (PCI-X:120MHz:64-bit) 00:04:23:ad:41:bc
> e1000: eth2: e1000_probe: Intel(R) PRO/1000 Network Connection
> GSI 19 sharing vector 0xC1 and IRQ 19
> ACPI: PCI Interrupt 0000:03:04.1[B] -> GSI 21 (level, low) -> IRQ 19
> e1000: 0000:03:04.1: e1000_probe: (PCI-X:120MHz:64-bit) 00:04:23:ad:41:bd
> e1000: eth3: e1000_probe: Intel(R) PRO/1000 Network Connection
> GSI 20 sharing vector 0xC9 and IRQ 20
> ACPI: PCI Interrupt 0000:03:06.0[A] -> GSI 22 (level, low) -> IRQ 20
> e1000: 0000:03:06.0: e1000_probe: (PCI-X:120MHz:64-bit) 00:04:23:ad:41:be
> e1000: eth4: e1000_probe: Intel(R) PRO/1000 Network Connection
> GSI 21 sharing vector 0xD1 and IRQ 21
> ACPI: PCI Interrupt 0000:03:06.1[B] -> GSI 23 (level, low) -> IRQ 21
> e1000: 0000:03:06.1: e1000_probe: (PCI-X:120MHz:64-bit) 00:04:23:ad:41:bf
> e1000: eth5: e1000_probe: Intel(R) PRO/1000 Network Connection
> 
> ethtool -d eth3 shows 66Mhz:
> ....
> 0x00008: STATUS (Device status register) 0x00003B87
>       Duplex:                            full
>       Link up:                           link config
>       TBI mode:                          disabled
>       Link speed:                        1000Mb/s
>       Bus type:                          PCI-X
>       Bus speed:                         66MHz
>       Bus width:                         64-bit
> 
> Any idea why I see the slower bus speed reported?

ethtool currently doesn't know about some bus speeds, and will report a wrong
speed. Here's what ethtool currently uses: (ethtool-3/e1000.c)

327                 (reg & E1000_STATUS_PCIX_MODE) ?
328                         ((reg & E1000_STATUS_PCIX_SPEED_133) ? "133MHz" :
329                         (reg & E1000_STATUS_PCIX_SPEED_100) ? "100MHz" :
330                         "66MHz")>              :

obviously 120 is missing, but PCI-E speeds are also missing (2500gbps). The
output of the e1000 module is correct.

Auke


  reply	other threads:[~2006-05-12 21:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-12 21:15 2.6.16.13 e1000 reports incorrect PCI-X bus speed? Ben Greear
2006-05-12 21:33 ` Auke Kok [this message]
2006-05-12 22:26   ` Ben Greear
2006-05-14  0:54     ` Chris Leech
2006-05-12 21:41 ` Rick Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4464FF41.7060000@intel.com \
    --to=auke-jan.h.kok@intel.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.