]> git.proxmox.com Git - ovs.git/commit - lib/netdev-linux.c
ovs-tc: allow offloading TC rules to egress qdiscs
authorJohn Hurley <john.hurley@netronome.com>
Tue, 9 Apr 2019 14:36:13 +0000 (15:36 +0100)
committerSimon Horman <simon.horman@netronome.com>
Tue, 9 Apr 2019 15:34:07 +0000 (17:34 +0200)
commit95255018a83ee460a5e2e4833e3f444a502c5804
tree02d12e7de8c5ace7a710396c6da8349f80f39f2c
parent4aa2dc04ec6e4b005b1bcf520b8ff02265ecb569
ovs-tc: allow offloading TC rules to egress qdiscs

Offloading rules to a TC datapath only allows the creating of ingress hook
qdiscs and the application of filters to these. However, there may be
certain situations where an egress qdisc is more applicable (e.g. when
offloading to TC rules applied to OvS internal ports).

Extend the TC API in OvS to allow the creation of egress qdiscs and to add
or interact with flower filters applied to these.

Signed-off-by: John Hurley <john.hurley@netronome.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
lib/netdev-linux.c
lib/netdev-tc-offloads.c
lib/tc.c
lib/tc.h