Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 608ff46 ("ovs-tc: offload datapath rules matching on internal ports") Signed-off-by: Raed Salem <raeds@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Acked-by: John Hurley <john.hurley@netronome.com> Signed-off-by: Simon Horman <simon.horman@netronome.com>
- Loading branch information