[openib-general] [PATCH] libibsa: userspace SA query and multicast support

Hal Rosenstock halr at voltaire.com
Tue Aug 29 09:42:45 PDT 2006


On Tue, 2006-08-29 at 11:58, Sean Hefty wrote:
> >Why SEND ? In general, couldn't it be used like SET/DELETE (in addition
> >to being used like the GET method variants) ? Also, the SA doesn't use
> >the SEND method.
> 
> The latest version of the patch only allows GET or GET_TABLE for PathRecords
> ServiceRecords, and MCMemberRecords, and GET_MULTI for MultiPath queries if
> using the default access mode.  

OK. So shouldn't IBV_SA_METHOD_SEND be removed from sa_net.h ?

Index: libibsa/include/infiniband/sa_net.h
===================================================================
--- libibsa/include/infiniband/sa_net.h (revision 0)
+++ libibsa/include/infiniband/sa_net.h (revision 0)

+enum {
+       IBV_SA_METHOD_GET               = 0x01,
+       IBV_SA_METHOD_SET               = 0x02,
+       IBV_SA_METHOD_GET_RESP          = 0x81,
+       IBV_SA_METHOD_SEND              = 0x03,

> Raw access mode doesn't filter the request, but
> is intended for privileged applications.

I'm unclear about what you mean in terms of the relation of this to my
original comment.

By raw access, do you mean SEND_MAD operation ? 

How do those applications gain this privilege ?

-- Hal




> - Sean





More information about the general mailing list