Close PR# 19904: remember to call sf_setmulti() when initializing the
interface so the multicast filter will be programmed correctly.
This commit is contained in:
parent
6484396e99
commit
eddceb0d2b
@ -1183,6 +1183,11 @@ static void sf_init(xsc)
|
||||
SF_CLRBIT(sc, SF_RXFILT, SF_RXFILT_BROAD);
|
||||
}
|
||||
|
||||
/*
|
||||
* Load the multicast filter.
|
||||
*/
|
||||
sf_setmulti(sc);
|
||||
|
||||
/* Init the completion queue indexes */
|
||||
csr_write_4(sc, SF_CQ_CONSIDX, 0);
|
||||
csr_write_4(sc, SF_CQ_PRODIDX, 0);
|
||||
|
@ -1183,6 +1183,11 @@ static void sf_init(xsc)
|
||||
SF_CLRBIT(sc, SF_RXFILT, SF_RXFILT_BROAD);
|
||||
}
|
||||
|
||||
/*
|
||||
* Load the multicast filter.
|
||||
*/
|
||||
sf_setmulti(sc);
|
||||
|
||||
/* Init the completion queue indexes */
|
||||
csr_write_4(sc, SF_CQ_CONSIDX, 0);
|
||||
csr_write_4(sc, SF_CQ_PRODIDX, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user