diff options
author | Vladislav Zolotarov <vladz@broadcom.com> | 2010-02-16 21:04:00 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-17 16:35:43 -0500 |
commit | 0c43f43f48c5c60d62c4d26917da3ee71df464ea (patch) | |
tree | aaec72ee2ccaaf5bd596385749ab011c6835d75c /drivers/net | |
parent | d43a7e67ae2f911765b3d5b6cbb85221a9ffd0a4 (diff) |
bnx2x: fix in 57710 self-test
Bug fix: Use the last unicast entry in CAM in bnx2x_test_int(). Relevant for 57710 only.
Author: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/bnx2x_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c index ccdc3fe13414..24fe083ee1be 100644 --- a/drivers/net/bnx2x_main.c +++ b/drivers/net/bnx2x_main.c | |||
@@ -10433,7 +10433,8 @@ static int bnx2x_test_intr(struct bnx2x *bp) | |||
10433 | 10433 | ||
10434 | config->hdr.length = 0; | 10434 | config->hdr.length = 0; |
10435 | if (CHIP_IS_E1(bp)) | 10435 | if (CHIP_IS_E1(bp)) |
10436 | config->hdr.offset = (BP_PORT(bp) ? 32 : 0); | 10436 | /* use last unicast entries */ |
10437 | config->hdr.offset = (BP_PORT(bp) ? 63 : 31); | ||
10437 | else | 10438 | else |
10438 | config->hdr.offset = BP_FUNC(bp); | 10439 | config->hdr.offset = BP_FUNC(bp); |
10439 | config->hdr.client_id = bp->fp->cl_id; | 10440 | config->hdr.client_id = bp->fp->cl_id; |