OSDN Git Service

mlxsw: spectrum: push cls_flower and cls_matchall setup_tc processing into separate...
authorJiri Pirko <jiri@mellanox.com>
Mon, 7 Aug 2017 08:15:24 +0000 (10:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2017 16:42:36 +0000 (09:42 -0700)
commitfd33f1dfed6141280bc85817e6f79b87a5c7320b
treea224ffa6e2d06a30964d082519701678166d8e82
parent8c818c27f37f4d847769a38b9d20c1b5ae21075d
mlxsw: spectrum: push cls_flower and cls_matchall setup_tc processing into separate functions

Let mlxsw_sp_setup_tc be a splitter for specific setup_tc types and push
out cls_flower and cls_matchall specific codes into separate functions.

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>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c