OSDN Git Service

net: stmmac: selftests: Flow Control test can also run with ASYM Pause
authorJose Abreu <Jose.Abreu@synopsys.com>
Mon, 23 Sep 2019 07:49:08 +0000 (09:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Sep 2019 11:58:25 +0000 (13:58 +0200)
commitb0ce902febef24f917c33d5a5982030dac53141d
tree97931f40881c8f382f7e1227fd741985fc59b20e
parent9f5c44cf61a7cf29d85d2c0d2065ab2d62764a41
net: stmmac: selftests: Flow Control test can also run with ASYM Pause

The Flow Control selftest is also available with ASYM Pause. Lets add
this check to the test and fix eventual false positive failures.

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