net/iavf/base: update FW API version for X722
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 3 Dec 2019 07:03:13 +0000 (15:03 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:46:01 +0000 (19:46 +0100)
Update FW API version from 1.5 to 1.6 for X722
Also added NVM update related APIs.

Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/iavf/base/iavf_adminq_cmd.h

index b0ee0b0..f7cfc0d 100644 (file)
@@ -12,7 +12,7 @@
  */
 
 #define IAVF_FW_API_VERSION_MAJOR      0x0001
-#define IAVF_FW_API_VERSION_MINOR_X722 0x0005
+#define IAVF_FW_API_VERSION_MINOR_X722 0x0006
 #define IAVF_FW_API_VERSION_MINOR_X710 0x0007
 
 #define IAVF_FW_MINOR_VERSION(_h) ((_h)->mac.type == IAVF_MAC_XL710 ? \
@@ -21,6 +21,8 @@
 
 /* API version 1.7 implements additional link and PHY-specific APIs  */
 #define IAVF_MINOR_VER_GET_LINK_INFO_XL710 0x0007
+/* API version 1.6 for X722 devices adds ability to stop FW LLDP agent */
+#define IAVF_MINOR_VER_FW_LLDP_STOPPABLE_X722 0x0006
 
 struct iavf_aq_desc {
        __le16 flags;