[PATCH 3/7] e1000e: fix link up message to show ethX:

2008-02-21 Thread Auke Kok
From: Jesse Brandeburg [EMAIL PROTECTED] Signed-off-by: Jesse Brandeburg [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/e1000.h |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/net/e1000e/e1000.h b/drivers/net/e1000e/e1000.h

[PATCH 4/7] e1000e: fix flow control when using ethtool overrides

2008-02-21 Thread Auke Kok
From: Jesse Brandeburg [EMAIL PROTECTED] Signed-off-by: Jesse Brandeburg [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/lib.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/net/e1000e/lib.c b/drivers/net/e1000e/lib.c index

[PATCH 7/7] e1000e: remove unused read value in ASPM disable code.

2008-02-21 Thread Auke Kok
Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/netdev.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c index 7824bc2..fc5c63f 100644 --- a/drivers/net/e1000e/netdev.c +++ b/drivers/net/e1000e

[PATCH 5/7] e1000e: fix flow control denial of service possibility

2008-02-21 Thread Auke Kok
From: Jesse Brandeburg [EMAIL PROTECTED] this patch avoids a denial of service from an evildoer sending a continuous stream of flow control at our adapter that is plugged into a non-flow control enabled switch. Signed-off-by: Jesse Brandeburg [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL

[PATCH 1/7] ixgb: add RNBC counter - no buffer count - to ethtool stats

2008-02-21 Thread Auke Kok
. That will provide more buffers for the hardware and will decrease the chance of hard drops. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/ixgb/ixgb_ethtool.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ixgb/ixgb_ethtool.c b/drivers/net/ixgb/ixgb_ethtool.c

[PATCH 2/7] e1000e: 82573 can use eerd method to read eeprom

2008-02-21 Thread Auke Kok
This simplifies the 82571/2/3 family initialization a bit and removes an initialization table no longer needed. Signed-off-by: Auke Kok [EMAIL PROTECTED] Signed-off-by: Jeff Kirsher [EMAIL PROTECTED] --- drivers/net/e1000e/82571.c | 12 +--- 1 files changed, 1 insertions(+), 11

[PATCH 6/7] e1000e: fix spelling errors in comments

2008-02-21 Thread Auke Kok
Fix some spelling errors and inconsistencies in comment blocks. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/82571.c | 10 +- drivers/net/e1000e/defines.h | 10 +- drivers/net/e1000e/hw.h |4 ++-- drivers/net/e1000e/ich8lan.c | 24

[PATCH] igb: Fix panic with NICs with 1000BASE-SX PHY

2008-02-19 Thread Auke Kok
PROTECTED] Signed-off-by: Andy Gospodarek [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/igb/igb_main.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c index 3480cc7..6a1f230 100644

[PATCH] igb: fix legacy mode irq issue

2008-02-15 Thread Auke Kok
It seemed a bit odd that bits to enable IAM were being set in legacy interrupt mode, so I dropped out the following parts and interrupts began working fine again. [Updated code flow and a nitpick spelling error --Auke] Signed-off-by: Andy Gospodarek [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL

[PATCH 2/2] e1000e: PCIe devices do not need to unset MANC_ARP_ENA

2008-02-14 Thread Auke Kok
condition automatically. Signed-off-by: David Graham [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/netdev.c | 26 -- 1 files changed, 0 insertions(+), 26 deletions(-) diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e

[PATCH 1/2] igb: PCIe devices do not need to unset MANC_ARP_ENA

2008-02-14 Thread Auke Kok
condition automatically. Signed-off-by: David Graham [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/igb/igb_main.c | 28 1 files changed, 0 insertions(+), 28 deletions(-) diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c

[PATCH] e1000e: Fix CRC stripping in hardware context bug

2008-02-12 Thread Auke Kok
CRC stripping was only correctly enabled for packet split recieves which is used when receiving jumbo frames. Correctly enable SECRC also for normal buffer packet receives. Tested by Andy Gospodarek and Johan Andersson, see bugzilla #9940. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers

[PATCH] ixgbe: Correctly obtain protocol information on transmit

2008-02-12 Thread Auke Kok
. This disregards extension headers but it's unclear that linux generates those anyway. Tested by Andy Gospodarek. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/ixgbe/ixgbe_main.c | 24 +--- 1 files changed, 21 insertions(+), 3 deletions(-) diff --git a/drivers

[PATCH 4/6] ixgbe: warn when device is in a x4 or lower width slot

2008-02-11 Thread Auke Kok
It's easy to oversee this issue when working with this card as evrything will work OK but performance is severely limited (something like 1.5gbit on a x1 link) if the pci-express slot does not offer more bandwidth. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/ixgbe/ixgbe_main.c

[PATCH 1/6] [NET] replace code with FIELD_SIZEOF

2008-02-11 Thread Auke Kok
From: Julia Lawall [EMAIL PROTECTED] Signed-off-by: Julia Lawall [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000/e1000_ethtool.c |2 +- drivers/net/igb/igb_ethtool.c |2 +- drivers/net/ixgb/ixgb_ethtool.c |2 +- 3 files changed, 3 insertions

[PATCH 5/6] ixgbe: Disallow device reset during ethtool test

2008-02-11 Thread Auke Kok
Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/ixgbe/ixgbe_main.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c index 576fb51..a4aeaec 100644 --- a/drivers/net/ixgbe/ixgbe_main.c +++ b

[PATCH 6/6] ixgbe: remove accidentally added #ifdef

2008-02-11 Thread Auke Kok
Let's not add these #ifdef NETIF_F_TSO's back. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/ixgbe/ixgbe_main.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c index a4aeaec..540b647 100644

[PATCH 3/6] e1000e: Fix logic reversal keeping link active

2008-02-11 Thread Auke Kok
A logic mishap caused the adapter to keep link while we can disable it due to WoL not being active, and vice versa. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/netdev.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/e1000e/netdev.c b

[PATCH 2/6] e1000: warn if this driver is used for e1000e devices

2008-02-11 Thread Auke Kok
We're already starting to see reports from users still using e1000 where they should be using e1000e now that this is actually possible. Just to prevent some of this thrash, add a big warning on load on these devices that people should switch to e1000e. Signed-off-by: Auke Kok [EMAIL PROTECTED

[PATCH 1/6] e1000e: make a function static

2008-02-01 Thread Auke Kok
From: Adrian Bunk [EMAIL PROTECTED] This patch makes the needlessly global reg_pattern_test_array() static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/ethtool.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions

[PATCH 6/6] igb: remove unneeded declaration shadowing earlier one

2008-02-01 Thread Auke Kok
This removes a sparse warning. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/igb/igb_main.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c index f3c144d..d4eb8e2 100644 --- a/drivers/net/igb/igb_main.c

[PATCH 5/6] e1000e: tweak irq allocation messages

2008-02-01 Thread Auke Kok
From: Andy Gospodarek [EMAIL PROTECTED] There's too much noise on systems that don't support MSI. Let's get rid of a few and make the real error message more specific. Signed-off-by: Andy Gospodarek [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/netdev.c

[PATCH 3/6] e100: Fix iomap mem accesses

2008-02-01 Thread Auke Kok
From: Jiri Slaby [EMAIL PROTECTED] writeX functions are not permitted on iomap-ped space change to iowriteX, also pci_unmap pci_map-ped space on exit (instead of iounmap). Signed-off-by: Jiri Slaby [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e100.c |4

[PATCH 2/6] e1000: make e1000_dump_eeprom() static

2008-02-01 Thread Auke Kok
From: Adrian Bunk [EMAIL PROTECTED] This patch makes the needlessly global e1000_dump_eeprom() static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000/e1000_main.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[PATCH 4/6] e100: fix spelling errors

2008-02-01 Thread Auke Kok
From: Andreas Mohr [EMAIL PROTECTED] Signed-off-by: Andreas Mohr [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e100.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/net/e100.c b/drivers/net/e100.c index 9d42dd8

[PATCH 1/8] ixgbe: remove obsolete irq_sem, add driver state checking code

2008-02-01 Thread Auke Kok
PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/ixgbe/ixgbe.h |2 + drivers/net/ixgbe/ixgbe_ethtool.c | 29 -- drivers/net/ixgbe/ixgbe_main.c| 60 ++--- 3 files changed, 49 insertions(+), 42 deletions(-) diff --git

[PATCH 2/8] ixbge: remove TX lock and redo TX accounting.

2008-02-01 Thread Auke Kok
From: Ayyappan Veeraiyan [EMAIL PROTECTED] This ports Herbert Xu's maybe_stop_tx code and removes the tx_lock which is not needed. Signed-off-by: Ayyappan Veeraiyan [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/ixgbe/ixgbe.h |2 - drivers/net/ixgbe

[PATCH 4/8] ixgbe: Fix pause code for ethtool

2008-02-01 Thread Auke Kok
From: Ayyappan Veeraiyan [EMAIL PROTECTED] Signed-off-by: Ayyappan Veeraiyan [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/ixgbe/ixgbe_ethtool.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_ethtool.c b

[PATCH 5/8] ixgbe: Fix FW init/release, make this code a function

2008-02-01 Thread Auke Kok
From: Ayyappan Veeraiyan [EMAIL PROTECTED] A gap was left in the FW release/grab code in up/down path. Fix it by making the release/grab code a function and calling it in appropriate locations. Signed-off-by: Ayyappan Veeraiyan [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED

[PATCH 6/8] ixgbe: properly return CHECKSUM_NONE, cleanup csum code

2008-02-01 Thread Auke Kok
From: Ayyappan Veeraiyan [EMAIL PROTECTED] We were not returning CHECKSUM_NONE in a lot of cases which is wrong. Move common exit points in this function and error code up before the actual work in this function. Signed-off-by: Ayyappan Veeraiyan [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL

[PATCH 3/8] ixbge: Make ethtool code account for media types

2008-02-01 Thread Auke Kok
From: Ayyappan Veeraiyan [EMAIL PROTECTED] The i82598 can support various media types but this ethtool code only was coded for fiber just yet. Signed-off-by: Ayyappan Veeraiyan [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/ixgbe/ixgbe_ethtool.c | 52

[PATCH 7/8] ixgbe: fix several counter register errata

2008-02-01 Thread Auke Kok
] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/ixgbe/ixgbe_main.c | 53 +++- 1 files changed, 31 insertions(+), 22 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c index ee5ee10..6e7d90e 100644 --- a/drivers/net

[PATCH 8/8] ixgbe: add real-time traffic counters

2008-02-01 Thread Auke Kok
From: Ayyappan Veeraiyan [EMAIL PROTECTED] Just like our other drivers before we can switch ixgbe to provide real-time packet/byte counters to the stack easily. Signed-off-by: Ayyappan Veeraiyan [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/ixgbe/ixgbe_main.c

[PATCH 2/3] ethtool: update license field in specfile to be correctly defined

2008-01-07 Thread Auke Kok
RPM uses License as field and not Copyright. Signed-off-by: Jesse Brandeburg [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- ethtool.spec.in |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ethtool.spec.in b/ethtool.spec.in index 1705d7f..4ff736a 100644

[PATCH 3/3] ethtool: correct man page for advertise mask value of 10gig

2008-01-07 Thread Auke Kok
10 gigabit is defined as 0x1000 in the advertise mask. The man page mistakenly lists 0x800. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- ethtool.8 |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ethtool.8 b/ethtool.8 index af51056..cc6a46e 100644 --- a/ethtool.8 +++ b

[PATCH 1/3] ethtool: fix typo on setting speed 10000

2008-01-07 Thread Auke Kok
From: Jesse Brandeburg [EMAIL PROTECTED] fix the typo in speed 1 setting. Signed-off-by: Jesse Brandeburg [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- ethtool.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ethtool.c b/ethtool.c index 3adf843

[PATCH] intel ethernet drivers: update MAINTAINERS

2008-01-07 Thread Auke Kok
Unfortunately Jeb decided to move away from our group. We wish Jeb good luck with his new group! Reordered people a bit so most active team members are on top. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- MAINTAINERS | 18 -- 1 files changed, 8 insertions(+), 10 deletions

[PATCH 2/2] e1000: Use deferrable timer for watchdog

2007-12-20 Thread Auke Kok
From: Parag Warudkar [EMAIL PROTECTED] Reduces wakeups from idle per second. Signed-off-by: Parag Warudkar [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000/e1000_main.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/e1000

[PATCH 1/2] e1000e: Use deferrable timer for watchdog

2007-12-20 Thread Auke Kok
From: Parag Warudkar [EMAIL PROTECTED] Reduce wakeups from idle per second. Signed-off-by: Parag Warudkar [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/netdev.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/e1000e

[PATCH] e1000: Dump the eeprom when a user encounters a bad checksum

2007-12-17 Thread Auke Kok
To help supporting users with a bad eeprom checksum, dump the eeprom info when such a situation is encountered by a user. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000/e1000_main.c | 85 +++- 1 files changed, 74 insertions(+), 11 deletions

[PATCH 2/2] ixgb: enable sun hardware support for broadcom phy

2007-12-14 Thread Auke Kok
of the adapter remains the same. Signed-off-by: Matheos Worku [EMAIL PROTECTED] Signed-off-by: Jesse Brandeburg [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/ixgb/ixgb_hw.c | 82 +- drivers/net/ixgb/ixgb_hw.h |3

[PATCH 1/2] ixgb: make sure jumbos stay enabled after reset

2007-12-14 Thread Auke Kok
From: Matheos Worku [EMAIL PROTECTED] Currently a device reset (ethtool -r ethX) would cause the adapter to fall back to regular MTU sizes. Signed-off-by: Matheos Worku [EMAIL PROTECTED] Signed-off-by: Jesse Brandeburg [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net

[PATCH] e1000: Dump the eeprom when a user encounters a bad checksum

2007-12-14 Thread Auke Kok
To help supporting users with a bad eeprom checksum, dump the eeprom info when such a situation is encountered by a user. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000/e1000_main.c | 90 +++- 1 files changed, 79 insertions(+), 11 deletions

[PATCH] e1000: remove no longer used code for pci read/write cfg

2007-12-13 Thread Auke Kok
From: Adrian Bunk [EMAIL PROTECTED] Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000/e1000_hw.h |2 -- drivers/net/e1000/e1000_main.c | 16 2 files changed, 0 insertions(+), 18 deletions(-) diff --git

[PATCH] e100: free IRQ to remove warningwhenrebooting

2007-12-12 Thread Auke Kok
Adapted from Ian Wienand [EMAIL PROTECTED] Explicitly free the IRQ before removing the device to remove a warning Destroying IRQ without calling free_irq Signed-off-by: Auke Kok [EMAIL PROTECTED] Cc: Ian Wienand [EMAIL PROTECTED] --- drivers/net/e100.c |5 - 1 files changed, 4

[PATCH] ethtool: update license field in specfile to be correctly defined

2007-12-12 Thread Auke Kok
RPM uses License as field and not Copyright. Signed-off-by: Jesse Brandeburg [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- ethtool.spec.in |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ethtool.spec.in b/ethtool.spec.in index 1705d7f..4ff736a 100644

[PATCH 2/2] e100: cleanup unneeded math

2007-12-05 Thread Auke Kok
No need to convert to bytes and back - cleanup unneeded code. Adapted from fix from 'Roel Kluin [EMAIL PROTECTED]' Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e100.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/e100.c b/drivers/net

[PATCH 1/2] e1000: fix memcpy in e1000_get_strings

2007-12-05 Thread Auke Kok
to sizeof(e1000_gstrings_test) / (ETH_GSTRING_LEN * ETH_GSTRING_LEN) A lack of parentheses around defines causes unexpected results due to operator precedences. Signed-off-by: Roel Kluin [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000/e1000_ethtool.c |2

[PATCH] e1000: Fix NAPI state bug when Rx complete

2007-11-27 Thread Auke Kok
Don't exit polling when we have not yet used our budget, this causes the NAPI system to end up with a messed up poll list. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000/e1000_main.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/e1000

[PATCH] ethtool: fix typo on setting speed 10000

2007-11-26 Thread Auke Kok
From: Jesse Brandeburg [EMAIL PROTECTED] fix the typo in speed 1 setting. Signed-off-by: Jesse Brandeburg [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- ethtool.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ethtool.c b/ethtool.c index 3adf843

[PATCH 2/6] e1000: update netstats traffic counters realtime

2007-11-13 Thread Auke Kok
formerly e1000/e1000e only updated traffic counters once every 2 seconds with the register values of bytes/packets. With newer code however in the interrupt and polling code we can real-time fill in these values in the netstats struct for users to see. Signed-off-by: Auke Kok [EMAIL PROTECTED

[PATCH 5/6] e1000: Secondary unicast address support

2007-11-13 Thread Auke Kok
filtering is disabled and all slots can be used for multicast addresses. Signed-off-by: Patrick McHardy [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000/e1000_main.c | 47 ++-- 1 files changed, 31 insertions(+), 16 deletions

[PATCH 6/6] e1000: fix schedule while atomic when called from mii-tool

2007-11-13 Thread Auke Kok
PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000/e1000_main.c | 13 +++-- 1 files changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index dc4934d..b7c3070 100644 --- a/drivers/net/e1000

[PATCH 4/6] e1000e: convert register test macros to functions

2007-11-13 Thread Auke Kok
14461387d drivers/net/e1000e/ethtool.o new: $ size drivers/net/e1000e/ethtool.o textdata bss dec hex filename 12498 0 0 1249830d2 drivers/net/e1000e/ethtool.o Signed-off-by: Joe Perches [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED

[PATCH 3/6] e1000: convert regtest macro's to functions

2007-11-13 Thread Auke Kok
-by: Joe Perches [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000/e1000_ethtool.c | 84 - 1 files changed, 55 insertions(+), 29 deletions(-) diff --git a/drivers/net/e1000/e1000_ethtool.c b/drivers/net/e1000/e1000_ethtool.c

[PATCH 1/6] e1000e: update netstats traffic counters realtime

2007-11-13 Thread Auke Kok
formerly e1000/e1000e only updated traffic counters once every 2 seconds with the register values of bytes/packets. With newer code however in the interrupt and polling code we can real-time fill in these values in the netstats struct for users to see. Signed-off-by: Auke Kok [EMAIL PROTECTED

[PATCH] ethtool: Fix coalesce settings copy+paste typo

2007-11-12 Thread Auke Kok
Coalesce setting errors use the same error messages as the descriptor ring errors. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- ethtool.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ethtool.c b/ethtool.c index 6c7a2e3..bb9dd59 100644 --- a/ethtool.c +++ b

[PATCH] Fix e100 on systems that have cache incoherent DMA

2007-11-08 Thread Auke Kok
cleared without the size set, it will move on to the next buffer and skip this one. If it sees the size set but the el-bit still set, it will complete that buffer and then RNR interrupt and wait. Signed-off-by: David Acker [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers

[PATCH] ethtool: add support for supporting 10000baseT

2007-11-07 Thread Auke Kok
Brandeburg [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- ethtool.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/ethtool.c b/ethtool.c index 6c7a2e3..888be57 100644 --- a/ethtool.c +++ b/ethtool.c @@ -725,6 +725,13 @@ static void dump_supported

[PATCH 2/4] e1000e: Disable L1 ASPM power savings for 82573 mobile variants

2007-10-31 Thread Auke Kok
power consumption. Remove a workaround RDTR adjustment that is no longer needed with this new one. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/82571.c |1 - drivers/net/e1000e/e1000.h |1 - drivers/net/e1000e/netdev.c | 30 ++ drivers/net

[PATCH 3/4] e1000/e1000e: Move PCI-Express device IDs over to e1000e

2007-10-31 Thread Auke Kok
ich8, ich9 (82562 or 82566) es2lan (80003eslan) igb: (not yet merged, only available from e1000.sf.net) 82575 Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000/e1000_main.c | 27 --- drivers/net/e1000e/82571.c

[PATCH 1/4] e1000e: alternate MAC address support

2007-10-31 Thread Auke Kok
From: Bill Hayes [EMAIL PROTECTED] Port alternate MAC address support from the sourceforge e1000 driver to the upstream e1000e driver. Signed-off-by: Bill Hayes [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/82571.c |4 drivers/net/e1000e

[PATCH 4/4] ixgbe: Fix copper PHY initialization code

2007-10-31 Thread Auke Kok
issues. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/ixgbe/ixgbe.h|8 -- drivers/net/ixgbe/ixgbe_82598.c | 156 +++--- drivers/net/ixgbe/ixgbe_common.c | 10 ++ drivers/net/ixgbe/ixgbe_main.c | 19 ++--- drivers/net/ixgbe/ixgbe_phy.h

[PATCH] ixgb: fix TX hangs under heavy load

2007-10-30 Thread Auke Kok
hardware. Signed-off-by: Jesse Brandeburg [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] Cc: Andy Gospodarek [EMAIL PROTECTED] --- drivers/net/ixgb/ixgb_main.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ixgb/ixgb_main.c b/drivers/net/ixgb

[PATCH 3/4] e1000: sparse warnings fixes

2007-10-29 Thread Auke Kok
From: Stephen Hemminger [EMAIL PROTECTED] Fix sparse warnings and problems from e1000 driver. Added a sparse fix for the module param array index -- Auke Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000/e1000.h |8

[PATCH 2/4] ixgb: fix sparse warnings

2007-10-29 Thread Auke Kok
Hemminger [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/ixgb/ixgb.h |7 ++ drivers/net/ixgb/ixgb_ethtool.c |7 ++ drivers/net/ixgb/ixgb_hw.c |4 ++-- drivers/net/ixgb/ixgb_main.c| 11 -- drivers/net/ixgb/ixgb_param.c | 43

[PATCH] e1000e: Fix typo !

2007-10-29 Thread Auke Kok
From: Roel Kluin [EMAIL PROTECTED] Signed-off-by: Roel Kluin [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/82571.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/e1000e/82571.c b/drivers/net/e1000e/82571.c index cf70522

[PATCH 4/4] ixgbe: minor sparse fixes

2007-10-29 Thread Auke Kok
From: Stephen Hemminger [EMAIL PROTECTED] Make strings const if possible, and fix includes so forward definitions are seen. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/ixgbe/ixgbe.h |2 +- drivers/net/ixgbe/ixgbe_82598

[PATCH 1/4] e1000e: fix sparse warnings

2007-10-29 Thread Auke Kok
From: Stephen Hemminger [EMAIL PROTECTED] Fix sparse warnings from e1000e driver in net-2.6.24. Added a sparse fix for module param arrays which can have int values but only the array index needs to be unsigned. --Auke Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] Signed-off-by: Auke Kok

[PATCH] skye/skge: sparse fix - data can't ever be bigger than LONG_MAX / HZ

2007-10-26 Thread Auke Kok
Trivial replacement - use INT_MAX instead here. Signed-off-by: Auke Kok [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] --- drivers/net/sk98lin/skethtool.c |4 ++-- drivers/net/skge.c |8 drivers/net/sky2.c |8 3 files changed, 10 insertions

[PATCH] pcnet: fix sparse triviality

2007-10-26 Thread Auke Kok
Since data can never exceed u32, it can't even be larger than LONG_MAX/HZ. Signed-off-by: Auke Kok [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] --- drivers/net/pcnet32.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/pcnet32.c b/drivers/net/pcnet32.c index

[PATCH 1/4] e1000e: Fix jumbo frame receive code.

2007-10-25 Thread Auke Kok
of the buffer_info struct anyway. Without this patch all jumbo frames are completely broken and the driver panics. Signed-off-by: Jesse Brandeburg [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/e1000.h |4 +- drivers/net/e1000e/netdev.c | 102

[PATCH 2/4] e1000e: Fix PBA calculation for jumbo frame packets

2007-10-25 Thread Auke Kok
run. Without this patch jumbo's will work but performance will be awkward since the TX size is not adequate for two whole frames. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/netdev.c | 22 +- 1 files changed, 13 insertions(+), 9 deletions(-) diff --git

[PATCH 4/4] e1000e: Remove legacy jumbo frame receive code

2007-10-25 Thread Auke Kok
The legacy jumbo frame receive code is no longer needed since all hardware can do packet split and we're no longer offering a bypass kernel config option to disable packet split. Remove the unused code. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/e1000.h |1 drivers

[PATCH 3/4] e1000e: Re-enable SECRC - crc stripping

2007-10-25 Thread Auke Kok
-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/netdev.c | 19 ++- 1 files changed, 6 insertions(+), 13 deletions(-) diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c index e87ed31..03fcc70 100644 --- a/drivers/net/e1000e/netdev.c +++ b/drivers/net

[PATCH 2/2] e1000e: fix error checks

2007-10-15 Thread Auke Kok
From: Adrian Bunk [EMAIL PROTECTED] Spotted by the Coverity checker. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/ethtool.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/e1000e/ethtool.c

[PATCH 1/2] e1000e: Fix debug printk macro

2007-10-15 Thread Auke Kok
Spotted by Joe Perches. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/hw.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/e1000e/hw.h b/drivers/net/e1000e/hw.h index aa82f1a..6451578 100644 --- a/drivers/net/e1000e/hw.h +++ b/drivers/net

[PATCH] e1000e: don't poke PHY registers to retreive link status

2007-10-15 Thread Auke Kok
-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/ethtool.c | 31 +-- 1 files changed, 21 insertions(+), 10 deletions(-) diff --git a/drivers/net/e1000e/ethtool.c b/drivers/net/e1000e/ethtool.c index b7a7e2a..983b031 100644 --- a/drivers/net/e1000e/ethtool.c

[PATCH 1/2] e1000: Simple optimizations in e1000_xmit_frame

2007-10-05 Thread Auke Kok
From: Krishna Kumar [EMAIL PROTECTED] Some simple optimizations in e1000_xmit_frame. Signed-off-by: Krishna Kumar [EMAIL PROTECTED] --- drivers/net/e1000/e1000_main.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/net/e1000/e1000_main.c

[PATCH 2/2] e1000e: Simple optimizations in e1000_xmit_frame

2007-10-05 Thread Auke Kok
After an e1000 patch from Krishna Kumar [EMAIL PROTECTED]. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/netdev.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c index 71c9fed..033e124

[PATCH] e1000e: restore flow control settings properly

2007-10-05 Thread Auke Kok
-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/ethtool.c |1 + drivers/net/e1000e/lib.c | 12 +--- drivers/net/e1000e/netdev.c |1 + 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/drivers/net/e1000e/ethtool.c b/drivers/net/e1000e/ethtool.c index

[PATCH] ethtool: Add e1000e reg dump support (using e1000 decode function)

2007-10-04 Thread Auke Kok
The e1000 register dump code can print out e1000e register dump information as well, so enable it for e1000e devices. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- ethtool.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ethtool.c b/ethtool.c index 651529e..6c7a2e3

[PATCH] e1000e: fix debugging printout code

2007-10-04 Thread Auke Kok
A small bug crawled in the -DDEBUG enabled code. Fix this to properly call the backreference device name. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/hw.h |2 +- drivers/net/e1000e/netdev.c |4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH] e1000e: Fix ethtool register test code

2007-10-04 Thread Auke Kok
A merge/cleanup code accidentally dropped 8254x code in and removed 8257x code here. Undo this mistake and use the pci-e relevant register test similar as to what is in e1000. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/ethtool.c | 14 ++ 1 files changed, 10

[PATCH] e1000e: Do not allow requeue of freed skb

2007-09-21 Thread Auke Kok
From: Krishna Kumar [EMAIL PROTECTED] Returning BUSY will make qdisc_restart enqueue the skb which was already freed. The bad skb was correctly freed and we should return NETDEV_TX_OK. First spotted by Jeff Garzik on 08/13/07. Signed-off-by: Krishna Kumar [EMAIL PROTECTED] Signed-off-by: Auke

[PATCH] [-MM, FIX] ixgbe: incorporate napi_struct changes from net-2.6.24.git

2007-09-12 Thread Auke Kok
This incorporates the new napi_struct changes into ixgbe. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/ixgbe/ixgbe.h |1 + drivers/net/ixgbe/ixgbe_main.c | 62 +--- 2 files changed, 27 insertions(+), 36 deletions(-) diff --git

[PATCH] [-MM, FIX V4] e1000e: incorporate napi_struct changes from net-2.6.24.git

2007-09-10 Thread Auke Kok
done improperly back to the stack. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/e1000.h |2 ++ drivers/net/e1000e/netdev.c | 40 2 files changed, 18 insertions(+), 24 deletions(-) diff --git a/drivers/net/e1000e/e1000.h b/drivers

[PATCH] [-MM, FIX V3] e1000e: incorporate napi_struct changes from net-2.6.24.git

2007-09-07 Thread Auke Kok
This incorporates the new napi_struct changes into e1000e. Included bugfix for ifdown hang from Krishna Kumar for e1000. Disabling polling is no longer needed at init time, so remove napi_disable() call from _probe(). Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/e1000.h

[PATCH] e100: timer power saving

2007-09-06 Thread Auke Kok
From: Stephen Hemminger [EMAIL PROTECTED] Since E100 timer is 2HZ, use rounding to make timer occur on the correct boundary. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e100.c |3 ++- 1 files changed, 2 insertions(+), 1

[PATCH] e1000: Add device IDs of blade version of the 82571 quad port

2007-08-30 Thread Auke Kok
This blade-specific board form factor is identical to the 82571EB board. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000/e1000_ethtool.c |1 + drivers/net/e1000/e1000_hw.c |1 + drivers/net/e1000/e1000_hw.h |1 + drivers/net/e1000/e1000_main.c|2

[PATCH] [-MM, FIX] e1000e: incorporate napi_struct changes from net-2.6.24.git

2007-08-23 Thread Auke Kok
This incorporates the new napi_struct changes into e1000e. Included bugfix for ifdown hang from Krishna Kumar for e1000. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/e1000.h |2 ++ drivers/net/e1000e/netdev.c | 35 --- 2 files changed

[PATCH 1/3] e1000e: retire last_tx_tso workaround

2007-08-22 Thread Auke Kok
This TSO-related workaround is no longer needed since it's only applicable for 8254x silicon. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/e1000.h | 15 +++ drivers/net/e1000e/netdev.c | 20 ++-- 2 files changed, 5 insertions(+), 30 deletions

[PATCH 2/3] e1000e: Add read code and printout of PBA number (board identifier)

2007-08-22 Thread Auke Kok
The PBA number allows customers and support to directly identify the type of board and characteristics such as different skews. Slightly enhance loading messages by adding module name to printout. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/defines.h |6 -- drivers

[PATCH 3/3] e1000e: Remove conditional packet split disable flag

2007-08-22 Thread Auke Kok
This flag conflicts with e1000's Kconfig symbol and we'll leave the feature enabled by default for now. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/netdev.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/net/e1000e/netdev.c b/drivers/net

[PATCH 2/2] ethtool: add register dump support for intel 82598 chipsets (ixgbe driver)

2007-08-15 Thread Auke Kok
From: Nicholas Nunley [EMAIL PROTECTED] Signed-off-by: Nicholas Nunley [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- Makefile.am|2 ethtool-util.h |2 ethtool.c |1 ixgbe.c| 1017 4 files

[PATCH 1/2] ethtool: add register dump support for intel 82575 chipsets (igb driver)

2007-08-15 Thread Auke Kok
From: Nicholas Nunley [EMAIL PROTECTED] Signed-off-by: Nicholas Nunley [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] --- Makefile.am|2 ethtool-util.h |2 ethtool.c |1 igb.c | 864 4 files

[PATCH 6/6] e1000e: Remove two compile warnings

2007-08-10 Thread Auke Kok
': drivers/net/e1000e/phy.c:1324: warning: 'ret_val' may be used uninitialized in this function Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/lib.c |2 +- drivers/net/e1000e/phy.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/e1000e/lib.c b

[PATCH 1/6] e1000e: Fix header includes [v2]

2007-08-10 Thread Auke Kok
Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/82571.c |4 drivers/net/e1000e/e1000.h |7 --- drivers/net/e1000e/es2lan.c |5 + drivers/net/e1000e/ethtool.c |3 ++- drivers/net/e1000e/hw.h |2 ++ drivers/net/e1000e/ich8lan.c |5

[PATCH 3/6] e1000e: Use dma_alloc_coherent where possible

2007-08-10 Thread Auke Kok
Instead of using pci_alloc_consistent at GFP_ATOMIC we can be more reliable at startup and use dma_alloc_coherent instead with GFP_KERNEL. Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/ethtool.c | 16 drivers/net/e1000e/netdev.c |9 ++--- 2 files

[PATCH 4/6] e1000e: Use time_after to account for jiffies wrapping

2007-08-10 Thread Auke Kok
Signed-off-by: Auke Kok [EMAIL PROTECTED] --- drivers/net/e1000e/ethtool.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/e1000e/ethtool.c b/drivers/net/e1000e/ethtool.c index d184116..d14cc4b 100644 --- a/drivers/net/e1000e/ethtool.c +++ b/drivers/net

  1   2   3   4   >