[ovs-git] [openvswitch/ovs] 8b487c: odp-util: Remove unnecessary TOS ECN bits rewrite ...

GitHub noreply at github.com
Tue May 1 15:31:05 UTC 2018


  Branch: refs/heads/branch-2.8
  Home:   https://github.com/openvswitch/ovs
  Commit: 8b487c76efe596eff0701e31ef01408f37792173
      https://github.com/openvswitch/ovs/commit/8b487c76efe596eff0701e31ef01408f37792173
  Author: Jianbo Liu <jianbol at mellanox.com>
  Date:   2018-05-01 (Tue, 01 May 2018)

  Changed paths:
    M lib/odp-util.c

  Log Message:
  -----------
  odp-util: Remove unnecessary TOS ECN bits rewrite for tunnels

For tunnels, TOS ECN bits are never wildcard for the reason that they
are always inherited. OVS will create a rewrite action if we add rule
to modify other IP headers. But it also adds an extra ECN rewrite for
the action because of this ECN un-wildcarding.

It seems no error because the ECN bits to be changed are same in this
case. But as rule can't be offloaded to hardware, the unnecssary ECN
rewrite should be removed.

Signed-off-by: Jianbo Liu <jianbol at mellanox.com>
Reviewed-by: Paul Blakey <paulb at mellanox.com>
Reviewed-by: Roi Dayan <roid at mellanox.com>
Signed-off-by: Simon Horman <horms at verge.net.au>




More information about the git mailing list