bnx2x: Remove unnecessary internal mem config
Latest FW performs this autonomously, makes this code surplus. Signed-off-by: Ariel Elior <ariele@broadcom.com> Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3565b66d49
commit
f96d8d8577
@ -87,7 +87,6 @@
|
||||
(IRO[156].base + ((vfId) * IRO[156].m1))
|
||||
#define CSTORM_VF_TO_PF_OFFSET(funcId) \
|
||||
(IRO[150].base + ((funcId) * IRO[150].m1))
|
||||
#define TSTORM_ACCEPT_CLASSIFY_FAILED_OFFSET (IRO[204].base)
|
||||
#define TSTORM_APPROXIMATE_MATCH_MULTICAST_FILTERING_OFFSET(pfId) \
|
||||
(IRO[203].base + ((pfId) * IRO[203].m1))
|
||||
#define TSTORM_ASSERT_LIST_INDEX_OFFSET (IRO[102].base)
|
||||
|
@ -6005,18 +6005,6 @@ static void bnx2x_init_internal_common(struct bnx2x *bp)
|
||||
{
|
||||
int i;
|
||||
|
||||
if (IS_MF_SI(bp))
|
||||
/*
|
||||
* In switch independent mode, the TSTORM needs to accept
|
||||
* packets that failed classification, since approximate match
|
||||
* mac addresses aren't written to NIG LLH
|
||||
*/
|
||||
REG_WR8(bp, BAR_TSTRORM_INTMEM +
|
||||
TSTORM_ACCEPT_CLASSIFY_FAILED_OFFSET, 2);
|
||||
else if (!CHIP_IS_E1(bp)) /* 57710 doesn't support MF */
|
||||
REG_WR8(bp, BAR_TSTRORM_INTMEM +
|
||||
TSTORM_ACCEPT_CLASSIFY_FAILED_OFFSET, 0);
|
||||
|
||||
/* Zero this manually as its initialization is
|
||||
currently missing in the initTool */
|
||||
for (i = 0; i < (USTORM_AGG_DATA_SIZE >> 2); i++)
|
||||
|
Loading…
Reference in New Issue
Block a user