[ovs-dev] [PATCH 1/2] smap: New macro SMAP_CONST2 for an immutable map of 2 key-value pairs.

Ben Pfaff blp at ovn.org
Fri Oct 7 22:06:13 UTC 2016


On Fri, Oct 07, 2016 at 02:37:29PM -0700, Andy Zhou wrote:
> On Fri, Oct 7, 2016 at 10:02 AM, Ben Pfaff <blp at ovn.org> wrote:
> 
> > Future commits will add a user.
> >
> > Signed-off-by: Ben Pfaff <blp at ovn.org>
> >
> 
> Acked-by: Andy Zhou <azhou at ovn.org>
> 
> This is the first time I encountered a linked-list being built statically.
> Very cool trick!

Thanks for the review!

I was kind of surprised that it could work, but it did.

I don't think it's possible to build a doubly linked list in the same
way.



More information about the dev mailing list