net/ixgbe/base: add two MAC ops for Hyper-V
authorXiao Wang <xiao.w.wang@intel.com>
Sun, 25 Sep 2016 09:00:11 +0000 (17:00 +0800)
committerBruce Richardson <bruce.richardson@intel.com>
Fri, 30 Sep 2016 10:27:18 +0000 (12:27 +0200)
commit7650af62b4693302625427de760bd8c4ad238241
tree0ddb37656b94c284d7979eaf5331465eb1b0e837
parentd4b4c68454871bc7e9adb7b54c57cc2606978fe9
net/ixgbe/base: add two MAC ops for Hyper-V

This patch adds negotiate_api_version and set_rlpml into mac_ops. With the
introduction of Hyper-V functionality, we can have separate functions to
accommodate different implementations without have one break the other.

Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ixgbe/base/ixgbe_type.h
drivers/net/ixgbe/base/ixgbe_vf.c