> > OVS_KEY_ATTR_PACKET_TYPE is represented with OVS_KEY_ATTR_ETHERNET and 
> > OVS_KEY_ATTR_ETHERTYPE in the kernel.
> > From Google doc:
> > "The presence of netlink key attribute OVS_KEY_ATTR_ETHERNET is used to 
> > indicate if it's about L2 or L3 packet on
> the netlink interface. The "L3" packet type is encoded in the 
> OVS_KEY_ATTR_ETHERTYPE netlink attribute."
> 
> Oh, OK.  The header file is confusing.  I think that
> OVS_KEY_ATTR_PACKET_TYPE should be inside #ifndef __KERNEL__, to
> clarify.  I sent a patch:
>         https://patchwork.ozlabs.org/patch/778029/

Hi Ben,

I agree, OVS_KEY_ATTR_PACKET_TYPE should be inside #ifndef __KERNEL__.
Thank you for fixing this!

Best regards,
Zoltan
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to