From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roland Dreier Subject: Quick mlx4 IB SR-IOV howto? Date: Wed, 26 Sep 2012 10:14:55 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Jack Morgenstein , Or Gerlitz List-Id: linux-rdma@vger.kernel.org So I have SR-IOV enabled on a ConnectX-3 adapter, and I loaded the driver with num_vfs=1 probe_vf=1, so in the host I see: # The master device $ ibv_devinfo -d mlx4_1 hca_id: mlx4_1 transport: InfiniBand (0) fw_ver: 2.11.500 node_guid: 0002:c903:0036:6670 sys_image_guid: 0002:c903:0036:6673 vendor_id: 0x02c9 vendor_part_id: 4099 hw_ver: 0x0 board_id: MT_1100120019 phys_port_cnt: 1 port: 1 state: PORT_ACTIVE (4) max_mtu: 2048 (4) active_mtu: 2048 (4) sm_lid: 1 port_lid: 2 port_lmc: 0x00 link_layer: InfiniBand # The slave VF $ ibv_devinfo -d mlx4_3 hca_id: mlx4_3 transport: InfiniBand (0) fw_ver: 2.11.500 node_guid: 0014:0500:8c20:105c sys_image_guid: 0002:c903:0036:6673 vendor_id: 0x02c9 vendor_part_id: 4100 hw_ver: 0x0 board_id: MT_1100120019 phys_port_cnt: 1 port: 1 state: PORT_DOWN (1) max_mtu: 2048 (4) active_mtu: 2048 (4) sm_lid: 1 port_lid: 2 port_lmc: 0x00 link_layer: InfiniBand What do I need for the slave VF's port to become active? I'm running opensm 3.3.13 on a different box, is that new enough? (does SR-IOV require any SM support?) Thanks, Roland -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html