projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf95233
)
mlxsw: spectrum: Align the matchall default case returned value
author
Or Gerlitz
<
[email protected]
>
Fri, 17 Mar 2017 08:38:01 +0000
(09:38 +0100)
committer
David S. Miller
<
[email protected]
>
Wed, 22 Mar 2017 00:16:10 +0000
(17:16 -0700)
Align the default case for matchall offload with what's there
for flower.
Signed-off-by: Or Gerlitz <
[email protected]
>
Acked-by: Yotam Gigi <
[email protected]
>
Signed-off-by: Jiri Pirko <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/mellanox/mlxsw/spectrum.c
b/drivers/net/ethernet/mellanox/mlxsw/spectrum.c
index cbc1646ee1d92d17956f0da00a4c4b5af07768c4..3ed77e10b4d69fa555ecaf2128aceb8eea3d2bd4 100644
(file)
--- a/
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
+++ b/
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
@@
-1423,7
+1423,7
@@
static int mlxsw_sp_setup_tc(struct net_device *dev, u32 handle,
tc->cls_mall);
return 0;
default:
- return -E
INVAL
;
+ return -E
OPNOTSUPP
;
}
case TC_SETUP_CLSFLOWER:
switch (tc->cls_flower->command) {