ixgbevf: Move API negotiation function into mac_ops
authorAlexander Duyck <aduyck@mirantis.com>
Fri, 15 Apr 2016 00:37:15 +0000 (20:37 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 25 Apr 2016 11:49:23 +0000 (04:49 -0700)
commit7921f4dc4c36e736d7a5b45dfa7b6a755a4fc012
treea696f2d5a00210d7d2a0d857426c31c8f254345d
parentb83e30104bd9635765c562bd46b2e436350bd652
ixgbevf: Move API negotiation function into mac_ops

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>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
drivers/net/ethernet/intel/ixgbevf/vf.c
drivers/net/ethernet/intel/ixgbevf/vf.h