]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: selftests: Fix L3/L4 Filtering test
authorJose Abreu <Jose.Abreu@synopsys.com>
Mon, 9 Mar 2020 13:30:22 +0000 (14:30 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Mar 2020 06:04:27 +0000 (23:04 -0700)
commit5b978207fc67d62c81d09eeebc6b1a53128d66df
tree3b9e969b2090ae27acaf058d3884c0ba6a19ed99
parent19560664c5ef77956edc522ce49928a071557e0b
net: stmmac: selftests: Fix L3/L4 Filtering test

Since commit 2550d8305759, stmmac only support basic HW stats type for
action. Set this field in the L3/L4 Filtering test so that it correctly
setups the filter instead of returning EOPNOTSUPP.

Fixes: 2550d8305759 ("flow_offload: check for basic action hw stats type")
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