mirror of
https://github.com/torvalds/linux.git
synced 2024-12-21 02:21:36 +00:00
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: David S. Miller <davem@davemloft.net>
This commit is contained in:
commit
32c1fdb5e9
@ -11126,8 +11126,6 @@ retry:
|
||||
|
||||
if (hdev->reset_type == HNAE3_FLR_RESET)
|
||||
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)
|
||||
|
@ -3646,7 +3646,7 @@ static void hclgevf_get_link_mode(struct hnae3_handle *handle,
|
||||
}
|
||||
|
||||
#define MAX_SEPARATE_NUM 4
|
||||
#define SEPARATOR_VALUE 0xFFFFFFFF
|
||||
#define SEPARATOR_VALUE 0xFDFCFBFA
|
||||
#define REG_NUM_PER_LINE 4
|
||||
#define REG_LEN_PER_LINE (REG_NUM_PER_LINE * sizeof(u32))
|
||||
|
||||
|
@ -177,9 +177,9 @@ struct hclgevf_hw {
|
||||
|
||||
/* 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 */
|
||||
/* query_tqp_rx_queue_statistics ,opcode id: 0x0B13 */
|
||||
/* query_tqp_rx_queue_statistics, opcode id: 0x0B13 */
|
||||
u64 rcb_rx_ring_pktnum_rcd; /* 32bit */
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user