Got it.
My mis-understanding, i thought "all datapaths" refer to all existing
datapaths which are created by ./ovs-dpctl add-dp dpx command.
No, it doesn't cause any problem for me.

Thanks

2011/2/4 Ben Pfaff <b...@nicira.com>

> On Fri, Feb 04, 2011 at 03:52:43PM -0800, Yongqiang Liu wrote:
> > Now there is an interesting problem with ./ovs-dpctl show command.
> > It will silently create many dpx devices in /dev/net.
>
> This is true.
>
> > 4.  but if there in argument dp0, it has a problem: it creates extra 254
> > devices in /dev/net/
> > # ./ovs-dpctl show
>
> Do you mean, if there is *no* argument dp0?  That is what your example
> shows.
>
> This is because the "show" command without any argument scans for every
> possible datapath.  There are 256 possible datapaths numbered 0 through
> 255, so it has to create a device for each one in order to try to open
> it.
>
> It's not normally a problem.  Does it cause a problem for you?
>
> At any rate, the current "master" branch in OVS does not create any
> devices at all.  It uses Netlink instead.
>
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org

Reply via email to