try one of the following method
1) Run " ibv_devinfo"
2)
Try downloading latest mft tool from
http://www.mellanox.com/page/management_tools
After installation
a) run " mst start" ( to start tool)
b) run " mst status" ( to get the status of the installed cards) and use it in step 3
c) run " flint -d </dev/mst/mt4099_pci_cr0> -qq q