Skip to content

Commit 20300aa

Browse files
maordSaeed Mahameed
authored andcommitted
net/mlx5e: Remove warning "devices are not on same switch HW"
On tunnel decap rule insertion, the indirect mechanism will attempt to offload the rule on all uplink representors which will trigger the "devices are not on same switch HW, can't offload forwarding" message for the uplink which isn't on the same switch HW as the VF representor. The above flow is valid and shouldn't cause warning message, fix by removing the warning and only report this flow using extack. Fixes: 3213484 ("net/mlx5e: Fix allowed tc redirect merged eswitch offload cases") Signed-off-by: Maor Dickman <[email protected]> Reviewed-by: Roi Dayan <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
1 parent 0a2a6f4 commit 20300aa

File tree

1 file changed

+0
-4
lines changed
  • drivers/net/ethernet/mellanox/mlx5/core

1 file changed

+0
-4
lines changed

drivers/net/ethernet/mellanox/mlx5/core/en_tc.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3849,10 +3849,6 @@ static int parse_tc_fdb_actions(struct mlx5e_priv *priv,
38493849
if (!mlx5e_is_valid_eswitch_fwd_dev(priv, out_dev)) {
38503850
NL_SET_ERR_MSG_MOD(extack,
38513851
"devices are not on same switch HW, can't offload forwarding");
3852-
netdev_warn(priv->netdev,
3853-
"devices %s %s not on same switch HW, can't offload forwarding\n",
3854-
priv->netdev->name,
3855-
out_dev->name);
38563852
return -EOPNOTSUPP;
38573853
}
38583854

0 commit comments

Comments
 (0)