On Thu, 2007-02-08 at 19:39, Michael Arndt wrote: > Hi, > > I think I have found the problem. It is the timeout parameter on the > umad_send function. How exactly I have to handle this parameter? It seems to > be that it shoult be zero if there is no response exspected. But what value > should it be if there is a response expected. In a test I used zero for > SubnGetResp packets because there shouldn't be more packets and 100 for > SubnGet or SubnSet. But if the router is stressed the umad_send function > broke down and give an error -5 every thiertieth packet. Any idea or advice?
umad_send takes the timeout in msec. 100 msec is too short. Try something on the order of seconds. Note also that negative 'timeout_ms' value makes the kernel wait for the reply forever. -- Hal > Thanks Michael _______________________________________________ openib-general mailing list openib-general@openib.org http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general