[ovs-git] [openvswitch/ovs] 105e81: lib/tc: Put the tunnel match fields as part of the...

GitHub noreply at github.com
Fri Sep 7 13:05:58 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 105e8179cebf862687f4049c36f831960b6a6367
      https://github.com/openvswitch/ovs/commit/105e8179cebf862687f4049c36f831960b6a6367
  Author: Or Gerlitz <ogerlitz at mellanox.com>
  Date:   2018-09-07 (Fri, 07 Sep 2018)

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

  Log Message:
  -----------
  lib/tc: Put the tunnel match fields as part of the tc/flower key struct

Move the tunnel match fields to be part of the tc/flower key structure.

This is pre-step for being able to apply masked match where needed.

Signed-off-by: Or Gerlitz <ogerlitz at mellanox.com>
Reviewed-by: Roi Dayan <roid at mellanox.com>
Signed-off-by: Simon Horman <simon.horman at netronome.com>


  Commit: 49a7961fca6516866eb46b622bb39776b6cd071f
      https://github.com/openvswitch/ovs/commit/49a7961fca6516866eb46b622bb39776b6cd071f
  Author: Or Gerlitz <ogerlitz at mellanox.com>
  Date:   2018-09-07 (Fri, 07 Sep 2018)

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

  Log Message:
  -----------
  lib/tc: Avoid matching on tunnel ttl or tos if not needed

The tunnel ttl key is not masked when provided to the tc lib, hence we
wrongly attempted to match on it, when we got non zero ttl key with a zero
mask. Fix it by applying the mask. Use the same practice for the tunnel tos.

Fixes: dd83253e117c ('lib/tc: Support matching on ip tunnel tos and ttl')
Signed-off-by: Or Gerlitz <ogerlitz at mellanox.com>
Reported-by: Eli Britstein <elibr 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/70738f0b7815...49a7961fca65
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list