net: stmmac: selftests: Update status when disabling RSS
authorJose Abreu <Jose.Abreu@synopsys.com>
Fri, 10 Jan 2020 15:23:52 +0000 (16:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jan 2020 07:22:53 +0000 (08:22 +0100)
commitba1c4fa2daea7b0fb1acc9036974089abde8b0a2
treef8727d9c6e69dbc70a9abd373a2076e2338b1fe9
parent6084f8300ed1a15acacbba683f49ade487ac1a1f
net: stmmac: selftests: Update status when disabling RSS

commit e715d74504352968cf24ac95476706bc911a69cd upstream.

We are disabling RSS on HW but not updating the internal private status
to the 'disabled' state. This is needed for next tc commit that will
check if RSS is disabled before trying to apply filters.

Fixes: 4647e021193d ("net: stmmac: selftests: Add selftest for L3/L4 Filters")
Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c