Re: mlx4 pci device table

Roland Dreier
2010-06-23T23:17:04Z

> If the table is placed in mlx4_core (as of today in upstream), then I
> assume the mlx4_en and _ib aren't being probed by pci hot-plug
> mechasnisms, correct? else if you put it in _en _ib et al files, then
> one has to maintain two copies of the table, but maybe this would be
> the correct approach? how this should work with multi-protcol mlx4
> devices and/or IBoE?

I think the current upstream location is correct. This matches the
practice of eg iw_cxgb3 as well as cxgb3i, bnx2i etc. This does have
the disadvantage that mlx4_en and mlx4_ib are not auto-loaded by PCI
hotplug, but so it goes.
--
Roland Dreier <rolandd-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org> || For corporate legal information go to: