diff options
author | Jiri Pirko <jiri@mellanox.com> | 2017-08-07 10:15:18 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-07 18:42:35 +0200 |
commit | ade9b6588420b335851951702ab975c975b0c1b2 (patch) | |
tree | eaf0235cbb4c69b5ce90f2d11583c10cb59926fd /net/dsa | |
parent | net: sched: make type an argument for ndo_setup_tc (diff) | |
download | linux-ade9b6588420b335851951702ab975c975b0c1b2.tar.xz linux-ade9b6588420b335851951702ab975c975b0c1b2.zip |
net: sched: rename TC_SETUP_MATCHALL to TC_SETUP_CLSMATCHALL
In order to be aligned with the rest of the types, rename
TC_SETUP_MATCHALL to TC_SETUP_CLSMATCHALL.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
-rw-r--r-- | net/dsa/slave.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dsa/slave.c b/net/dsa/slave.c index b4b63c20ec80..453f6ddcd023 100644 --- a/net/dsa/slave.c +++ b/net/dsa/slave.c @@ -873,7 +873,7 @@ static int dsa_slave_setup_tc(struct net_device *dev, enum tc_setup_type type, return -EOPNOTSUPP; switch (type) { - case TC_SETUP_MATCHALL: + case TC_SETUP_CLSMATCHALL: switch (tc->cls_mall->command) { case TC_CLSMATCHALL_REPLACE: return dsa_slave_add_cls_matchall(dev, protocol, |