Re: [PATCH v4 03/13] SIW network and RDMA core interface

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

 



On Tue, Feb 12, 2019 at 03:58:54PM +0000, Bernard Metzler wrote:

> >Drivers should be designed so that when all PD's are closed most of
> >their resources are gone as well. The core code will ensure all PD's
> >are closed.

> The problem probably is, that PD's are not going away as
> long as the application sits on them. What I want is the provider
> to break affected connections, if a link goes down and let
> the application know about it.

This is not appropriate.

In kernel users are notified that the device is going down and will
disconnect in an orderly way.

uverbs users should get a device fatal async event and should clean up
as well.

If you want to expedite removal of uverbs then siw has to support the
uverbs 'disassociate' flow.

Jason



[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