OSDN Git Service

net: stmmac: selftests: Fix L2 Hash Filter test
authorJose Abreu <Jose.Abreu@synopsys.com>
Sun, 6 Oct 2019 11:08:57 +0000 (13:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Oct 2019 16:42:02 +0000 (18:42 +0200)
commit2809fc13163f4946d7cde092807bea44bbae4478
tree350cd0b47812ff13a9d3ed816a96a778c5de0018
parent25683bab09a70542b9f8e3e28f79b3369e56701f
net: stmmac: selftests: Fix L2 Hash Filter test

With the current MAC addresses hard-coded in the test we can get some
false positives as we use the Hash Filtering method. Let's change the
MAC addresses in the tests to be unique when hashed.

Fixes: 091810dbded9 ("net: stmmac: Introduce selftests support")
Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c