[ofa-general] [PATCH 1/2] libibmad: add a drpath2str function for easier printing of DR Paths.

Hal Rosenstock hrosenstock at xsigo.com
Tue Jun 24 15:31:27 PDT 2008


On Tue, 2008-06-24 at 14:48 -0700, Ira Weiny wrote:
> --- a/libibmad/include/infiniband/mad.h
> +++ b/libibmad/include/infiniband/mad.h
> @@ -622,6 +622,7 @@ enum {
>  char * portid2str(ib_portid_t *portid);
>  int    portid2portnum(ib_portid_t *portid);
>  int    str2drpath(ib_dr_path_t *path, char *routepath, int drslid,
> int drdlid);
> +char *  drpath2str(ib_dr_path_t *path, char *dstr, size_t dstr_size);

Should drpath2str be added to libibmad.map too ?

-- Hal




More information about the general mailing list