Hi, We would want to simulate various port states (ARM, INIT, ACTIVE, DOWN, ACTIVE DEFER) on target side without connecting to the network (No SM).
Question: Is it true that functions in mad.c gets called even for local port (Assuming that we have SM in the network and one target port is directly connected to initiator port running SM)? In other words, where in the OFED code, we can see port states getting changed? Thanks Ashish -----Original Message----- From: Dotan Barak [mailto:[EMAIL PROTECTED] Sent: Sunday, September 09, 2007 1:08 AM To: Batwara, Ashish Cc: [EMAIL PROTECTED] Subject: Re: [ofa-general] Port State Change Event Hi. Batwara, Ashish wrote: > > Hi, > > I am looking for a single point in code where I can get the > information about the port state change. We are using mthca driver. I > can see port_change in mthca_eq.c, but here I can only see two states > - Active and Down. Is there any place in the code where I can see > about other states as well, e.g. Arm, Init, Active Defer. > What exactly do you need? I believe that you saw the code that produces the event (port active and port down events). The entity that takes care of the machine state of the logical link is the openSM (or any other Subnet Manager): It sends MADs to the IB port between the nodes in the subnet, configures the port's properties and move the logical link to active state. thanks Dotan _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
