[openib-general] Subnet Administration calls in openib.org of fering

Or Gerlitz
Sun Apr 4 04:36:40 PDT 2004


not sure to understand your point, tsIbServiceGet does not yet exist, i just
said that if 
it is coded this and that should be done. 
 
The two existing api calls (tsIbAtsServiceGetGid  and tsIbServiceGetIp)
might be not
general enough to be used by non-udapl clients (lustre etc).
 
Or.

-----Original Message-----
From: Eitan Zahavi [mailto:eitan at mellanox.co.il]
Sent: Sunday, April 04, 2004 12:58 PM
To: 'openib-general at openib.org'
Subject: RE: [openib-general] Subnet Administration calls in openib.org of
fering



I disagree here: 
You can do double registrations - their meaning will be an "update". 
Quoting the spec: 
"C15-0.1.15: Requests to SubnAdmSet(ServiceRecord) or SubnAdmDelete( 
ServiceRecord) shall be performed as if the procedure described below were
used... 
1) If no {ServiceName, ServiceKey} association exists with Service- 
Name=Ns, ignore Ks and perform the requested operation, i.e.: 
a) If the method is SubnAdmDelete(), then 
    i) if there is a stored ServiceRecord with a RID matching Rs, then
delete that 
        stored ServiceRecord. 
   ii) otherwise reject the operation. 
b) If the method is SubnAdmSet(), then 
   i) if there is a stored ServiceRecord with a RID matching Rs, replace 
      that stored ServiceRecord with the one supplied. 
   ii) otherwise add the supplied ServiceRecord." 

So the only thing missing is SubnAdm.Del(ServiceRecord). 
But this is required only for cleanup. 

Eitan Zahavi 
Design Technology Director 
Mellanox Technologies LTD 
Tel:+972-4-9097208 
Fax:+972-4-9593245 
P.O. Box 586 Yokneam 20692 ISRAEL 


-----Original Message----- 
From: Or Gerlitz [ mailto:org at voltaire.com org at voltaire.com> ] 
Sent: Sunday, April 04, 2004 11:34 AM 
To: 'openib-general at openib.org' 
Subject: RE: [openib-general] Subnet Administration calls in openib.org of
fering 

In short - It does support, but the support is not full, more details below.


The ib_sa_client module exposes API to SET service-record 
(tsIbServiceSet) but it does not supply 'general-purpose' API to 
GET/DEL service-record.  It does supply GET for ATS (address translation 
service, used by uDAPL). 

It should not be too much complicated to make tsIbServiceSet working & add 
        tsIbServiceGet 
        tsIbServiceDel 
as long as the query (Service-Record SET/DEL/GET) result fits into one IB 
MAD. 

When this assumption does not hold, i.e if your SR GET query matches 
many SRs, the API and implementation of tsIbServiceGet should be modified 
to cope with. This probably means telling to lower layers (ib_client_query 
module) 
to use RMPP and do SA GET_MUTLI or GET_TABLE instead of GET. 

Or. 
-----Original Message----- 
From: Smith, Stan [ mailto:stan.smith at intel.com
stan.smith at intel.com> ] 
Sent: Friday, April 02, 2004 7:26 PM 
To: openib-general at openib.org 
Subject: [openib-general] Subnet Administration calls in openib.org offering




Will the openib.org stack export subnet administration calls to register 
and lookup a service record by service ID? 

The Lustre distributed filesystem (www.lustre.org) over InfiniBand 
implementation depends on this functionality. The requirements are order 
100 registered service records, with order 1000 service record lookups. 

Thanks, 

Stan. 

-- 
To unsubscribe send an email with subject unsubscribe to 
openib-general at openib.org. 
Please contact moderator at openib.org for questions. 

-- 
To unsubscribe send an email with subject unsubscribe to
openib-general at openib.org. 
Please contact moderator at openib.org for questions. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://openib.org/pipermail/openib-general/attachments/20040404/725d0f6a/attachment.html


More information about the openib-general mailing list