bnx2: Fix lost MSI-X problem on 5709 NICs.
commit0b7817edda5e44e5fa769645bd1220f5e7b0beb5
authorMichael Chan <mchan@broadcom.com>
Tue, 27 Apr 2010 11:28:09 +0000 (27 11:28 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 May 2010 21:57:14 +0000 (12 14:57 -0700)
treee253d0be02c226dbbf11b2d7e1450ed7d298a55b
parentb2729e2d217adfcc72e1e600b8e3ff4a6dd5cb4c
bnx2: Fix lost MSI-X problem on 5709 NICs.

commit c441b8d2cb2194b05550a558d6d95d8944e56a84 upstream.

It has been reported that under certain heavy traffic conditions in MSI-X
mode, the driver can lose an MSI-X vector causing all packets in the
associated rx/tx ring pair to be dropped.  The problem is caused by
the chip dropping the write to unmask the MSI-X vector by the kernel
(when migrating the IRQ for example).

This can be prevented by increasing the GRC timeout value for these
register read and write operations.

Thanks to Dell for helping us debug this problem.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/bnx2.c