All of lore.kernel.org
 help / color / mirror / Atom feed
* Quick mlx4 IB SR-IOV howto?
@ 2012-09-26 17:14 Roland Dreier
       [not found] ` <CAL1RGDU0XPCyS6fVeHHxnhLHpREjqi6kjKFCX8hBwrLuVD2HwA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2012-12-08 10:09 ` Yi-Man Ma
  0 siblings, 2 replies; 9+ messages in thread
From: Roland Dreier @ 2012-09-26 17:14 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Jack Morgenstein, Or Gerlitz

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-12-11 18:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-26 17:14 Quick mlx4 IB SR-IOV howto? Roland Dreier
     [not found] ` <CAL1RGDU0XPCyS6fVeHHxnhLHpREjqi6kjKFCX8hBwrLuVD2HwA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-09-26 20:11   ` Hal Rosenstock
2012-09-26 20:22   ` Or Gerlitz
     [not found]     ` <CAJZOPZLZQVjFj0P3SrU8hmsz5XNM3QR7HEsxrn5C755hxkWszQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-09-26 21:30       ` Or Gerlitz
     [not found]         ` <CAJZOPZJPZfO60ZbVeYVCPjqRZXtfuzt3PNcvKpUM+Mm6KQefaQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-09-27  6:47           ` Roland Dreier
     [not found]             ` <CAL1RGDXNj3XH1kwvudJ5RatjgAgmshLQPD-DbbwONMAm_CUQQg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-09-27  7:50               ` Or Gerlitz
     [not found]                 ` <5064055A.6020902-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2012-09-27  8:22                   ` Roland Dreier
2012-12-08 10:09 ` Yi-Man Ma
     [not found]   ` <loom.20121208T110331-55-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2012-12-11 18:29     ` Dotan Barak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.