[ofa-general] Re: pkey change handling patch
Michael S. Tsirkin
mst at dev.mellanox.co.il
Tue Apr 17 15:02:14 PDT 2007
> Quoting Moni Levy <myopenib at gmail.com>:
> Subject: Re: pkey change handling patch
>
> Michael S. Tsirkin wrote:
> >> Quoting Roland Dreier <rdreier at cisco.com>:
> >> Subject: Re: pkey change handling patch
> >>
> >> Michael> I looked at cache.c and you are right. Maybe we should
> >> Michael> either 1. report events after cache has been updated or
> >> Michael> 2. make cache queries error out (EBUSY?) if cache hs not
> >> Michael> updated yet.
> >>
> >> Michael> Option 1 requires core changes, option 2 - ULP changes
> >>
> >> Michael> I would be inclined to go for 2. Roland?
> >>
> >> Yes, I agree. How about ESTALE as an error code?
> >>
> >
> > Looks OK.
> > Moni, I think this should be a separate patch,
> > and your pkey work on top of this.
> >
> Ok, I'll try to close that tomorrow.
So, this all turned out looking much more hairy than I thought it would be.
Maybe option 1 is better? How about adding new types of events, and
generating them once cache has been updated?
--
MST
More information about the general
mailing list