All of lore.kernel.org
 help / color / mirror / Atom feed
From: Huazhong Tan <tanhuazhong@huawei.com>
To: <davem@davemloft.net>
Cc: <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<salil.mehta@huawei.com>, <yisen.zhuang@huawei.com>,
	<linuxarm@huawei.com>, <jakub.kicinski@netronome.com>,
	Huazhong Tan <tanhuazhong@huawei.com>
Subject: [PATCH net-next 0/7] net: hns3: add some misc update about reset issue
Date: Sat, 11 Jan 2020 16:33:46 +0800	[thread overview]
Message-ID: <1578731633-10709-1-git-send-email-tanhuazhong@huawei.com> (raw)

This series includes some misc update relating to reset issue.
[patch 1/7] & [patch 2/7] splits hclge_reset()/hclgevf_reset()
into two parts: preparing and rebuilding. Since the procedure
of FLR should be separated out from the reset task([patch 3/7 &
patch 3/7]), then the FLR's processing can reuse these codes.

pci_error_handlers.reset_prepare() is void type function, so
[patch 6/7] & [patch 7/7] factor some codes related to PF
function reset to make the preparing done before .reset_prepare()
return.

BTW, [patch 5/7] enlarges the waiting time of reset for matching
the hardware's.

Huazhong Tan (7):
  net: hns3: split hclge_reset() into preparing and rebuilding part
  net: hns3: split hclgevf_reset() into preparing and rebuilding part
  net: hns3: refactor the precedure of PF FLR
  net: hns3: refactor the procedure of VF FLR
  net: hns3: enlarge HCLGE_RESET_WAIT_CNT
  net: hns3: modify hclge_func_reset_sync_vf()'s return type to void
  net: hns3: refactor the notification scheme of PF reset

 drivers/net/ethernet/hisilicon/hns3/hnae3.h        |   5 -
 .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c    | 204 ++++++++++-----------
 .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h    |   1 +
 .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c  | 195 ++++++++++----------
 .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h  |   1 +
 5 files changed, 194 insertions(+), 212 deletions(-)

-- 
2.7.4


             reply	other threads:[~2020-01-11  8:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-11  8:33 Huazhong Tan [this message]
2020-01-11  8:33 ` [PATCH net-next 1/7] net: hns3: split hclge_reset() into preparing and rebuilding part Huazhong Tan
2020-01-11  8:33 ` [PATCH net-next 2/7] net: hns3: split hclgevf_reset() " Huazhong Tan
2020-01-11  8:33 ` [PATCH net-next 3/7] net: hns3: refactor the precedure of PF FLR Huazhong Tan
2020-01-11  8:33 ` [PATCH net-next 4/7] net: hns3: refactor the procedure of VF FLR Huazhong Tan
2020-01-11  8:33 ` [PATCH net-next 5/7] net: hns3: enlarge HCLGE_RESET_WAIT_CNT Huazhong Tan
2020-01-11  8:33 ` [PATCH net-next 6/7] net: hns3: modify hclge_func_reset_sync_vf()'s return type to void Huazhong Tan
2020-01-11  8:33 ` [PATCH net-next 7/7] net: hns3: refactor the notification scheme of PF reset Huazhong Tan
2020-01-11 22:41 ` [PATCH net-next 0/7] net: hns3: add some misc update about reset issue David Miller

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=1578731633-10709-1-git-send-email-tanhuazhong@huawei.com \
    --to=tanhuazhong@huawei.com \
    --cc=davem@davemloft.net \
    --cc=jakub.kicinski@netronome.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxarm@huawei.com \
    --cc=netdev@vger.kernel.org \
    --cc=salil.mehta@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.