]> git.proxmox.com Git - ovs.git/commit - lib/meta-flow.c
flow: Refactor some of VLAN helper functions
authorJianbo Liu <jianbol@mellanox.com>
Tue, 17 Jul 2018 02:01:56 +0000 (02:01 +0000)
committerSimon Horman <simon.horman@netronome.com>
Wed, 25 Jul 2018 16:15:34 +0000 (18:15 +0200)
commit2f9366beb4f6c1bac690d7665008c1f85c16d253
treefa7dbabb77fe3a9255b44c15e4cb2b012d09e242
parentb5ad40a9b84bf509248a451e9f4222fc37afeeb7
flow: Refactor some of VLAN helper functions

By default, these function are to change the first vlan vid and pcp
in the flow. Add a parameter as index for vlans if we want to handle
the second ones.

Signed-off-by: Jianbo Liu <jianbol@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
include/openvswitch/match.h
lib/flow.c
lib/flow.h
lib/match.c
lib/meta-flow.c
lib/netdev-tc-offloads.c
ovn/controller/physical.c