On 14:41 Sun 01 Mar     , Or Gerlitz wrote:
> @@ -353,6 +407,8 @@ int main(int argc, char **argv)
> 
>       const struct ibdiag_opt opts[] = {
>               { "extended", 'x', 0, NULL, "show extended port counters" },
> +             { "xmtsl", 'X', 0, NULL, "show Xmt SL port counters" },
> +             { "rcvsl", 'S', 0, NULL, "show Rcv SL port counters" },
>               { "all_ports", 'a', 0, NULL, "show aggregated counters" },
>               { "loop_ports", 'l', 0, NULL, "iterate through each port" },
>               { "reset_after_read", 'r', 0, NULL, "reset counters after read" 
> },
> @@ -410,6 +466,16 @@ int main(int argc, char **argv)
>                       all_ports_loop = 1;
>       }
> 
> +     if (xmt_sl) {
> +             xmt_sl_query(&portid, port, mask);
> +             exit(0);
> +     }
> +
> +     if (rcv_sl) {
> +             rcv_sl_query(&portid, port, mask);
> +             exit(0);
> +     }

Would options '-S -X' useful together? May it work with '-a' (all
ports)?

Sasha
_______________________________________________
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

Reply via email to