forked from luck/tmp_suning_uos_patched
net/mlx4_en: Change log level from error to debug for vlan related messages
The port vlan table size is 126 (used for IBoE) so after 126 we will not have space and the user need to see it only in debug print and not error. Signed-off-by: Aviad Yehezkel <aviadye@mellanox.com> Reviewed-by: Yevgeny Petrilin <yevgenyp@mellanox.com> Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com> Signed-off-by: Amir Vadai <amirv@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4801ae70d8
commit
9e19b54554
|
@ -405,7 +405,7 @@ static int mlx4_en_vlan_rx_add_vid(struct net_device *dev,
|
|||
en_err(priv, "Failed configuring VLAN filter\n");
|
||||
}
|
||||
if (mlx4_register_vlan(mdev->dev, priv->port, vid, &idx))
|
||||
en_err(priv, "failed adding vlan %d\n", vid);
|
||||
en_dbg(HW, priv, "failed adding vlan %d\n", vid);
|
||||
mutex_unlock(&mdev->state_lock);
|
||||
|
||||
return 0;
|
||||
|
@ -428,7 +428,7 @@ static int mlx4_en_vlan_rx_kill_vid(struct net_device *dev,
|
|||
if (!mlx4_find_cached_vlan(mdev->dev, priv->port, vid, &idx))
|
||||
mlx4_unregister_vlan(mdev->dev, priv->port, idx);
|
||||
else
|
||||
en_err(priv, "could not find vid %d in cache\n", vid);
|
||||
en_dbg(HW, priv, "could not find vid %d in cache\n", vid);
|
||||
|
||||
if (mdev->device_up && priv->port_up) {
|
||||
err = mlx4_SET_VLAN_FLTR(mdev->dev, priv);
|
||||
|
|
Loading…
Reference in New Issue
Block a user