AFAIK I think this is how I could check the firmware of a Mellanox Ethernet card:
SERVER:~ # for i in 0 1 2 3 ; do ethtool -i eth$i|grep -i firmware; done|sort -u|cut -d' ' -f 2- 14.23.1020 (LNV2420110034)
and this is how I could check the driver version:
SERVER:~ # modinfo mlx5_core|grep ^version:|sed 's/version: * //g' 4.3-1.0.1 SERVER:~ #
The question: is this true? Can someone confirm?