]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit84bbf5ce303b1bedf33e18820dcedd57884f6bc1
treef48972f0f0b69916bdccf312132871b74f3bc423
parent95547672d6db58ce30443a20c04b33fb1b3e7a7d
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