***SPAM*** Re: [ofa-general] [PATCH] libibmad/dump: print more PortInfo:CapabilityMask bits

Hal Rosenstock hal.rosenstock at gmail.com
Sat Oct 25 08:27:21 PDT 2008


On Sat, Oct 25, 2008 at 11:05 AM, Sasha Khapyorsky <sashak at voltaire.com> wrote:
>
> Support (show) new PortInfo:CapabilityMask bits -
> IsOtherLocalChangesNoticeSupported and
> IsLinkSpeedWidthPairsTabaleSupported.
>
> Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
> ---
>  libibmad/src/dump.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/libibmad/src/dump.c b/libibmad/src/dump.c
> index 4a780a7..de05d29 100644
> --- a/libibmad/src/dump.c
> +++ b/libibmad/src/dump.c
> @@ -529,6 +529,10 @@ mad_dump_portcapmask(char *buf, int bufsz, void *val, int valsz)
>                s += sprintf(s, "\t\t\t\tIsLinkRoundTripLatencySupported\n");
>        if (mask & (1 << 25))
>                s += sprintf(s, "\t\t\t\tIsClientRegistrationSupported\n");
> +       if (mask & (1 << 26))
> +               s += sprintf(s, "\t\t\t\tIsOtherLocalChangesNoticeSupported\n");
> +       if (mask & (1 << 27))
> +               s += sprintf(s, "\t\t\t\tIsLinkSpeedWidthPairsTabaleSupported\n");

              ^^^^^^^

                typo

>
>        if (s != buf)
>                *(--s) = 0;
> --
> 1.6.0.3.517.g759a
>
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
>



More information about the general mailing list