[openib-general] Re: [PATCH] mthca: report board id in sysfs
Michael S. Tsirkin
mst at mellanox.co.il
Thu Jul 14 08:21:11 PDT 2005
Quoting r. Michael S. Tsirkin <mst at mellanox.co.il>:
> Subject: Re: [PATCH] mthca: report board id in sysfs
>
> Quoting r. Roland Dreier <rolandd at cisco.com>:
> > Subject: Re: [openib-general] [PATCH] mthca: report board id in sysfs
> >
> > Michael> To check, you can type
> >
> > Michael> mstflint -d <bus:dev.fn> q
> >
> > Looks like the board ID is not there.
> >
> > I think I understand what's happening now: on Topspin HCAs, the
> > vendor-specific area is formatted differently, and the board ID string
> > is not in the last 16 bytes of the VSD.
> >
> > What's the best way to make this work for Topspin HCAs?
> >
> > - R.
> >
>
> Since topspin cards have a distinct vendor id, its possible they dont
> need the board id at all.
>
> What'd you like to do?
> - Report empty board id (thats what current code does). User can follow
> the device link and use vendor id to figure out its a topspin card.
> - Check topspin vendor id and report some hard-coded string in board_id.
> - Check topspin vendor id and report some other field from the vpd.
Any ideas yet?
I'd like to add that what this patch does is basically get parity with the
VAPI vstat functionality.
--
MST
More information about the general
mailing list