]> git.proxmox.com Git - mirror_ovs.git/commit - lib/tc.h
tc: Introduce tcf_id to specify a tc filter
authorPaul Blakey <paulb@mellanox.com>
Sun, 22 Dec 2019 10:16:36 +0000 (12:16 +0200)
committerSimon Horman <simon.horman@netronome.com>
Sun, 22 Dec 2019 10:54:40 +0000 (11:54 +0100)
commitacdd544c4c9a2e31913d55baed004bae691db86f
tree57e2a8a09e8d3071daa49cf7b8f949832fa94468
parent104d33ca88cce203689fcfe92943d1673f8593d2
tc: Introduce tcf_id to specify a tc filter

Move all that is needed to identify a tc filter to a
new structure, tcf_id. This removes a lot of duplication
in accessing/creating tc filters.

Signed-off-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
lib/netdev-linux.c
lib/netdev-offload-tc.c
lib/tc.c
lib/tc.h