> From: Jiri Benc [mailto:jb...@redhat.com]

> > So what is the correct layout for MASKED_SET action with nested fields?
> > 1. All nested values, followed by all nested masks, or
> > 2. For each nested field value followed by mask?
> >
> > I guess alternative 1, but just to be sure.
> 
> It's 2. Alternative 1 breaks netlink assumptions, is ugly to implement
> and probably impossible to be properly validated.

OK. For outsiders this was far from obvious :-)

So, for OVS_ACTION_ATTR_SET_MASKED any nested attribute, no matter on which 
nesting level, must contain value directly followed by mask.

If that is the principle of handling masks in Netlink APIs, than we must adhere 
to it.

BR, Jan

Reply via email to