dsa: push cls_matchall setup_tc processing into a separate function
authorJiri Pirko <jiri@mellanox.com>
Mon, 7 Aug 2017 08:15:26 +0000 (10:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2017 16:42:36 +0000 (09:42 -0700)
commit3fbae382f7dd81c4e43b76169e08cc0d440e760b
treec09d5883a5ddcc8143ef68977e490e2a04037969
parent9cbf14ede21e1789f24e87a9ba08bbc92211fe42
dsa: push cls_matchall setup_tc processing into a separate function

Let dsa_slave_setup_tc be a splitter for specific setup_tc types and
push out cls_matchall specific code into a separate function.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/slave.c