[ovs-git] [openvswitch/ovs] 0c7013: tc: Make the actions order consistent

GitHub noreply at github.com
Thu Apr 12 09:09:19 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 0c70132cd28800b97672952a1a09e12ffc376300
      https://github.com/openvswitch/ovs/commit/0c70132cd28800b97672952a1a09e12ffc376300
  Author: Chris Mi <chrism at mellanox.com>
  Date:   2018-04-12 (Thu, 12 Apr 2018)

  Changed paths:
    M lib/netdev-tc-offloads.c
    M lib/tc.c
    M lib/tc.h

  Log Message:
  -----------
  tc: Make the actions order consistent

When OVS DP passes the actions to TC library, we save all the
actions in data structure tc_flower and each action type has its
own field in tc_flower. So when TC library passes the actions to
kernel, actually the actions order is lost.

We add an actions array in tc_flower to keep the actions order
in this patch.

Signed-off-by: Chris Mi <chrism at mellanox.com>
Reviewed-by: Paul Blakey <paulb at mellanox.com>
Reviewed-by: Roi Dayan <roid at mellanox.com>
Signed-off-by: Simon Horman <simon.horman at netronome.com>


  Commit: 00a0a011d328dc7a9ef163ab2066abe697bd1490
      https://github.com/openvswitch/ovs/commit/00a0a011d328dc7a9ef163ab2066abe697bd1490
  Author: Chris Mi <chrism at mellanox.com>
  Date:   2018-04-12 (Thu, 12 Apr 2018)

  Changed paths:
    M lib/dpif-netlink.c
    M lib/tc.c

  Log Message:
  -----------
  netdev-tc-offloads: Add offloading of multiple outputs

Currently, we support offloading of one output port. Remove that
limitation by use of mirred mirror action for all output ports,
except that the last one is mirred redirect action.

Signed-off-by: Chris Mi <chrism at mellanox.com>
Reviewed-by: Paul Blakey <paulb at mellanox.com>
Reviewed-by: Roi Dayan <roid at mellanox.com>
Signed-off-by: Simon Horman <simon.horman at netronome.com>


Compare: https://github.com/openvswitch/ovs/compare/9251ccc8cc49...00a0a011d328


More information about the git mailing list