diff options
author | Roi Dayan <roid@mellanox.com> | 2020-06-16 16:03:57 +0300 |
---|---|---|
committer | Simon Horman <simon.horman@netronome.com> | 2020-06-19 08:51:11 +0200 |
commit | 1fe42975639854bc6cf4784b2554b438301c0b92 (patch) | |
tree | 454462a222756cdf47a1615f9d0f531c75c30d55 /xenserver/LICENSE | |
parent | fecb28051b357c636d7a5fed8ad5bb9add4f5b44 (diff) | |
download | openvswitch-1fe42975639854bc6cf4784b2554b438301c0b92.tar.gz |
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@mellanox.com>
Reviewed-by: Eli Britstein <elibr@mellanox.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Diffstat (limited to 'xenserver/LICENSE')
0 files changed, 0 insertions, 0 deletions