]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 29 Feb 2016 15:56:43 +0000 (08:56 -0700)
commitedc0ce30d15c001809cc9d0809e227bec46da111
tree07ff17387ab51e893aae84e697f5fe9fb0a38121
parent4f7a2b08b0c231714018c9d5b61cd55cfdc99b17
ixgbe: Reduce VT code indent in set_vfta by introducing jump label

BugLink: http://bugs.launchpad.net/bugs/1536473
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>
(cherry picked from commit 63d9379a598ed9fbb887b8679623f8a328ee394e)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c