[ovs-git] [openvswitch/ovs] 1fe429: netdev-offload-tc: Revert tunnel src/dst port mask...
noreply at github.com
Fri Jun 19 06:52:38 UTC 2020
Author: Roi Dayan <roid at mellanox.com>
Date: 2020-06-19 (Fri, 19 Jun 2020)
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