2020-01-10 15:25:37

by Jose Abreu

[permalink] [raw]
Subject: [PATCH net 0/2] net: stmmac: Filtering fixes

Two single fixes for the L3 and L4 filtering in stmmac.

1) Updates the internal status of RSS when disabling it in order to keep
internal driver status consistent.

2) Do not lets user add a filter if RSS is enabled because the filter will
not work correctly as RSS bypasses this mechanism.

---
Cc: Giuseppe Cavallaro <[email protected]>
Cc: Alexandre Torgue <[email protected]>
Cc: Jose Abreu <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Maxime Coquelin <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---

Jose Abreu (2):
net: stmmac: selftests: Update status when disabling RSS
net: stmmac: tc: Do not setup flower filtering if RSS is enabled

.../net/ethernet/stmicro/stmmac/stmmac_selftests.c | 20 ++++++++++++++------
drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c | 4 ++++
2 files changed, 18 insertions(+), 6 deletions(-)

--
2.7.4


2020-01-10 19:34:26

by David Miller

[permalink] [raw]
Subject: Re: [PATCH net 0/2] net: stmmac: Filtering fixes

From: Jose Abreu <[email protected]>
Date: Fri, 10 Jan 2020 16:23:51 +0100

> Two single fixes for the L3 and L4 filtering in stmmac.
>
> 1) Updates the internal status of RSS when disabling it in order to keep
> internal driver status consistent.
>
> 2) Do not lets user add a filter if RSS is enabled because the filter will
> not work correctly as RSS bypasses this mechanism.

Series applied and queued up for v5.4 -stable, thanks.