>> +void
>> +print_port(ibnd_node_t *node, ibnd_port_t *port)
>> +{
>> +    char remote_guid_str[256];
>> +    char remote_str[256];
>> +    char link_str[256];
>> +    char width_msg[256];
>> +    char speed_msg[256];
>> +    char ext_port_str[256];
>> +
>> +    if (!port)
>> +            return;
>> +
>> +    remote_guid_str[0] = '\0';
>> +    remote_str[0] = '\0';
>> +    link_str[0] = '\0';
>> +    width_msg[0] = '\0';
>> +    speed_msg[0] = '\0';
>> +
>> +    if (port->remoteport) {
>> +            char  remote_name_buf[256];

This function ends up using a lot of stack space.

- Sean

_______________________________________________
general mailing list
general@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to