[openib-general] [PATCH] RFC: allow send only registration from userspace

Hal Rosenstock halr at voltaire.com
Tue Mar 29 10:03:55 PST 2005


On Tue, 2005-03-29 at 10:43, Roland Dreier wrote: 
>     Roland> I'm surprised that no one has complained about this yet.
>     Roland> How did ibping work in userspace if the kernel had already
>     Roland> registered for the ping class?
> 
>     Hal> The management class for the ping registrations (for the
>     Hal> server) is not 0 so you can't run both kernel and usermode
>     Hal> ibping server simultaneously.
> 
> But how did you run the kernel server and the user client at the same
> time?  It seems they would have to register an agent for the same class.

The client registers with a cleared method mask so there is no conflict
with the server. (This registration could be done a different way).

>     Hal> Also, there was a thread a while ago on adding async event
>     Hal> support to user_mad.c. This is needed by OpenSM. Any comments
>     Hal> on this ?
> 
> I would prefer to leave the passing of async events to uverbs.

It seems simplest for OpenSM to get the events through the user MAD fd
it is already using. Is there a reason it shouldn't be done this way ?

-- Hal





More information about the general mailing list