Unverified Commit 95ae7f71 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!1719 net: hns3: revert "net: hns3: disbable pfc en before the reset" and backport the mainline

Merge Pull Request from: @svishen 
 
This patch revert "net: hns3: disbable pfc en before the reset" and backport the mainline

issue:
https://gitee.com/openeuler/kernel/issues/I7S5M4 
 
Link:https://gitee.com/openeuler/kernel/pulls/1719

 

Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents 18a355bf 9e357eaf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -241,9 +241,9 @@ void hclge_tm_schd_info_update(struct hclge_dev *hdev, u8 num_tc);
void hclge_tm_pfc_info_update(struct hclge_dev *hdev);
int hclge_tm_dwrr_cfg(struct hclge_dev *hdev);
int hclge_tm_init_hw(struct hclge_dev *hdev, bool init);
int hclge_mac_pause_en_cfg(struct hclge_dev *hdev, bool tx, bool rx);
int hclge_pfc_pause_en_cfg(struct hclge_dev *hdev, u8 tx_rx_bitmap,
			   u8 pfc_bitmap);
int hclge_mac_pause_en_cfg(struct hclge_dev *hdev, bool tx, bool rx);
int hclge_pause_param_cfg(struct hclge_dev *hdev, const u8 *addr,
			  u8 pause_trans_gap, u16 pause_trans_time);
int hclge_pause_addr_cfg(struct hclge_dev *hdev, const u8 *mac_addr);