[ovs-git] [openvswitch/ovs] 9e74ac: netdev-tc-offloads: Use correct hook qdisc at init...

Simon Horman noreply at github.com
Thu Jun 13 07:05:39 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 9e74acbe4fb35e006068b2ad82b21780ed3183e8
      https://github.com/openvswitch/ovs/commit/9e74acbe4fb35e006068b2ad82b21780ed3183e8
  Author: Raed Salem <raeds at mellanox.com>
  Date:   2019-06-13 (Thu, 13 Jun 2019)

  Changed paths:
    M lib/netdev-offload-tc.c

  Log Message:
  -----------
  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 mailing list