]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Reduce VT code indent in set_vfta by introducing jump label
authorAlexander Duyck <aduyck@mirantis.com>
Tue, 3 Nov 2015 01:09:48 +0000 (17:09 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 12 Dec 2015 09:18:04 +0000 (01:18 -0800)
commitbbbd2f0d6c53d06d00578107bc8ef1a450f1b80b
treedbd5afd904e54a7685e47697fb4ba042ac566c0f
parent607136672bbe9dd275ca9ab7ccd295cc77b486fa
ixgbe: Reduce VT code indent in set_vfta by introducing jump label

In order to clear the way for upcoming work I thought it best to drop the
level of indent in the ixgbe_set_vfta_generic function.  Most of the code
is held in the virtualization specific section.  So the easiest approach is
to just add a jump label and jump past the bulk of the code if it is not
enabled.

Signed-off-by: Alexander Duyck <aduyck@mirantis.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_common.c