Re: [ovs-dev] [urcu v2 03/15] util: New macro PAD_SIZE.

2014-03-13 Thread Andy Zhou
Thanks for the change. PAD_SIZE() is indeed much easier to understand. Acked-by: Andy Zhou On Tue, Mar 11, 2014 at 1:56 PM, Ben Pfaff wrote: > PAD_SIZE(x,y) is a little shorter and may have a more obvious meaning > than ROUND_UP(x,y) - x. > > I intend to add more users in an upcoming comment.

[ovs-dev] [urcu v2 03/15] util: New macro PAD_SIZE.

2014-03-11 Thread Ben Pfaff
PAD_SIZE(x,y) is a little shorter and may have a more obvious meaning than ROUND_UP(x,y) - x. I intend to add more users in an upcoming comment. Signed-off-by: Ben Pfaff --- lib/netlink.c |6 +++--- lib/nx-match.c| 10 +- lib/ofp-actions.c |6 +++--- lib/ofp-actions.h