On Mon, 15 Aug 2011 13:49:07 -0700
Hal Rosenstock <[email protected]> wrote:

> 
> for PortInfo:LinkSpeedEnabled
> 
> Signed-off-by: Hal Rosenstock <[email protected]>

Thanks applied,
Ira

> ---
> diff --git a/src/dump.c b/src/dump.c
> index 29fb742..00831a3 100644
> --- a/src/dump.c
> +++ b/src/dump.c
> @@ -244,6 +244,9 @@ void mad_dump_linkspeed(char *buf, int bufsz, void *val, 
> int valsz)
>       int speed = *(int *)val;
>  
>       switch (speed) {
> +     case 0:
> +             snprintf(buf, bufsz, "Extended speed");
> +             break;
>       case 1:
>               snprintf(buf, bufsz, "2.5 Gbps");
>               break;


-- 
Ira Weiny
Math Programmer/Computer Scientist
Lawrence Livermore National Lab
925-423-8008
[email protected]
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to