]> Pileus Git - ~andy/linux/commit
ixgbe: Make ixgbe_setup_tc usable even when DCB is not enabled
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sat, 12 Jan 2013 06:33:44 +0000 (06:33 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 16 Feb 2013 06:33:13 +0000 (22:33 -0800)
commitcca73c59c414f15d02fac69c947a9efc15bca271
tree909d2a0a78bd7675e42d4037591358e3ae4f0367
parent97488bd1f3f4f79a4000c66802363390701768e6
ixgbe: Make ixgbe_setup_tc usable even when DCB is not enabled

The ixgbe_setup_tc code is essentially the same code we need any time we have
to update the number of queues.  As such I am making it available always and
just stripping the DCB specific bits out when DCB is disabled instead of
stripping the entire function.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Reviewed-by: John Fastabend <john.r.fastabend@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c