Commit 49e4e9da authored by Eilon Greenstein's avatar Eilon Greenstein Committed by David S. Miller
Browse files

bnx2x: Allowing 0 as initial fairness value



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: default avatarEilon Greenstein <eilong@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 94f09895
...@@ -674,8 +674,8 @@ Found in hex form in kernel source. ...@@ -674,8 +674,8 @@ Found in hex form in kernel source.
Driver: bnx2x: Broadcom Everest Driver: bnx2x: Broadcom Everest
File: bnx2x-e1-4.8.53.0.fw.ihex File: bnx2x-e1-5.2.7.0.fw.ihex
File: bnx2x-e1h-4.8.53.0.fw.ihex File: bnx2x-e1h-5.2.7.0.fw.ihex
License: License:
Copyright (c) 2007-2009 Broadcom Corporation Copyright (c) 2007-2009 Broadcom Corporation
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment