public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* if/how to dictate IB device name per PCI BDF
@ 2012-10-11 11:02 Or Gerlitz
       [not found] ` <5076A755.30605-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Or Gerlitz @ 2012-10-11 11:02 UTC (permalink / raw)
  To: Roland Dreier
  Cc: linux-rdma (linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org),
	Shlomo Pongratz, Eli Cohen

Hi Roland,

We got a report that on a system with multiple (say two) ConnectX HCAs, 
its possible
for the order of device probing to be different across simple reboots, 
that is sometimes
the device with PCI BDF X is probed 1st and gets to be IB device mlx4_0 
and some
other-timesthe device with BDF Y gets to be mlx4_0 and X becomes mlx4_1, 
and so on,
which for some reason creates a hassle for them.

I don't fully understand how the PCI scan order can change between 
different
reboots, but have the feeling its possible (in black box manner, the 
reports claims that).

Thinking about this a bit, will it be possible to provide a udev 
rulethat can dictate
to the IB core what name / suffix digit to assign for a device with 
certain BDF?

Or.
--
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] 4+ messages in thread

end of thread, other threads:[~2012-10-12 23:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-11 11:02 if/how to dictate IB device name per PCI BDF Or Gerlitz
     [not found] ` <5076A755.30605-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2012-10-12 22:43   ` Jason Gunthorpe
     [not found]     ` <20121012224332.GB25541-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2012-10-12 23:04       ` Ira Weiny
     [not found]         ` <20121012160418.385ace32ddde5379381d5889-i2BcT+NCU+M@public.gmane.org>
2012-10-12 23:38           ` Jason Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox