[ofa-general] Re: [PATCH] infiniband-diags/src/ibqueryerrors.c: Remove --all option and replace it with --switch, --ca, --router

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Hi Ira,

On 15:09 Wed 23 Sep     , Ira Weiny wrote:

Applied with comments below. Thanks.


'-s' is listed twice. I'm fixing this.


Instead of repeating 'node_type_to_print' check its setup could be done
as:

	node_type_to_print = 0;
	process_options()...
	if (!node_type_to_print)
		node_type_to_print = ALL;

Adding this as separate patch.


Some generic thoughts.

When -D, -S, -G and port cannot be resolved should this be an error
instead of full fabric discovery and errors querying?

When such port was resolved shouldn't we skip even partial discover as
useless?

What about unifying -G, -D, -L options (target address type) usage with
other intiniband-diags tools (implemented already with ibdiag_common)?

Sasha

_______________________________________________
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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[ofa-general] Re: [PATCH] infiniband-diags/src/ibqueryerro ..., Sasha Khapyorsky, (Tue Sep 29, 8:49 am)