[openib-general] [query]requirement of 'process_mad' in the HCA driver

keshetti mahesh k_mahesh85 at yahoo.co.in
Wed Dec 13 19:49:56 PST 2006


thanks for your reply,

>The driver is needed to obtain the information for the IB node to fill
>in the MADs for response to the SMA query. It may also issue some traps.
>Similarly for PMA as well.

Do u mean to say that HCA driver is needed to pass the HCA related information
(like GID,GUID, port_info etc..) to the SMA so that it can reply to query(or GET )
MADs.  Isn't SMA  capable of doing the same by using "query_(gid,pkey,port)"
verbs.

And final  questions  if it is really required to implement 'process_mad' in HCA driver then why it is not specified in the IB specifications.
Whose duty is this (replying to query MADs) according to the IB psec.s(its duty
of SMA right?)

I have observed that process_mad is not implemented in the IBM's eHCA driver.
what is the case with it?

PS: I am considering only SMA in the host s/w here.

regards,
K.Mahesh.




Hal Rosenstock <halr at voltaire.com> wrote: On Wed, 2006-12-13 at 01:55, keshetti mahesh wrote:
> Hello all,
> 
> I want to know from u people that isi it necessary to implement the
> process_mad for a HCA.
> 
> After looking into the implementations of process_mad in ipath and
> mthca drivers i have fount that they are used to reply the MADs with
> port_info,gid_info,sm_info etc..
> 
> But isn't it handled by SMA in the host......

The SMA can either be in the host on in firmware (as is typical with the
Mellanox silicon).

> i am little bit confused now .
> please just whether  it is required to implement process_mad (suppose)
> for new HCA driver....

It is. For an example of a host (software SMA), see
drivers/infiniband/hw/ipath/ipath_mad.c

> if it is required  why?

The driver is needed to obtain the information for the IB node to fill
in the MADs for response to the SMA query. It may also issue some traps.
Similarly for PMA as well.

-- Hal

> Please CC your replies to me.
> 
> regards,
> K.Mahesh.
> 
> 
> 
> 
> 
> 
> 
> ______________________________________________________________________
>  Find out what India is talking about on - Yahoo! Answers India
> Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8.
> Get it NOW
> 
> ______________________________________________________________________
> 
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



 				
---------------------------------
 Find out what India is talking about on  - Yahoo! Answers India 
 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20061214/edb3206e/attachment.html>


More information about the general mailing list