mlx5e_rep: push cls_flower setup_tc processing into a separate function
authorJiri Pirko <jiri@mellanox.com>
Mon, 7 Aug 2017 08:15:23 +0000 (10:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2017 16:42:36 +0000 (09:42 -0700)
commit8c818c27f37f4d847769a38b9d20c1b5ae21075d
treed563a03959604f805842d60766ce5ec34bb7196c
parent0cf0f6d3d39672c044393aef71ee782430ca8b13
mlx5e_rep: push cls_flower setup_tc processing into a separate function

Let mlx5e_rep_setup_tc (former mlx5e_rep_ndo_setup_tc) be a splitter for
specific setup_tc types and push out cls_flower specific code into
a separate function.

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/mlx5/core/en_rep.c