]> 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)
commit6f20793a1e67fb328fbfe327b97db4c9514b0de1
treef48972f0f0b69916bdccf312132871b74f3bc423
parente6656556fe0473bbead1b786425f08e7bba5421c
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