[openib-general] [PATCH] mthca: report board id in sysfs

Michael S. Tsirkin mst at mellanox.co.il
Sun Jul 10 00:05:13 PDT 2005


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.


-- 
MST



More information about the general mailing list