> As we already discussed on this alias, we cannot completely get rid of the > dlpi_open() fallback logic (to open the /dev devices when opening the > /dev/net links fails) because: > > a. the vni interfaces only exist in /dev > b. the ib (infiniband) driver is not ported to GLDv3 yet, so that it only > exists in /dev
There are others, too -- like /dev/clprivnet (used by Sun Cluster). > a. using strcmp(), and only allow fallback for certain drivers, including ib > and vni. > > b. only fallback when opening /dev/net/<ifN> returns ENOENT. > > I think b would solve the problem in this scenario but it might not cover > all cases. > > What do you think? Definitely (b). -- meem
