]> err.no Git - linux-2.6/commit
bnx2x: Rx work check
authorEilon Greenstein <eilong@broadcom.com>
Mon, 25 Aug 2008 22:19:17 +0000 (15:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Aug 2008 22:19:17 +0000 (15:19 -0700)
commit2772f9037355a031725987661621290380e58f52
treee5553fb83bf504ffd632742999cc13fcfdbcbd18
parentce3113ec57abcd41cc5a2fed02474aee3f63d12c
bnx2x: Rx work check

The has Rx work check was wrong: when the FW was at the end of the page,
the driver was already at the beginning of the next page. Since the
check only validated that both driver and FW are pointing to the same
place, it concluded that there is still work to be done. This caused
some serious issues including long latency results on ping-pong test and
lockups while unloading the driver in that condition.

Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x.h
drivers/net/bnx2x_main.c