[ovs-git] [openvswitch/ovs] 9e74ac: netdev-tc-offloads: Use correct hook qdisc at init...
noreply at github.com
Thu Jun 13 07:05:39 UTC 2019
Author: Raed Salem <raeds at mellanox.com>
Date: 2019-06-13 (Thu, 13 Jun 2019)
netdev-tc-offloads: Use correct hook qdisc at init tc flow
A preliminary netdev qdisc cleanup is done during init tc flow.
The cited commit allows for creating of egress hook qdiscs on internal
ports. This breaks the netdev qdisc cleanup as currently only ingress
hook qdiscs type is deleted. As a consequence the check for tc ingress
shared block support fails when the check is done on internal port.
Issue can be reproduced by the following steps:
- start openvswitch service
- create ovs bridge
- restart openvswitch service
Fix by using the correct hook qdisc type at netdev hook qdisc cleanup.
Fixes 608ff46aaf0d ("ovs-tc: offload datapath rules matching on internal ports")
Signed-off-by: Raed Salem <raeds at mellanox.com>
Reviewed-by: Roi Dayan <roid at mellanox.com>
Acked-by: John Hurley <john.hurley at netronome.com>
Signed-off-by: Simon Horman <simon.horman at netronome.com>
More information about the git