]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9ee5d8f540085a9ea81491288baa706f943e3b2f
tree90416dcaf3d21fea07264394e5e1f6061da8dcce
parent93c88aafdf3adcaad1db77eaff3117f446a596c3
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