mbox series

[net,0/2] net: stmmac: Filtering fixes

Message ID cover.1578669661.git.Jose.Abreu@synopsys.com
Headers show
Series net: stmmac: Filtering fixes | expand

Message

Jose Abreu Jan. 10, 2020, 3:23 p.m. UTC
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 <peppe.cavallaro@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Cc: Jose Abreu <joabreu@synopsys.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: netdev@vger.kernel.org
Cc: linux-stm32@st-md-mailman.stormreply.com
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
---

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(-)

Comments

David Miller Jan. 10, 2020, 7:32 p.m. UTC | #1
From: Jose Abreu <Jose.Abreu@synopsys.com>
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.