18 Oct, 2009
9 commits
-
Remove duplicate sock_set_flag(sk, SOCK_ZAPPED) in iucv_sock_close,
which has been overlooked in September-commit
7514bab04e567c9408fe0facbde4277f09d5eb74.Cc: Hendrik Brueckner
Signed-off-by: Ursula Braun
Signed-off-by: David S. Miller -
Instead of modifying sk->sk_ack_backlog directly, use respective
socket functions.Signed-off-by: Hendrik Brueckner
Signed-off-by: Ursula Braun
Signed-off-by: David S. Miller -
Signed-off-by: Dhananjay Phadke
Signed-off-by: David S. Miller -
Firmware hang detection and recovery (reset) need to
be disabled for diagnostic tools, which can run
some disruptive tests.This adds a driver level control to turn off this
feature by diag tools.Signed-off-by: Narender Kumar
Signed-off-by: Dhananjay Phadke
Signed-off-by: David S. Miller -
Use -EIO or -EINVAL as error codes, these can get passed up
to applications (tools).Signed-off-by: Dhananjay Phadke
Signed-off-by: David S. Miller -
Add support for different windowing scheme for on chip
memory in future chip revisions. This is required by
diagnostic tools.Signed-off-by: Amit Kumar Salecha
Signed-off-by: Dhananjay Phadke
Signed-off-by: David S. Miller -
Future revisions need different chip reset sequence
and firmware initialization.Also clean up some never used debug code.
Signed-off-by: Amit Kumar Salecha
Signed-off-by: Dhananjay Phadke
Signed-off-by: David S. Miller -
Future revisions of the chip have 128 bit memory
transactions. Require drivers to implement rmw
in case of sub-128 bit accesses by driver. This
is mostly used by diagnostic tools.Signed-off-by: Amit Kumar Salecha
Signed-off-by: Dhananjay Phadke
Signed-off-by: David S. Miller -
Signed-off-by: Amit Kumar Salecha
Signed-off-by: Dhananjay Phadke
Signed-off-by: David S. Miller
17 Oct, 2009
1 commit
-
Add new PCI ids to support next generation of BladeEngine device.
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller
16 Oct, 2009
1 commit
-
Signed-off-by: Rémi Denis-Courmont
Acked-by: Eric Dumazet
Signed-off-by: David S. Miller
15 Oct, 2009
17 commits
-
Signed-off-by: Eilon Greenstein
Signed-off-by: David S. Miller -
The device is limited to the maximal BW allocation, so it should be displayed as
the link speed to notify the user.Signed-off-by: Eilon Greenstein
Signed-off-by: David S. Miller -
There is really no need to clear the MAC or the FW filtering rules - it was
added for completion, but caused race conditions with load/unload. Removing this
redundant codeSigned-off-by: Eilon Greenstein
Signed-off-by: David S. Miller -
DCC commands are not protected with the RTNL lock, so a mutex should be added
Signed-off-by: Eilon Greenstein
Signed-off-by: David S. Miller -
When working with DCC, a function can be disabled or enabled (virtual link down
or up). Using the function state introduced some race conditions with the
load/unload flow.
Using a separate flag to indicate that the function is disabled.Signed-off-by: Eilon Greenstein
Signed-off-by: David S. Miller -
Signed-off-by: Eilon Greenstein
Signed-off-by: David S. Miller -
Value of zero was used to disable the fairness mechanism. Though the code
(driver and FW) allowed changing the value at run time, it did not allow to do
that if the mechanism was disabled to begin with.
Fixed the FW to allow turning on and off the mechanism at run time. Fixed the
code to read the value from the chip at the right sequence.
Without this fix, if the initial value was set to zero, traffic could not run on
the interface.Signed-off-by: Eilon Greenstein
Signed-off-by: David S. Miller -
Signed-off-by: Eilon Greenstein
Signed-off-by: David S. Miller -
Signed-off-by: David S. Miller
-
sock_queue_rcv_skb() can update sk_drops itself, removing need for
callers to take care of it. This is more consistent since
sock_queue_rcv_skb() also reads sk_drops when queueing a skb.This adds sk_drops managment to many protocols that not cared yet.
Signed-off-by: Eric Dumazet
Signed-off-by: David S. Miller -
Signed-off-by: Thomas Sailer
Signed-off-by: David S. Miller -
Signed-off-by: Rémi Denis-Courmont
Signed-off-by: David S. Miller -
Signed-off-by: Rémi Denis-Courmont
Signed-off-by: David S. Miller -
Signed-off-by: Rémi Denis-Courmont
Signed-off-by: David S. Miller -
The Phonet "universe" only has 64 addresses, so we keep a trivial flat
routing table.Signed-off-by: Rémi Denis-Courmont
Signed-off-by: David S. Miller -
Signed-off-by: Rémi Denis-Courmont
Signed-off-by: David S. Miller -
Reported-by: "Tony Luck"
Signed-off-by: Arnaldo Carvalho de Melo
Acked-by: Tony Luck
Signed-off-by: David S. Miller
14 Oct, 2009
12 commits
-
The lock_kernel/unlock_kernel() in cycle_kernel_lock() which is called
in tun_chr_open() is not serializing against anything and safe to
remove.tun_chr_fasync() is serialized by get/put_tun() and fasync_helper()
has no dependency on BKL. The modification of tun->flags is racy with
and without the BKL so removing it does not make it worse.Signed-off-by: Thomas Gleixner
Signed-off-by: David S. Miller -
The mechanism to clear the statistics register is dependent
on the status of GMIIEN bit in MAC control register. If the
GMIIEN bit is set, the stats registers are write to decrement.
If the GMIIEN bit is cleared, the stats registers are plain
read/write registers. The stats register clearing operation
must take into account the current state of GMIIEN as it
can be cleared when the interface is brought down.With existing implementation logic, querying for interface stats
when the interface is down, can corrupt the statistics counters.
This patch examines the GMIIEN bit status in MAC_CONTROL
register before choosing an appropriate mask for clearing stats
registers.Signed-off-by: Sriramakrishnan
Acked-by: Chaithrika U S
Signed-off-by: David S. Miller -
Extracted from Realtek's 8.012.00 r8168 driver.
Signed-off-by: Francois Romieu
Tested-by: Simon Farnsworth
Cc: Edward Hsu
Signed-off-by: David S. Miller -
Extend the driver to accept a MAC address specified in platform_data.
Signed-off-by: Manuel Lauss
Signed-off-by: David S. Miller -
Signed-off-by: Manuel Lauss
Signed-off-by: David S. Miller -
Commit 5675f221 overlooked the way offsets for netdev stats were considered.
Because of this some of the stats shown by ethtool -S were wrong.
This patch fixes it.Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Commit 337e067d overlooked the way offsets for netdev stats were considered.
Because of this some of the stats shown by ethtool -S were wrong.
This patch fixes it.Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Commit 23d26497 overlooked the way offsets for netdev stats were considered.
Because of this some of the stats shown by ethtool -S were wrong.
This patch fixes it.Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Commit fd8235bb overlooked the way offsets for netdev stats were considered.
Because of this some of the stats shown by ethtool -S were wrong.
This patch fixes it.Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Commit 59aa3cc4 overlooked the way offsets for netdev stats were considered.
Because of this some of the stats shown by ethtool -S were wrong.
This patch fixes it.Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Add sysfs entries to enable register and memory access
for diagnostic tools.Signed-off-by: Narender Kumar
Signed-off-by: Dhananjay Phadke
Signed-off-by: David S. Miller