]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: dwmac4/5: Also pass control frames while in promisc mode
authorJose Abreu <Jose.Abreu@synopsys.com>
Fri, 24 May 2019 08:20:17 +0000 (10:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 May 2019 20:45:56 +0000 (13:45 -0700)
commite8e9f1e7a4f1d6854040c32340e15950a577c6e6
tree5a5e7d2c0aaa8a468b5dbf8d6e9638c939b18f80
parent62def027a2c436c1b6b42ad0116173993abd7afc
net: stmmac: dwmac4/5: Also pass control frames while in promisc mode

In order for the selftests to run the Flow Control selftest we need to
also pass pause frames to the stack.

Pass this type of frames while in promiscuous mode.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac4.h
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c