Re: [PATCH for-next] RDMA/hns: Add support function clear when removing module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



在 2019/4/16 20:16, Leon Romanovsky 写道:
> On Sat, Apr 13, 2019 at 07:29:01PM +0800, Lijun Ou wrote:
>> To avoid resource unreleased while ULP aborted abnormally,
>> the hardware adds the capability of restoring the resource
>> while removing module, this patch enables this capability.
> Can anyone help me to understand what does it mean?
> How can ULP "abort" without releasing resources?
>
> Thanks

Maybe the commit description is not correct enough.

The entire PATCH is to solve the following scenarios. When a  function is abnormal, the hardware

need to release the relatived hardware reource and the entire release process is the same as the flr process.

It uses the firmware to reslove.  The hw design adds a firmware cmd to clear the hardware state and judge

the resource of hardware have freed.

As a result, the driver need to implement this cmd.

Thanks

Lijun Ou





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux