09 Jul, 2010
18 commits
-
Signed-off-by: Karl Hiramoto
Signed-off-by: David S. Miller -
When a signal change event occurs call netif_carrier_on/off.
Signed-off-by: Karl Hiramoto
Signed-off-by: David S. Miller -
Add notifier chain for changes in atm_dev.
Clients like br2684 will call register_atmdevice_notifier() to be notified of
changes. Drivers will call atm_dev_signal_change() to notify clients like
br2684 of the change.On DSL and ATM devices it's usefull to have a know if you have a carrier
signal. netdevice LOWER_UP changes can be propagated to userspace via netlink
monitor.Signed-off-by: Karl Hiramoto
Signed-off-by: David S. Miller -
Implement "Unhandled Interrupts" statistic so we can detect when the
hardware tells us that it things we have work to do but we don't find
anything ...Signed-off-by: Casey Leedom
Signed-off-by: David S. Miller -
Error path in mpc52xx_fec_probe() is broken.
We must free everything that we've allocated.Signed-off-by: Kulikov Vasiliy
Signed-off-by: David S. Miller -
If of_iomap() or irq_of_parse_and_map() fail then np must be freed.
Signed-off-by: Kulikov Vasiliy
Signed-off-by: David S. Miller -
If ax_ei_open() failed we must free previously requested irq.
Signed-off-by: Kulikov Vasiliy
Signed-off-by: David S. Miller -
This patch removes an unnecessary bank select before resetting the
controller.Signed-off-by: Richard Röjfors
Signed-off-by: David S. Miller -
Currently all code that needs to be run at TX timeout is done in the
calling context, where bottom halves are disabled. Some of the code
blocks, so it needs to be done in a different context. This patch
adds in a work struct which is scheduled at TX timeout. Then the
timeout code is executed within work queue context.Signed-off-by: Richard Röjfors
Signed-off-by: David S. Miller -
V2: Check pointers before releasing resources.
Fix DMA resources leak.
Signed-off-by: Denis Kirjanov
Signed-off-by: Kulikov Vasiliy -
Commit eedc765ca4b19a41cf0b921a492ac08d640060d1 merged changes from
net-2.6 that added and then removed efx_nic::port_num, which was also
added in net-next-2.6. The end result should be that it is removed,
since it is now unused.Signed-off-by: Ben Hutchings
Signed-off-by: David S. Miller -
Similar to commit 72dccb01e8632aa (bnx2: Update vlan_features)
In order to enable TSO on vlan devices, tg3 needs to update
dev->vlan_features.Tested on HP NC326m (aka BCM5715S (rev a3))
Signed-off-by: Eric Dumazet
Signed-off-by: David S. Miller -
Now core network is able to handle 64 bit netdevice stats on 32 bit
arches, we can provide them for tg3, since hardware maintains 64 bit
counters.Signed-off-by: Eric Dumazet
Signed-off-by: David S. Miller -
Now core network is able to handle 64 bit netdevice stats on 32 bit
arches, we can provide them for bnx2, since hardware maintains some 64
bit counters.Signed-off-by: Eric Dumazet
Acked-by: Michael Chan
Signed-off-by: David S. Miller -
We can use CONFIG_NEED_DMA_MAP_STATE to see if a platform does real
DMA unmapping.Signed-off-by: FUJITA Tomonori
Signed-off-by: David S. Miller -
We could use DEFINE_DMA_UNMAP_ADDR instead but using
CONFIG_NEED_DMA_MAP_STATE is a simpler way to see if a platform does
real DMA unmapping.Signed-off-by: FUJITA Tomonori
Signed-off-by: David S. Miller -
When we need to shape traffic using low speeds, we need to
disable tso on network interface :ethtool -K eth0.2240 tso off
It seems vlan interfaces miss the set_tso() ethtool method.
Before enabling TSO, we must check real device supports
TSO for VLAN-tagged packets and enables TSO.Note that a TSO change on real device propagates TSO setting
on all vlans, even if admin selected a different TSO setting.Signed-off-by: Eric Dumazet
Signed-off-by: Ben Hutchings
Signed-off-by: David S. Miller -
This patch makes IPV6 over IPv4 GRE tunnel propagate the transport
class field from the underlying IPV6 header to the IPV4 Type Of Service
field. Without the patch, all IPV6 packets in tunnel look the same to QoS.This assumes that IPV6 transport class is exactly the same
as IPv4 TOS. Not sure if that is always the case? Maybe need
to mask off some bits.The mask and shift to get tclass is copied from ipv6/datagram.c
Signed-off-by: Stephen Hemminger
Signed-off-by: David S. Miller
08 Jul, 2010
22 commits
-
The change to ndo_get_stats64 in "net: fix 64 bit counters on 32 bit arches"
missed cxgb4. Fix it.Signed-off-by: Dimitris Michailidis
Acked-by: Eric Dumazet
Signed-off-by: David S. Miller -
Signed-off-by: FUJITA Tomonori
Signed-off-by: David S. Miller -
Get rid of the pointless back-and-forth casting of dev->mem_start
from long to pointer back to long again.Also fixes a warning reported by Stephen Rothwell:
drivers/net/ethoc.c: In function 'ethoc_init_ring':
drivers/net/ethoc.c:302: warning: assignment makes integer from pointer without a castSigned-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
Use kfree_skb for skb pointers
Acked-by: Dimitris Michailidis
Signed-off-by: Denis Kirjanov
Signed-off-by: David S. Miller -
The CAPI variant of the Gigaset drivers can, in combination with
capidrv, now fully replace the legacy ISDN4Linux variant. All
reported problems have been fixed. So remove the EXPERIMENTAL tag
from the Kconfig option selecting it, and adapt the documentation
accordingly to encourage users to switch to it.Impact: documentation/status update, no functional change
Signed-off-by: Tilman Schmidt
Signed-off-by: David S. Miller -
Add a paragraph to the driver documentation describing how to make
internal and external calls.Impact: documentation
Signed-off-by: Tilman Schmidt
Signed-off-by: David S. Miller -
Take care to free all previously allocated ressources in the
"out of memory" error path of the ISDN_CMD_DIAL branch.
Based on an original patch by Dan Carpenter.Impact: bugfix
Reported-by: Dan Carpenter
Signed-off-by: Tilman Schmidt
Acked-by: Dan Carpenter
Signed-off-by: David S. Miller -
Downgrade some error messages which occur frequently during
normal operation to debug messages.Impact: logging
Signed-off-by: Tilman Schmidt
Signed-off-by: David S. Miller -
Remove compile time options in the Gigaset ISDN driver that aren't
going to be changed anymore, and an obsolete FIXME comment.Impact: cleanup
Signed-off-by: Tilman Schmidt
Signed-off-by: David S. Miller -
Add minimal handling for the non-optional CAPI FACILITY_REQ
Supplementary Service function Listen.Impact: bugfix
Signed-off-by: Tilman Schmidt
Signed-off-by: David S. Miller -
Provide better control of debugging output for DATA_B3 CAPI messages
which tend to occur very frequently.Impact: logging
Signed-off-by: Tilman Schmidt
Signed-off-by: David S. Miller -
With CONFIG_GIGASET_DEBUG set, every isochronous USB frame after
an erroneous one was checked for more errors. This produced only
noise messages in practice, so drop it.Impact: cleanup
Signed-off-by: Tilman Schmidt
Signed-off-by: David S. Miller -
Downgrade the Gigaset driver's reaction to unknown AT responses from
the device from warning to debug level, and remove the handling of
some device responses which aren't relevant for the driver's
operation.Impact: cleanup
Signed-off-by: Tilman Schmidt
Signed-off-by: David S. Miller -
Change the Gigaset driver's internal write_cmd interface to accept a
cmdbuf structure instead of a string. This avoids copying formatted
AT commands a second time.Impact: optimization
Signed-off-by: Tilman Schmidt
Signed-off-by: David S. Miller -
The usb_gigaset driver's write buffer limit was different from those
of the others for no good reason. Set it to the same value, derived
from the Siemens documentation.Impact: cosmetic
Signed-off-by: Tilman Schmidt
Signed-off-by: David S. Miller -
This patch relates to "[PATCH] gainfar.c : skb_over_panic
(kernel-2.6.32.15)"While in 2.6.32.15 it actually fixed a bug here it merely cleans up
the previous attempts to fix the bug with a more coherent code.Currently before queuing skb into the rx_recycle it is
"un-skb_reserve"-ed so when taken out in gfar_new_skb() it wont be
reserved twice.This patch makes sure the alignment skb_reserve is done once, upon
allocating the skb and not when taken out of the rx_recycle
pool. Eliminating the need to undo anything before queue skb back to
the pool.NOTE: This patch will compile and is fairly straight forward but I do
not have environment to test it as I did with the 2.6.32.15 fix.Signed-off-by: Eran Liberty
Signed-off-by: David S. Miller -
The SH7757 has 2 Fast Ethernet controller (ETHER) and 2 Gigabit Ethernet
Controller (GETHER). This patch supports 2 ETHER only.Signed-off-by: Yoshihiro Shimoda
Signed-off-by: David S. Miller -
Set Toeplitz hash both for LRO and none-LRO skbs.
The first CQE (TPA_START) will contain a hash for an LRO packet.Current code sets skb->rx_hash for none-LRO skbs only.
Signed-off-by: Vladislav Zolotarov
Signed-off-by: Eilon Greenstein
Signed-off-by: David S. Miller -
Removal of unused integer variable in ip_fragment().
Signed-off-by: George Kadianakis
Signed-off-by: David S. Miller -
Signed-off-by: Ralf Baechle
drivers/net/sb1250-mac.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Signed-off-by: David S. Miller