24 Sep, 2010
4 commits
-
Change "return (EXPR);" to "return EXPR;"
return is not a function, parentheses are not required.
Signed-off-by: Eric Dumazet
Signed-off-by: David S. Miller -
E1000 can benefit from calling the GRO receive functions.
Signed-off-by: Jesse Brandeburg
Tested-by: Jeff Pieper
Signed-off-by: Jeff Kirsher
Signed-off-by: David S. Miller -
Net drivers in general have an issue where timers fired
by mod_timer or work threads with schedule_work are running
outside of the rtnl_lock.With no other lock protection these routines are vulnerable
to races with driver unload or reset paths.The longer term solution to this might be a redesign with
safer locks being taken in the driver to guarantee no
reentrance, but for now a safe and effective fix is
to take the rtnl_lock in these routines.Signed-off-by: Jesse Brandeburg
Tested-by: Jeff Pieper
Signed-off-by: Jeff Kirsher
Signed-off-by: David S. Miller -
E1000 is using several timers that in a follow on patch
will need to acquire the rtnl_lock in order to be safe.This patch moves the timer bodies into work queues which
will allow the next patch to add rtnl_lock.Signed-off-by: Jesse Brandeburg
Tested-by: Jeff Pieper
Signed-off-by: Jeff Kirsher
Signed-off-by: David S. Miller
23 Sep, 2010
7 commits
-
If the netdev->features is set with NETIF_F_HIGHDMA, we should set the
corresponding netdev->vlan_features as well to allow VLAN netdev created
on top of the real netdev to be able to also benefit from HIGHDMA on 32bit
system, reducing the performance hit that is caused by __skb_linearize(),
particularly for large send. This is fixed in this patch for all Intel e1000,
e1000e, igb, ixgbe, and ixgbe drivers since this should be beneficial
to all devices supported by these drivers.Signed-off-by: Yi Zou
Tested-by: Emil Tantilov
Signed-off-by: Jeff Kirsher
Signed-off-by: David S. Miller -
This patch adds support for the Intel(r) DH89xxCC series. The new
device will be using Intel(r) i347-AT4 and Marvell(r) M88E1322 and
M88E1112 PHYs. Support for these devices has also been added here.Signed-off-by: Joseph Gasparakis
Tested-by: Jeff Pieper
Signed-off-by: Jeff Kirsher
Signed-off-by: David S. Miller -
This change corrects an issue in which we were setting all flag bits except
for promisc instead of clearing the promisc bits due to the incorrect use
of an |= instead of an &=.Signed-off-by: Alexander Duyck
Tested-by: Jeff Pieper
Signed-off-by: Jeff Kirsher
Signed-off-by: David S. Miller -
The x25_datagram_poll didn't add anything, removed it.
Signed-off-by: Andrew Hendry
Signed-off-by: David S. Miller -
Signed-off-by: Andrew Hendry
Signed-off-by: David S. Miller -
This board never went into production, but some engineering samples
are in use.Signed-off-by: Ben Hutchings
Signed-off-by: David S. Miller -
SFN4111T never reached production and is not being used for internal
or customer testing.Since we have no production Falcon boards using the SFT9001 or the
GMAC, remove support for them as well.Signed-off-by: Ben Hutchings
Signed-off-by: David S. Miller
22 Sep, 2010
24 commits
-
CAIF sockets should use socket's default send and receive buffers sizes.
Signed-off-by: Sjur Braendeland
Signed-off-by: David S. Miller -
Check that receive function pointer is not null before calling it.
Signed-off-by: Sjur Braendeland
Signed-off-by: David S. Miller -
Use pr_debug for flow control printouts, and refine an error printout.
Signed-off-by: Sjur Braendeland
Signed-off-by: David S. Miller -
Remove debugging quirk redefining pr_debug to pr_warning.
Signed-off-by: Sjur Brændeland
Signed-off-by: David S. Miller -
- Use rcu_dereference_rtnl() in __in6_dev_get
- kerneldoc for __in6_dev_get() and in6_dev_get()
- Use inline functions instead of macrosSigned-off-by: Eric Dumazet
Signed-off-by: David S. Miller -
Signed-off-by: Eric Dumazet
Signed-off-by: David S. Miller -
Use dev_kfree_skb_any() helper to free the skb
Signed-off-by: Denis Kirjanov
Signed-off-by: David S. Miller -
Check for DMA mapping errors.
Signed-off-by: Denis Kirjanov
Signed-off-by: David S. Miller -
Convert to DMA API
Signed-off-by: Denis Kirjanov
Signed-off-by: David S. Miller -
Signed-off-by: Andy Shevchenko
Signed-off-by: David S. Miller -
Signed-off-by: Andy Shevchenko
Cc: Chas Williams
Cc: linux-atm-general@lists.sourceforge.net
Signed-off-by: David S. Miller -
tmspci driver uses dev->name before register_netdev() and so prints tr%d
in initialization messages. Fix it by using dev_info.Found and tested on real hardware.
Signed-off-by: Meelis Roos
Signed-off-by: David S. Miller -
net/core/ethtool.c: In function 'ethtool_get_regs':
net/core/ethtool.c:818:2: error: implicit declaration of function 'vmalloc'
net/core/ethtool.c:818:9: warning: assignment makes pointer from integer without a cast
net/core/ethtool.c:833:2: error: implicit declaration of function 'vfree'Signed-off-by: David S. Miller
-
drivers/net/sfc/filter.c: In function ‘efx_probe_filters’:
drivers/net/sfc/filter.c:422: error: implicit declaration of function ‘vmalloc’
drivers/net/sfc/filter.c:422: warning: assignment makes pointer from integer without a cast
drivers/net/sfc/filter.c: In function ‘efx_remove_filters’:
drivers/net/sfc/filter.c:442: error: implicit declaration of function ‘vfree’Signed-off-by: David S. Miller
-
Signed-off-by: Ben Hutchings
Signed-off-by: David S. Miller -
For backward compatibility, add it at the end.
Signed-off-by: Ben Hutchings
Signed-off-by: David S. Miller -
Signed-off-by: Ben Hutchings
Signed-off-by: David S. Miller -
Signed-off-by: Ben Hutchings
Signed-off-by: David S. Miller -
Some NICs have huge register files which exceed the maximum heap
allocation size.Signed-off-by: Ben Hutchings
Signed-off-by: David S. Miller -
Signed-off-by: Ben Hutchings
Signed-off-by: David S. Miller -
Signed-off-by: Ben Hutchings
Signed-off-by: David S. Miller -
…wireless-next-2.6 into for-davem
Conflicts:
arch/arm/mach-omap2/board-omap3pandora.c
drivers/net/wireless/ath/ath5k/base.c
21 Sep, 2010
5 commits
-
ath9k can use minstrel_ht instead, so it makes sense to save some space here.
Signed-off-by: Felix Fietkau
Signed-off-by: John W. Linville -
It is not used anywhere else and can be made static
Signed-off-by: Felix Fietkau
Signed-off-by: John W. Linville -
The tid aggregation cleanup is a bit fragile, as it discards failed
subframes in some places, and retransmits them in others. This could
block the cleanup of an existing aggregation session, if a retransmission
for a tid is issued, yet the tid is never scheduled again because of
the cleanup state.Fix this by getting rid of as many subframes as possible, as early
as possible, and immediately transmitting pending subframes as regular
HT frames instead of waiting for the cleanup to complete.Drop all pending subframes while keeping track of the Block ACK window
during aggregate tx completion to prevent sending out stale subframes,
which could confuse the receiver side.Signed-off-by: Felix Fietkau
Cc: stable@kernel.org
Signed-off-by: John W. Linville -
A new aggregation session start can be issued by mac80211, even when the
cleanup of the previous session has not completed yet. Since the data structure
for the session is not recreated, this could corrupt the block ack window
and lock up the aggregation session. Fix this by delaying the new session
until the old one has been cleaned up.Signed-off-by: Felix Fietkau
Cc: stable@kernel.org
Signed-off-by: John W. Linville -
There's no reason to keep pointers to pending tx buffers around, if they're
only used to keep track of which frames are still pending. Use a bitfield
instead.Signed-off-by: Felix Fietkau
Signed-off-by: John W. Linville