Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit abbdf4bd authored by Or Gerlitz's avatar Or Gerlitz Committed by David S. Miller
Browse files

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: default avatarOr Gerlitz <ogerlitz@mellanox.com>
Acked-by: default avatarYotam Gigi <yotamg@mellanox.com>
Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bf95233e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1423,7 +1423,7 @@ static int mlxsw_sp_setup_tc(struct net_device *dev, u32 handle,
						       tc->cls_mall);
			return 0;
		default:
			return -EINVAL;
			return -EOPNOTSUPP;
		}
	case TC_SETUP_CLSFLOWER:
		switch (tc->cls_flower->command) {