ixgbe: consolidate, setup for multiple traffic classes
authorJohn Fastabend <john.r.fastabend@intel.com>
Mon, 18 Jul 2011 22:38:36 +0000 (22:38 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 29 Aug 2011 08:18:13 +0000 (01:18 -0700)
commite7589eab92919483d624eb3356cf3ac80efc0790
tree48003a6309184806ecfd4f973a7f3399cf1f9293
parent6172207634b9259bc57ebde158bb7a7313e31335
ixgbe: consolidate, setup for multiple traffic classes

This consolidates setup code for multiple traffic classes in
the setup_tc routine.

Prep work to allow IEEE DCBX to optimize for number of traffic
classes. Also simplifies code paths.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c