net/sched: cls_flower: Specify vlan attributes format in the UAPI header
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 15 Sep 2016 12:28:24 +0000 (15:28 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Sep 2016 00:27:23 +0000 (20:27 -0400)
Specify the format (size and endianess) for the vlan attributes.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/pkt_cls.h

index 60ea2a0848800d162169ea3cf2978fd0ffc88dc1..8915b61bbf83d124d871392eb4e1760986dfeea7 100644 (file)
@@ -428,9 +428,9 @@ enum {
        TCA_FLOWER_KEY_UDP_DST,         /* be16 */
 
        TCA_FLOWER_FLAGS,
-       TCA_FLOWER_KEY_VLAN_ID,
-       TCA_FLOWER_KEY_VLAN_PRIO,
-       TCA_FLOWER_KEY_VLAN_ETH_TYPE,
+       TCA_FLOWER_KEY_VLAN_ID,         /* be16 */
+       TCA_FLOWER_KEY_VLAN_PRIO,       /* u8   */
+       TCA_FLOWER_KEY_VLAN_ETH_TYPE,   /* be16 */
 
        TCA_FLOWER_KEY_ENC_KEY_ID,      /* be32 */
        TCA_FLOWER_KEY_ENC_IPV4_SRC,    /* be32 */