]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
i40evf: Add support for Adaptive Virtual Function
authorPreethi Banala <preethi.banala@intel.com>
Thu, 11 May 2017 18:23:20 +0000 (11:23 -0700)
committerJack Vogel <jack.vogel@oracle.com>
Tue, 10 Oct 2017 21:15:24 +0000 (14:15 -0700)
Add device ID define and mac_type assignment needed for
Adaptive Virtual Function (VF Base Mode Support).

Also, update version to v3.0.0 in order to indicate
clearly that this is the first driver supporting the AVF
device ID.

Signed-off-by: Preethi Banala <preethi.banala@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Orabug: 26785018
(cherry picked from commit abf709a1e7316b3f99647bb88c4031b1e62e1c75)
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
Reviewed-by: Kyle Fortin <kyle.fortin@oracle.com>
drivers/net/ethernet/intel/Kconfig
drivers/net/ethernet/intel/i40evf/i40e_common.c
drivers/net/ethernet/intel/i40evf/i40e_devids.h
drivers/net/ethernet/intel/i40evf/i40evf_main.c

index 01b9eeefd26863627bdfc3bf8097a3a03877862f..f8a67281401513faba48cada18d43867fc37fbf9 100644 (file)
@@ -293,17 +293,14 @@ config I40E_FCOE
          If unsure, say N.
 
 config I40EVF
-       tristate "Intel(R) XL710 X710 Virtual Function Ethernet support"
+       tristate "Intel(R) Ethernet Adaptive Virtual Function support"
        depends on PCI_MSI
        ---help---
-         This driver supports Intel(R) XL710 and X710 virtual functions.
-         For more information on how to identify your adapter, go to the
-         Adapter & Driver ID Guide at:
-
-         <http://support.intel.com/support/network/sb/CS-008441.htm>
-
-         For general information and support, go to the Intel support
-         website at:
+         This driver supports virtual functions for Intel XL710,
+         X710, X722, and all devices advertising support for Intel
+         Ethernet Adaptive Virtual Function devices. For more
+         information on how to identify your adapter, go to the Adapter
+         & Driver ID Guide that can be located at:
 
          <http://support.intel.com>
 
index 6729624fda5b0d1207f9646f4deea5c2683745e4..bcaf4a690403f415e7719f131dd3485ccbeff9f6 100644 (file)
@@ -68,6 +68,7 @@ i40e_status i40e_set_mac_type(struct i40e_hw *hw)
                        break;
                case I40E_DEV_ID_VF:
                case I40E_DEV_ID_VF_HV:
+               case I40E_DEV_ID_ADAPTIVE_VF:
                        hw->mac.type = I40E_MAC_VF;
                        break;
                default:
index d76393c9505606a815d54833ec9f11dc2f64576f..0469e4bfd3ec2437d2fc7eebaaeb6ff199ab8537 100644 (file)
@@ -43,6 +43,7 @@
 #define I40E_DEV_ID_25G_SFP28          0x158B
 #define I40E_DEV_ID_VF                 0x154C
 #define I40E_DEV_ID_VF_HV              0x1571
+#define I40E_DEV_ID_ADAPTIVE_VF                0x1889
 #define I40E_DEV_ID_SFP_X722           0x37D0
 #define I40E_DEV_ID_1G_BASE_T_X722     0x37D1
 #define I40E_DEV_ID_10G_BASE_T_X722    0x37D2
index ef76ddb7ede16295b1853be2a045a3d40b0bae63..540935c8063e589388b2ad1872daaad6bf67edb0 100644 (file)
@@ -46,9 +46,9 @@ static const char i40evf_driver_string[] =
 
 #define DRV_KERN "-k"
 
-#define DRV_VERSION_MAJOR 2
-#define DRV_VERSION_MINOR 1
-#define DRV_VERSION_BUILD 14
+#define DRV_VERSION_MAJOR 3
+#define DRV_VERSION_MINOR 0
+#define DRV_VERSION_BUILD 0
 #define DRV_VERSION __stringify(DRV_VERSION_MAJOR) "." \
             __stringify(DRV_VERSION_MINOR) "." \
             __stringify(DRV_VERSION_BUILD) \
@@ -69,6 +69,7 @@ static const struct pci_device_id i40evf_pci_tbl[] = {
        {PCI_VDEVICE(INTEL, I40E_DEV_ID_VF), 0},
        {PCI_VDEVICE(INTEL, I40E_DEV_ID_VF_HV), 0},
        {PCI_VDEVICE(INTEL, I40E_DEV_ID_X722_VF), 0},
+       {PCI_VDEVICE(INTEL, I40E_DEV_ID_ADAPTIVE_VF), 0},
        /* required last entry */
        {0, }
 };