未验证 提交 95ae7f71 编写于 作者: O openeuler-ci-bot 提交者: Gitee

!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: Jialin Zhang <zhangjialin11@huawei.com> 
...@@ -241,9 +241,9 @@ void hclge_tm_schd_info_update(struct hclge_dev *hdev, u8 num_tc); ...@@ -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); void hclge_tm_pfc_info_update(struct hclge_dev *hdev);
int hclge_tm_dwrr_cfg(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_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, int hclge_pfc_pause_en_cfg(struct hclge_dev *hdev, u8 tx_rx_bitmap,
u8 pfc_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, int hclge_pause_param_cfg(struct hclge_dev *hdev, const u8 *addr,
u8 pause_trans_gap, u16 pause_trans_time); u8 pause_trans_gap, u16 pause_trans_time);
int hclge_pause_addr_cfg(struct hclge_dev *hdev, const u8 *mac_addr); int hclge_pause_addr_cfg(struct hclge_dev *hdev, const u8 *mac_addr);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册