Cathy Zhou wrote: > Hi Team, > > In the old UV design, we said that in order to use the /dev/net > network device nodes, applications need to be ported to use libdlpi, > and libdlpi will first try to open the /dev/net node, and if that > fails, falls back to open the /dev node. > > I think that approach causes randomness. Most of DLPI applications > (and all DLPI appliations that were ported to use libdlpi, I believe) > should open the /dev/net network device nodes without problem, and if > there is any problem, it should be a bug in the UV gates. We added the DLPI_NOFALLBACK flag so it wouldn't open under the '/dev' node. > > So that I propose to change the behavior to don't fallback to /dev > nodes in the common case, but add a DLPI_LEGACY flag to libdlpi. If > that flag is set, only open the legacy /dev nodes. (This might be > needed for some application). > > Further, we will keep the DLPI_LEGACY environment variable. If that is > set, open the /dev nodes. This might be useful for diagnose purpose, > so that it won't be documented. > > What do you think. The proposal approach sound good. So, you will be removing the DLPI_NOFALLBACK flag? right now ifconfig uses this flag in the clearview gate?
Thanks, -Sagun
