]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 6 Jul 2016 23:40:27 +0000 (16:40 -0700)
commit1612b252e15e7b3cf49609f0942f4c4ba80db2a6
treee00bb8e2c60139aa6cf0a957c3374bc018cb21bd
parentcfc24a62f520384e8ebc70106b15e0eda01400b7
ixgbe: Reduce VT code indent in set_vfta by introducing jump label

Orabug: 23177316

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: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c