forked from Minki/linux
mlxsw: spectrum: Align the matchall default case returned value
Align the default case for matchall offload with what's there for flower. Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Acked-by: Yotam Gigi <yotamg@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
bf95233e20
commit
abbdf4bd7d
@ -1423,7 +1423,7 @@ static int mlxsw_sp_setup_tc(struct net_device *dev, u32 handle,
|
|||||||
tc->cls_mall);
|
tc->cls_mall);
|
||||||
return 0;
|
return 0;
|
||||||
default:
|
default:
|
||||||
return -EINVAL;
|
return -EOPNOTSUPP;
|
||||||
}
|
}
|
||||||
case TC_SETUP_CLSFLOWER:
|
case TC_SETUP_CLSFLOWER:
|
||||||
switch (tc->cls_flower->command) {
|
switch (tc->cls_flower->command) {
|
||||||
|
Loading…
Reference in New Issue
Block a user