Revert "net/mlx5e: Correctly report errors for ethtool rx flows"
This reverts commit a1624526b7
.
This commit is contained in:
parent
11596bfd09
commit
0b80835234
1 changed files with 1 additions and 1 deletions
|
@ -679,7 +679,7 @@ mlx5e_ethtool_flow_replace(struct mlx5e_priv *priv,
|
|||
if (num_tuples <= 0) {
|
||||
netdev_warn(priv->netdev, "%s: flow is not valid %d\n",
|
||||
__func__, num_tuples);
|
||||
return num_tuples < 0 ? num_tuples : -EINVAL;
|
||||
return num_tuples;
|
||||
}
|
||||
|
||||
eth_ft = get_flow_table(priv, fs, num_tuples);
|
||||
|
|
Loading…
Reference in a new issue