Re: [PATCH for-rc] RDMA/hns: Move all prints out of irq handle

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

 




On 2018/9/5 13:41, Leon Romanovsky wrote:
> On Sat, Sep 01, 2018 at 11:00:19AM +0800, liuyixian wrote:
>> It will trigger unneccessary interrupts caused by time out
>> if prints inside aeq handle under some configurations.
>> Thus, move all prints out of aeq handle to work queue.
>>
>> Signed-off-by: liuyixian <liuyixian@xxxxxxxxxx>
>> ---
>>  drivers/infiniband/hw/hns/hns_roce_device.h |   1 +
>>  drivers/infiniband/hw/hns/hns_roce_hw_v2.c  | 227 ++++++++++++----------------
>>  2 files changed, 97 insertions(+), 131 deletions(-)
>>
> 
> It is safe to delete those prints and leave only for unsupported events,
> instead of spamming dmesg with your debug information.
> 
> Thanks

Hi Leon,

Current mechanism is that if an asynchronous event happened, the driver will
notify the event to IB core. But there is no hint to user without driver prints
in my previous tests. So, I think these prints is valuable to notify user some
asynchronous/unexpected events had happened.

Maybe I mistake something :)

Thanks







[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