Message ID | 20230311071005.enqji2btj35ewx53@Svens-MacBookPro.local (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [1/3] net: mvpp2: classifier flow remove tagged | expand |
On Sat, 11 Mar 2023 08:10:05 +0100 Sven Auhagen wrote: > The mvpp2 parser entry for QinQ has the inner and outer VLAN > in the wrong order. > Fix the problem by swapping them. > > Signed-off-by: Sven Auhagen <sven.auhagen@voleatech.de> Can we get a Fixes tag for this change?
On Wed, Mar 15, 2023 at 12:00:02AM -0700, Jakub Kicinski wrote: > On Sat, 11 Mar 2023 08:10:05 +0100 Sven Auhagen wrote: > > The mvpp2 parser entry for QinQ has the inner and outer VLAN > > in the wrong order. > > Fix the problem by swapping them. > > > > Signed-off-by: Sven Auhagen <sven.auhagen@voleatech.de> > > Can we get a Fixes tag for this change? Yes, I will add it in v2.
diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c b/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c index 75ba57bd1d46..ed8be396428b 100644 --- a/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c +++ b/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c @@ -1539,8 +1539,8 @@ static int mvpp2_prs_vlan_init(struct platform_device *pdev, struct mvpp2 *priv) if (!priv->prs_double_vlans) return -ENOMEM; - /* Double VLAN: 0x8100, 0x88A8 */ - err = mvpp2_prs_double_vlan_add(priv, ETH_P_8021Q, ETH_P_8021AD, + /* Double VLAN: 0x88A8, 0x8100 */ + err = mvpp2_prs_double_vlan_add(priv, ETH_P_8021AD, ETH_P_8021Q, MVPP2_PRS_PORT_MASK); if (err) return err;
The mvpp2 parser entry for QinQ has the inner and outer VLAN in the wrong order. Fix the problem by swapping them. Signed-off-by: Sven Auhagen <sven.auhagen@voleatech.de>