Commit 8ddbd6dc authored by Shengzui You's avatar Shengzui You Committed by Yang Yingliang
Browse files

net: hns3: update hns3 version to 1.9.37.1



driver inclusion
category: feature
bugzilla: NA
CVE: NA

-------------------------

This patch is used to modify hns3 version to 1.9.37.1

Signed-off-by: default avatarShengzui You <youshengzui@huawei.com>
Reviewed-by: default avatarWeiwei Deng <dengweiwei@huawei.com>
Reviewed-by: default avatarZhaohui Zhong <zhongzhaohui@huawei.com>
Reviewed-by: default avatarJunxing Chen <chenjunxin1@huawei.com>
Reviewed-by: default avatarZhong Zhaohui <zhongzhaohui@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 217d3ab7
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@
#include <linux/pci.h>
#include <linux/types.h>

#define HNAE3_MOD_VERSION "1.9.37.0"
#define HNAE3_MOD_VERSION "1.9.37.1"

#define HNAE3_MIN_VECTOR_NUM	2 /* one for msi-x, another for IO */

@@ -372,6 +372,8 @@ struct hnae3_ae_dev {
 *   Set the max tx rate of specified vf.
 * set_vf_mac
 *   Configure the default MAC for specified VF
 * get_module_eeprom
 *   Get the optical module eeprom info.
 */
struct hnae3_ae_ops {
	int (*init_ae_dev)(struct hnae3_ae_dev *ae_dev);
@@ -556,6 +558,8 @@ struct hnae3_ae_ops {
	int (*set_vf_rate)(struct hnae3_handle *handle, int vf,
			   int min_tx_rate, int max_tx_rate, bool force);
	int (*set_vf_mac)(struct hnae3_handle *handle, int vf, u8 *p);
	int (*get_module_eeprom)(struct hnae3_handle *handle, u32 offset,
				 u32 len, u8 *data);
};

struct hnae3_dcb_ops {
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
#ifndef __HNS3_CAE_VERSION_H__
#define __HNS3_CAE_VERSION_H__

#define HNS3_CAE_MOD_VERSION "1.9.37.0"
#define HNS3_CAE_MOD_VERSION "1.9.37.1"

#define CMT_ID_LEN 8
#define RESV_LEN 3
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@

#include "hnae3.h"

#define HNS3_MOD_VERSION "1.9.37.0"
#define HNS3_MOD_VERSION "1.9.37.1"

extern char hns3_driver_version[];

+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
#include "hclge_cmd.h"
#include "hnae3.h"

#define HCLGE_MOD_VERSION "1.9.37.0"
#define HCLGE_MOD_VERSION "1.9.37.1"
#define HCLGE_DRIVER_NAME "hclge"

#define HCLGE_MAX_PF_NUM		8
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@
#include "hclgevf_cmd.h"
#include "hnae3.h"

#define HCLGEVF_MOD_VERSION "1.9.37.0"
#define HCLGEVF_MOD_VERSION "1.9.37.1"
#define HCLGEVF_DRIVER_NAME "hclgevf"

#define HCLGEVF_MAX_VLAN_ID	4095