Erez,
Is it possible to use ibdump inside a VM with a ConnectX-3 SR-IOV VF based device passed through? Doesn't seem to be working for us:
[root@hc13 ~]# ethtool -i mlx0
driver: mlx4_en
version: 3.4-1.0.0 (25 Sep 2016)
firmware-version: 2.40.7000
bus-info: 0000:00:06.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: yes
[root@hc13 ~]# ibv_devinfo
hca_id: mlx4_0
transport: InfiniBand (0)
fw_ver: 2.40.7000
node_guid: 0014:0500:8bcf:a171
sys_image_guid: f452:1403:0094:7c93
vendor_id: 0x02c9
vendor_part_id: 4100
hw_ver: 0x1
board_id: MT_1100120019
phys_port_cnt: 1
Device ports:
port: 1
state: PORT_ACTIVE (4)
max_mtu: 4096 (5)
active_mtu: 4096 (5)
sm_lid: 0
port_lid: 0
port_lmc: 0x00
link_layer: Ethernet
[root@hc13 ~]# show_gids
DEV PORT INDEX GID IPv4 VER DEV
--- ---- ----- --- ------------ --- ---
mlx4_0 1 0 fe80:0000:0000:0000:3c7a:e8ff:fe84:ac60 V1 mlx0
mlx4_0 1 1 fdfd:eb1a:eb10:e400:3c7a:e8ff:fe84:ac60 V1 mlx0
mlx4_0 1 2 0000:0000:0000:0000:0000:ffff:ac10:e52f 172.16.229.47 V1 mlx0
[root@hc13 ~]# ibdump -d mlx0
Initiating resources ...
searching for IB devices in host
-E- IB device mlx0 wasn't found
-E- failed to create resources
[root@hc13 ~]# ibdump -d mlx4_0
Initiating resources ...
searching for IB devices in host
-E- Failed to open mst device mlx4_0: Operation not supported
-E- failed to create resources