]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
ixgbevf: Move API negotiation function into mac_ops
authorAlexander Duyck <aduyck@mirantis.com>
Fri, 15 Apr 2016 00:37:15 +0000 (20:37 -0400)
committerTim Gardner <tim.gardner@canonical.com>
Fri, 16 Sep 2016 17:08:45 +0000 (11:08 -0600)
commit97ca47c9d174a00ec1aaa7775d6c701b9b7c6a8f
tree747836fdf349649a12741ba5fc40c59a58e156b0
parentc5ff746f90d3452383463fbd96c90c46e63db052
ixgbevf: Move API negotiation function into mac_ops

BugLink: http://bugs.launchpad.net/bugs/1616677
This patch moves API negotiation into mac_ops.  The general idea here is
that with HyperV on the way we need to make certain that anything that will
have different versions between HyperV and a standard VF needs to be
abstracted enough so that we can have a separate function between the two
so we can avoid changes in one breaking something in the other.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 7921f4dc4c36e736d7a5b45dfa7b6a755a4fc012)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Acked-by: Kamal Mostafa <kamal@canonical.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
drivers/net/ethernet/intel/ixgbevf/vf.c
drivers/net/ethernet/intel/ixgbevf/vf.h