On Tue, Sep 06, 2011 at 07:32:33PM -0700, Ethan Jackson wrote: > 802.1ag only allows for MPIDs in the range [1, 8191]. This is > restrictive enough to make assignment of MPIDs to instances of OVS > awkward. This patch allows six byte MPIDs when running in extended > mode. > > Bug #7014.
Why 6 bytes? Why not, for example, 8? Why use a struct instead of just translating both forms into, say, an "unsigned long long" that could be compared with == and !=? Why use a string in the database, instead of an integer with a wider range? I guess there must be a reason to use a MAC address as the MPID, but is it a good enough reason to avoid just making room for a wider integer field? _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
