All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hao Lan <lanhao@huawei.com>
To: <davem@davemloft.net>, <kuba@kernel.org>
Cc: <yisen.zhuang@huawei.com>, <salil.mehta@huawei.com>,
	<edumazet@google.com>, <pabeni@redhat.com>,
	<richardcochran@gmail.com>, <shenjian15@huawei.com>,
	<netdev@vger.kernel.org>
Subject: [PATCH net-next 0/2] net: hns3: support wake on lan for hns3
Date: Wed, 4 Jan 2023 09:34:03 +0800	[thread overview]
Message-ID: <20230104013405.65433-1-lanhao@huawei.com> (raw)

HNS3 (HiSilicon Network System 3) supports Wake-on-LAN,
magic mode and magic security mode on each pf.
This patch supports the ethtool LAN wake-up configuration and
query interfaces and debugfs query interfaces. It does not
support the suspend resume interface because there is no
corresponding application scenario.

Hao Lan (2):
  net: hns3: support wake on lan configuration and query
  net: hns3: support debugfs for wake on lan

 drivers/net/ethernet/hisilicon/hns3/hnae3.h   |  13 ++
 .../hns3/hns3_common/hclge_comm_cmd.c         |   1 +
 .../hns3/hns3_common/hclge_comm_cmd.h         |   3 +
 .../ethernet/hisilicon/hns3/hns3_debugfs.c    |  10 +
 .../ethernet/hisilicon/hns3/hns3_ethtool.c    |  27 +++
 .../hisilicon/hns3/hns3pf/hclge_cmd.h         |  24 ++
 .../hisilicon/hns3/hns3pf/hclge_debugfs.c     |  62 ++++++
 .../hisilicon/hns3/hns3pf/hclge_main.c        | 206 ++++++++++++++++++
 .../hisilicon/hns3/hns3pf/hclge_main.h        |  10 +
 9 files changed, 356 insertions(+)

-- 
2.30.0


             reply	other threads:[~2023-01-04  1:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-04  1:34 Hao Lan [this message]
2023-01-04  1:34 ` [PATCH net-next 1/2] net: hns3: support wake on lan configuration and query Hao Lan
2023-01-04  2:10   ` Andrew Lunn
2023-01-04 12:57     ` Hao Lan
2023-01-04 15:00       ` Andrew Lunn
2023-01-04  1:34 ` [PATCH net-next 2/2] net: hns3: support debugfs for wake on lan Hao Lan
2023-01-04  2:12   ` Andrew Lunn
2023-02-06 13:49 [PATCH net-next 0/2] net: hns3: support wake on lan for hns3 Hao Lan
2023-02-06 13:53 ` Hao Lan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230104013405.65433-1-lanhao@huawei.com \
    --to=lanhao@huawei.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=richardcochran@gmail.com \
    --cc=salil.mehta@huawei.com \
    --cc=shenjian15@huawei.com \
    --cc=yisen.zhuang@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.