Re: ethtool -C not working on tigon3 and vanilla 2.6.1

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

 



Hi all again

I'm going to reply myself

Tigon3 driver, at least until 2.2 version, as it can't be downloaded
from

http://people.redhat.com/jgarzik/tg3/tg3-2.2/tg3.c

doesn't support the settings I was talking about, so ethtool is fine

(I looked at the source code & compared with other drivers)

I previously supossed (wrong) It must support the feature because a previous 
comment that was posted in this mailing list some time ago

	Ulisses

On Tue, Jan 27, 2004 at 05:29:42PM +0100, uaca@alumni.uv.es wrote:
> 
> Hi all
> 
> I'm using a tigon3 with 2.6.1 vanilla (lspci -vv and /proc/interrupts at the end)
> 
> tg3.c:v2.5 (December 22, 2003)
> eth1: Tigon3 [partno(3C996B-T) rev 0105 PHY(5701)] (PCI:33MHz:32-bit)
> 10/100/1000BaseT Ethernet 00:04:76:f6:8a:a0
> 
> 
> ethtool -C eth1 fails with a
> 
> 	"Cannot get device coalesce settings: Operation not supported"
> 
> wich comes from the following syscall
> 
> 	ioctl(3, 0x8946, 0xbffffa60)            = -1 EOPNOTSUPP (Operation not supported)
> 
> 
> I think it's really supported, so why it fails? solutions?
> 
> Note, it is a 64bit card plugged in a 32bit slot
> 
> 
> I have been using this card quite time and it works ok, except that it seems
> to do not work with NAPI, a feature it should support too (I get +15000
> interrupts/s)
> 
> I think NAPI is always enabled in the driver, isn't it?
> 
> another question: I suposse that 
> 
> ethtool interrupt coalescing settings ! = NAPI
> 
> isn't it?
> 
> Thanks in advance
> 
> 	Ulisses
> 
> ------------------------------------------------------------------------
> 
>            CPU0       CPU1       
>   0:    2395673         10    IO-APIC-edge  timer
>   1:       1196          0    IO-APIC-edge  i8042
>   2:          0          0          XT-PIC  cascade
>   8:          1          0    IO-APIC-edge  rtc
>  14:          9          1    IO-APIC-edge  ide0
>  18:     979504     961883   IO-APIC-level  eth1
>  19:       6236          1   IO-APIC-level  aic7xxx, aic7xxx
>  21:      10962          1   IO-APIC-level  eth0
> NMI:          0          0 
> LOC:    2395397    2395148 
> ERR:          0
> MIS:          0
> 
> 00:00.0 Host bridge: Intel Corporation 440GX - 82443GX Host bridge
> 	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
> 	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
> 	Latency: 64
> 	Region 0: Memory at f8000000 (32-bit, prefetchable) [size=64M]
> 	Capabilities: [a0] AGP version 1.0
> 		Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2
> 		Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>
> 
> 00:01.0 PCI bridge: Intel Corporation 440GX - 82443GX AGP bridge (prog-if 00 [Normal decode])
> 	Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
> 	Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> 	Latency: 64
> 	Bus: primary=00, secondary=01, subordinate=02, sec-latency=64
> 	BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B+
> 
> 00:0b.0 Ethernet controller: BROADCOM Corporation NetXtreme BCM5701 Gigabit Ethernet (rev 15)
> 	Subsystem: 3Com Corporation 3C996B-T 1000BaseTX
> 	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
> 	Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> 	Latency: 64 (16000ns min), cache line size 08
> 	Interrupt: pin A routed to IRQ 18
> 	Region 0: Memory at f4000000 (64-bit, non-prefetchable) [size=64K]
> 	Capabilities: [40] PCI-X non-bridge device.
> 		Command: DPERE- ERO- RBC=0 OST=0
> 		Status: Bus=0 Dev=0 Func=0 64bit- 133MHz- SCD- USC-, DC=simple, DMMRBC=0, DMOST=0, DMCRS=0, RSCEM-
> 	Capabilities: [48] Power Management version 2
> 		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-)
> 		Status: D0 PME-Enable- DSel=0 DScale=1 PME-
> 	Capabilities: [50] Vital Product Data
> 	Capabilities: [58] Message Signalled Interrupts: 64bit+ Queue=0/3 Enable-
> 		Address: 3620862414b80c44  Data: 4c54
> 
> 00:0c.0 SCSI storage controller: Adaptec 7896
> 	Subsystem: Adaptec: Unknown device 0053
> 	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
> 	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> 	Latency: 64 (9750ns min, 6250ns max), cache line size 08
> 	Interrupt: pin A routed to IRQ 19
> 	BIST result: 00
> 	Region 0: I/O ports at 2000 [disabled] [size=256]
> 	Region 1: Memory at f4010000 (64-bit, non-prefetchable) [size=4K]
> 	Expansion ROM at <unassigned> [disabled] [size=128K]
> 	Capabilities: [dc] Power Management version 1
> 		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
> 		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> 
> 00:0c.1 SCSI storage controller: Adaptec 7896
> 	Subsystem: Adaptec: Unknown device 0053
> 	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
> 	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> 	Latency: 64 (9750ns min, 6250ns max), cache line size 08
> 	Interrupt: pin A routed to IRQ 19
> 	BIST result: 00
> 	Region 0: I/O ports at 2400 [disabled] [size=256]
> 	Region 1: Memory at f4011000 (64-bit, non-prefetchable) [size=4K]
> 	Capabilities: [dc] Power Management version 1
> 		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
> 		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> 
> 00:0e.0 Ethernet controller: Intel Corporation 82557 [Ethernet Pro 100] (rev 08)
> 	Subsystem: Intel Corporation 82559 Fast Ethernet LAN on Motherboard
> 	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
> 	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> 	Latency: 64 (2000ns min, 14000ns max), cache line size 08
> 	Interrupt: pin A routed to IRQ 21
> 	Region 0: Memory at f4012000 (32-bit, non-prefetchable) [size=4K]
> 	Region 1: I/O ports at 2800 [size=64]
> 	Region 2: Memory at f4100000 (32-bit, non-prefetchable) [size=1M]
> 	Expansion ROM at <unassigned> [disabled] [size=1M]
> 	Capabilities: [dc] Power Management version 2
> 		Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
> 		Status: D0 PME-Enable- DSel=0 DScale=2 PME-
> 
> 00:12.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02)
> 	Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
> 	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> 	Latency: 0
> 
> 00:12.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01) (prog-if 80 [Master])
> 	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
> 	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> 	Latency: 64
> 	Region 4: I/O ports at 2860 [size=16]
> 
> 00:12.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
> 	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
> 	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> 	Latency: 64
> 	Interrupt: pin D routed to IRQ 21
> 	Region 4: I/O ports at 2840 [size=32]
> 
> 00:12.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 02)
> 	Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
> 	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> 	Interrupt: pin ? routed to IRQ 9
> 
> 00:14.0 VGA compatible controller: Cirrus Logic GD 5480 (rev 23) (prog-if 00 [VGA])
> 	Subsystem: Cirrus Logic CL-GD5480
> 	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
> 	Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> 	Latency: 64 (500ns min, 2500ns max)
> 	Region 0: Memory at f6000000 (32-bit, prefetchable) [size=32M]
> 	Region 1: Memory at f4013000 (32-bit, non-prefetchable) [size=4K]
> 	Expansion ROM at <unassigned> [disabled] [size=32K]
> 
> 01:0f.0 PCI bridge: Digital Equipment Corporation DECchip 21150 (rev 06) (prog-if 00 [Normal decode])
> 	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B+
> 	Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> 	Latency: 240, cache line size 08
> 	Bus: primary=01, secondary=02, subordinate=02, sec-latency=68
> 	BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-
> 	Capabilities: [dc] Power Management version 1
> 		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
> 		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> 		Bridge: PM- B3+
> 
> -
> : 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

-- 
                Debian GNU/Linux: a dream come true
-----------------------------------------------------------------------------
"Computers are useless. They can only give answers."            Pablo Picasso

Humans are slow, innaccurate, and brilliant.
Computers are fast, acurrate, and dumb. 
Together they are unbeatable

--->	Visita http://www.valux.org/ para saber acerca de la	<---
--->	Asociación Valenciana de Usuarios de Linux		<---
 
-
: 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