This patchset introduce vlan tag support to the flower classifier and the flow dissector. In addition to adding vlan priority to act vlan.
The first 2 patches are dealing with the flow dissector: - The first patch is a fix, vlan id value should be taken from skb->vlan_tci and not from skb->data. - The second patch adds support for vlan priority. The third patch adds vlan tag support to the flower classifier, user space patches will be sent later to complete it. The last patch adds vlan priority to act vlan since only vlan id is currently supported. Hadar Hen Zion (4): flow_dissector: Get vlan info from skb->vlan_tci instead of skb->data flow_dissector: Get vlan priority in addition to vlan id net_sched: flower: Add vlan support net_sched: act_vlan: Add priority option include/linux/if_vlan.h | 1 + include/net/flow_dissector.h | 11 ++++-- include/net/tc_act/tc_vlan.h | 1 + include/uapi/linux/pkt_cls.h | 3 ++ include/uapi/linux/tc_act/tc_vlan.h | 1 + net/core/flow_dissector.c | 28 +++++++-------- net/sched/act_vlan.c | 13 +++++-- net/sched/cls_flower.c | 69 +++++++++++++++++++++++++++++++++++-- 8 files changed, 103 insertions(+), 24 deletions(-) -- 1.8.3.1