]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Move message handling routines into their own functions
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 20 Jul 2012 08:09:17 +0000 (08:09 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 19 Oct 2012 11:06:15 +0000 (04:06 -0700)
commitce3636e43e7ecf7648fbe1aedff62c624c8e3f58
tree206f3e2345be8fa8d2e13d20c50ab87c4276219f
parentd2fc8c2f6b43851d158be6c1fec0514f50fc22ae
ixgbe: Move message handling routines into their own functions

Instead of trying to maintain one large monolithic function that handles
most of the different messages from the VF it makes sense to break the
message handling function up so that we can just go through one switch
statement and call the correct routine for a given message.

Signed-off-by: Alexander Duyck <alexander.h.duyck@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_sriov.c