summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/tc_act
diff options
context:
space:
mode:
authorHadar Hen Zion2016-08-17 12:36:14 +0200
committerDavid S. Miller2016-08-19 08:13:14 +0200
commit956af37102b515512331a03c35c958b2a1d8dd87 (patch)
tree23f9f44fe2f7375a27ab1a0880d6e746ebae9649 /include/uapi/linux/tc_act
parentnet_sched: flower: Add vlan support (diff)
downloadkernel-qcow2-linux-956af37102b515512331a03c35c958b2a1d8dd87.tar.gz
kernel-qcow2-linux-956af37102b515512331a03c35c958b2a1d8dd87.tar.xz
kernel-qcow2-linux-956af37102b515512331a03c35c958b2a1d8dd87.zip
net_sched: act_vlan: Add priority option
The current vlan push action supports only vid and protocol options. Add priority option. Example script that adds vlan push action with vid and priority: tc filter add dev veth0 protocol ip parent ffff: \ flower \ indev veth0 \ action vlan push id 100 priority 5 Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/tc_act')
-rw-r--r--include/uapi/linux/tc_act/tc_vlan.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/tc_act/tc_vlan.h b/include/uapi/linux/tc_act/tc_vlan.h
index 31151ff6264f..be72b6e3843b 100644
--- a/include/uapi/linux/tc_act/tc_vlan.h
+++ b/include/uapi/linux/tc_act/tc_vlan.h
@@ -29,6 +29,7 @@ enum {
TCA_VLAN_PUSH_VLAN_ID,
TCA_VLAN_PUSH_VLAN_PROTOCOL,
TCA_VLAN_PAD,
+ TCA_VLAN_PUSH_VLAN_PRIORITY,
__TCA_VLAN_MAX,
};
#define TCA_VLAN_MAX (__TCA_VLAN_MAX - 1)