Skip to content

Commit

Permalink
net/mvpp2: remove VLAN flush
Browse files Browse the repository at this point in the history
[ upstream commit 8fb1d5e ]

VLAN-flush in MUSDK is not supported yet.
Until it does, the code should be removed as currently
an redundant error message is displayed.

Fixes: a8f3d67 ("net/mrvl: support VLAN filtering")

Signed-off-by: Liron Himi <lironh@marvell.com>
  • Loading branch information
liron-himi-mvl authored and cpaelzer committed Feb 3, 2021
1 parent 75f7ddc commit 39733ff
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
12 changes: 0 additions & 12 deletions drivers/net/mvpp2/mrvl_ethdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -673,18 +673,6 @@ mrvl_dev_start(struct rte_eth_dev *dev)
priv->uc_mc_flushed = 1;
}

if (!priv->vlan_flushed) {
ret = pp2_ppio_flush_vlan(priv->ppio);
if (ret) {
MRVL_LOG(ERR, "Failed to flush vlan list");
/*
* TODO
* once pp2_ppio_flush_vlan() is supported jump to out
* goto out;
*/
}
priv->vlan_flushed = 1;
}
ret = mrvl_mtu_set(dev, dev->data->mtu);
if (ret)
MRVL_LOG(ERR, "Failed to set MTU to %d", dev->data->mtu);
Expand Down
1 change: 0 additions & 1 deletion drivers/net/mvpp2/mrvl_ethdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ struct mrvl_priv {
uint8_t bpool_bit;
uint8_t rss_hf_tcp;
uint8_t uc_mc_flushed;
uint8_t vlan_flushed;
uint8_t isolated;
uint8_t multiseg;

Expand Down

0 comments on commit 39733ff

Please sign in to comment.