From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [Patch net-next 00/11] add code optimization for VF reset and some new reset feature Date: Fri, 09 Nov 2018 16:47:51 -0800 (PST) Message-ID: <20181109.164751.191496935220130040.davem@davemloft.net> References: <1541772476-41478-1-git-send-email-tanhuazhong@huawei.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, salil.mehta@huawei.com, yisen.zhuang@huawei.com, linuxarm@huawei.com To: tanhuazhong@huawei.com Return-path: In-Reply-To: <1541772476-41478-1-git-send-email-tanhuazhong@huawei.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Huazhong Tan Date: Fri, 9 Nov 2018 22:07:45 +0800 > Currently hardware supports below reset: > 1. VF reset: triggered by sending cmd to IMP(Integrated Management > Processor). Only reset specific VF function and do not affect > other PF or VF. > 2. PF reset: triggered by sending cmd to IMP. Only reset specific PF > and it's VF. > 3. PF FLR: triggered by PCIe subsystem. Only reset specific PF and > it's VF. > 4. VF FLR: triggered by PCIe subsystem. Only reset specific VF function > and do not affect other PF or VF. > 5. Core reset: triggered by writing to register. Reset most hardware > unit, such as SSU, which affects all the PF and VF. > 6. Global reset: triggered by writing to register. Reset all hardware > unit, which affects all the PF and VF. > 7. IMP reset: triggered by IMU(Intelligent Management Unit) when > IMP is not longer feeding IMU's watchdog. IMU will reload the IMP > firmware and IMP will perform global reset after firmware reloading, > which affects all the PF and VF. > > Current driver only support PF/VF reset, incomplete core and global > reset(lacking the vf reset handling). So this patchset adds complete > reset support in hns3 driver. > > Also, this patchset contains some optimization related to reset. Series applied, thank you.