summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorTonghao Zhang <xiangxia.m.yue@gmail.com>2020-06-02 21:50:24 +0800
committerSimon Horman <simon.horman@netronome.com>2020-06-03 09:56:07 +0200
commit5f568d049130fb481e41fdf9a290b6d1e3a7f23a (patch)
treeecb70b16e656f96ee50c7152af60eff1ec97ec92 /NEWS
parent4f4be08e4713941285ecb71555c9a64c46cdb8ae (diff)
downloadopenvswitch-5f568d049130fb481e41fdf9a290b6d1e3a7f23a.tar.gz
netdev-offload-tc: Allow to match the IP and port mask of tunnel
This patch allows users to offload the TC flower rules with tunnel mask. This patch allows masked match of the following, where previously supported an exact match was supported: * Remote (dst) tunnel endpoint address * Local (src) tunnel endpoint address * Remote (dst) tunnel endpoint UDP port And also allows masked match of the following, where previously no match was supported: * Local (src) tunnel endpoint UDP port In some case, mask is useful as wildcards. For example, DDOS, in that case, we don’t want to allow specified hosts IPs or only source Ports to access the targeted host. For example: $ ovs-appctl dpctl/add-flow "tunnel(dst=2.2.2.100,src=2.2.2.0/255.255.255.0,tp_dst=4789),\ recirc_id(0),in_port(3),eth(),eth_type(0x0800),ipv4()" "" $ tc filter show dev vxlan_sys_4789 ingress ... eth_type ipv4 enc_dst_ip 2.2.2.100 enc_src_ip 2.2.2.0/24 enc_dst_port 4789 enc_ttl 64 in_hw in_hw_count 2 action order 1: gact action drop ... Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com> Acked-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Simon Horman <simon.horman@netronome.com>
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 3dbd8ec0e..88b273a0a 100644
--- a/NEWS
+++ b/NEWS
@@ -16,6 +16,11 @@ Post-v2.13.0
by enabling interrupt mode.
- Userspace datapath:
* Add support for conntrack zone-based timeout policy.
+ - Tunnels: TC Flower offload
+ * Tunnel Local endpoint address masked match are supported.
+ * Tunnel Romte endpoint address masked match are supported.
+ * Tunnel Local endpoint ports masked match are supported.
+ * Tunnel Romte endpoint ports masked match are supported.
v2.13.0 - 14 Feb 2020