]> git.baikalelectronics.ru Git - 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)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 25 Apr 2016 11:49:23 +0000 (04:49 -0700)
commite8db80213b0a4d93cc104fa4179269a44517b948
treea696f2d5a00210d7d2a0d857426c31c8f254345d
parent0f48a278078bf1f170c9a6bd8bf1f3ec483b54d3
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