bnx2x: Fix status blocks configuration
authorAriel Elior <ariele@broadcom.com>
Wed, 17 Apr 2013 22:49:06 +0000 (22:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Apr 2013 19:03:26 +0000 (15:03 -0400)
commit0c14e5ced264620284bd96f888614768c9bd0976
tree90416dcaf3d21fea07264394e5e1f6061da8dcce
parentd46f7c4df342c27cea676939d7c005f1e86173e9
bnx2x: Fix status blocks configuration

This fixes 2 issues regarding bnx2x's status blocks:

   1. ethtool -c caused corruption of status blocks in FW RAM.

   2. when using multi-CoS, the configuration of the timeout values of
      status blocks is incorrect, harming the coalescing of interrupts
      for such CoSs.

Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c