net: hns3: support wake on lan configuration and query
mainline inclusion from mainline-v6.4-rc1 commit 3b064f54 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I7ON9Y CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3b064f541be822dc095991c6dda20a75eb51db5e ---------------------------------------------------------------------- The HNS3 driver supports Wake-on-LAN, which can wake up the server from power off state to power on state by magic packet or magic security packet. ChangeLog: v1->v2: Deleted the debugfs function that overlaps with the ethtool function from suggestion of Andrew Lunn. v2->v3: Return the wol configuration stored in driver, suggested by Alexander H Duyck. v3->v4: Add a helper to go from netdev to the local struct, suggested by Simon Horman and Jakub Kicinski. Reviewed-by: NSimon Horman <simon.horman@corigine.com> Signed-off-by: NHao Lan <lanhao@huawei.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net> Signed-off-by: NJiantao Xiao <xiaojiantao1@h-partners.com>
Showing
想要评论请 注册 或 登录