ixgbe: push cls_u32 and mqprio setup_tc processing into separate functions
authorJiri Pirko <jiri@mellanox.com>
Mon, 7 Aug 2017 08:15:21 +0000 (10:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2017 16:42:36 +0000 (09:42 -0700)
commitbc32afdb2b01ae7652cbb829475d270f7d813618
treef48972f0f0b69916bdccf312132871b74f3bc423
parentf73230430ac295b14cd1ee162dbf7ccfd90cbf6b
ixgbe: push cls_u32 and mqprio setup_tc processing into separate functions

Let __ixgbe_setup_tc be a splitter for specific setup_tc types and push out
cls_u32 and mqprio specific codes into separate functions. Also change
the return values so they are the same as in the rest of the drivers.

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/intel/ixgbe/ixgbe_main.c