[ovs-git] [openvswitch/ovs] 1fe429: netdev-offload-tc: Revert tunnel src/dst port mask...

Roi Dayan noreply at github.com
Fri Jun 19 06:52:38 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 1fe42975639854bc6cf4784b2554b438301c0b92
      https://github.com/openvswitch/ovs/commit/1fe42975639854bc6cf4784b2554b438301c0b92
  Author: Roi Dayan <roid at mellanox.com>
  Date:   2020-06-19 (Fri, 19 Jun 2020)

  Changed paths:
    M NEWS
    M include/openvswitch/match.h
    M lib/match.c
    M lib/netdev-offload-tc.c
    M lib/tc.c
    M tests/tunnel.at

  Log Message:
  -----------
  netdev-offload-tc: Revert tunnel src/dst port masks handling

The cited commit intended to add tc support for masking tunnel src/dst
ips and ports. It's not possible to do tunnel ports masking with
openflow rules and the default mask for tunnel ports set to 0 in
tnl_wc_init(), unlike tunnel ports default mask which is full mask.
So instead of never passing tunnel ports to tc, revert the changes
to tunnel ports to always pass the tunnel port.
In sw classification is done by the kernel, but for hw we must match
the tunnel dst port.

Fixes: 5f568d049130 ("netdev-offload-tc: Allow to match the IP and port mask of tunnel")
Signed-off-by: Roi Dayan <roid at mellanox.com>
Reviewed-by: Eli Britstein <elibr at mellanox.com>
Signed-off-by: Simon Horman <simon.horman at netronome.com>




More information about the git mailing list