From: Alexander Duyck Date: Sat, 12 Jan 2013 06:33:44 +0000 (+0000) Subject: ixgbe: Make ixgbe_setup_tc usable even when DCB is not enabled X-Git-Tag: v3.9-rc1~139^2~46^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cca73c59c414f15d02fac69c947a9efc15bca271;p=pandora-kernel.git 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 Reviewed-by: John Fastabend Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed