On Mon, Nov 14, 2011 at 17:00, Ben Pfaff <b...@nicira.com> wrote:
> On Mon, Nov 14, 2011 at 02:17:01PM -0800, Ethan Jackson wrote:
>> Why do we consider mf_fields which don't have a corresponding NXM
>> field writable?  That wasn't obvious to me from reading the code.
>
> What code prompts that question?
>

This code:

The dl_vlan  has no NXM field but is writable.  I may be
misinterpreting the meaning/use of the writable boolean though.

    }, {
        MFF_VLAN_VID, "dl_vlan", NULL,
        sizeof(ovs_be16), 12,
        MFM_NONE, 0,
        MFS_DECIMAL,
        MFP_NONE,
-        0,
+        true,
+        0, NULL
    }, {
        MFF_VLAN_PCP, "dl_vlan_pcp", NULL,
        1, 3,
        MFM_NONE, 0,
        MFS_DECIMAL,
        MFP_NONE,
-        0,
+        true,
+        0, NULL
    },
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to