Commit 32c1fdb5 authored by David S. Miller's avatar David S. Miller

Merge branch 'hns3-next'

Huazhong Tan says:

====================
net: hns3: misc updates for -next

This series includes some misc updates for the HNS3 ethernet driver.
====================
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents 46fd4471 e407efdd
...@@ -11126,8 +11126,6 @@ static void hclge_reset_prepare_general(struct hnae3_ae_dev *ae_dev, ...@@ -11126,8 +11126,6 @@ static void hclge_reset_prepare_general(struct hnae3_ae_dev *ae_dev,
if (hdev->reset_type == HNAE3_FLR_RESET) if (hdev->reset_type == HNAE3_FLR_RESET)
hdev->rst_stats.flr_rst_cnt++; hdev->rst_stats.flr_rst_cnt++;
else if (hdev->reset_type == HNAE3_FUNC_RESET)
hdev->rst_stats.pf_rst_cnt++;
} }
static void hclge_reset_done(struct hnae3_ae_dev *ae_dev) static void hclge_reset_done(struct hnae3_ae_dev *ae_dev)
......
...@@ -3646,7 +3646,7 @@ static void hclgevf_get_link_mode(struct hnae3_handle *handle, ...@@ -3646,7 +3646,7 @@ static void hclgevf_get_link_mode(struct hnae3_handle *handle,
} }
#define MAX_SEPARATE_NUM 4 #define MAX_SEPARATE_NUM 4
#define SEPARATOR_VALUE 0xFFFFFFFF #define SEPARATOR_VALUE 0xFDFCFBFA
#define REG_NUM_PER_LINE 4 #define REG_NUM_PER_LINE 4
#define REG_LEN_PER_LINE (REG_NUM_PER_LINE * sizeof(u32)) #define REG_LEN_PER_LINE (REG_NUM_PER_LINE * sizeof(u32))
......
...@@ -177,9 +177,9 @@ struct hclgevf_hw { ...@@ -177,9 +177,9 @@ struct hclgevf_hw {
/* TQP stats */ /* TQP stats */
struct hlcgevf_tqp_stats { struct hlcgevf_tqp_stats {
/* query_tqp_tx_queue_statistics ,opcode id: 0x0B03 */ /* query_tqp_tx_queue_statistics, opcode id: 0x0B03 */
u64 rcb_tx_ring_pktnum_rcd; /* 32bit */ u64 rcb_tx_ring_pktnum_rcd; /* 32bit */
/* query_tqp_rx_queue_statistics ,opcode id: 0x0B13 */ /* query_tqp_rx_queue_statistics, opcode id: 0x0B13 */
u64 rcb_rx_ring_pktnum_rcd; /* 32bit */ u64 rcb_rx_ring_pktnum_rcd; /* 32bit */
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment