!322 [sync] PR-321: net: hns3: fix the HCLGE_OPC_WOL_CFG opcode id for wol and...
!322 [sync] PR-321: net: hns3: fix the HCLGE_OPC_WOL_CFG opcode id for wol and fix the incorrect way to obtain parameters. Merge Pull Request from: @openeuler-sync-bot ### 1. Origin pull request: https://gitee.com/openeuler/kernel/pulls/321 ### 2. Original pull request related issue(s): https://gitee.com/openeuler/kernel/issues/I65FSF ### 3. Original pull request related commit(s): | Sha | Datetime | Message | |---|---|---| |[987f422a](https://gitee.com/openeuler/kernel/commits/987f422a346e84c9d29a7a83d4a8448a02bad97c)|2022-12-09 11:01:58 +0800 CST|net: hns3: fix the HCLGE_OPC_WOL_CFG opcode id for wol<br><br>driver inclusion<br>category: bugfix<br>bugzilla: https://gitee.com/openeuler/kernel/issues/I65FSF<br>CVE: NA<br><br>----------------------------------------------------------------------<br><br>Fix the HCLGE_OPC_WOL_CFG opcode id for wol.<br><br>Fixes: c3c5f044 ("net: hns3: support wake on lan configuration and query")<br>Signed-off-by: Hao Lan <lanhao@huawei.com><br>Signed-off-by: Jiantao Xiao <xiaojiantao1@h-partners.com><br>| |[c92b8f62](https://gitee.com/openeuler/kernel/commits/c92b8f62f9246d96e19300d5ad3804d2e6d578f7)|2022-12-09 10:54:46 +0800 CST|net: hns3: fix getting supported parameter from driver in hclge_set_wol<br><br>driver inclusion<br>category: bugfix<br>bugzilla: https://gitee.com/openeuler/kernel/issues/I65FSF<br>CVE: NA<br><br>----------------------------------------------------------------------<br><br>The driver should use the supported parameter got from firmware,<br>not from user,to validate the wol mode.<br><br>Fixes: c3c5f044 ("net: hns3: support wake on lan configuration and query")<br>Signed-off-by: Hao Lan <lanhao@huawei.com><br>Signed-off-by: Jiantao Xiao <xiaojiantao1@h-partners.com><br>| Link:https://gitee.com/openeuler/kernel/pulls/322 Reviewed-by: Zheng Zengkai <zhengzengkai@huawei.com> Signed-off-by: Zheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录