Or Gerlitz <ogerl...@mellanox.com> writes:

> Allow to set tos and ttl for the tunnel.
>
> For example, here's encap rule that sets tos to the tunnel:
>
> tc filter add dev eth0_0 protocol ip parent ffff: prio 10 flower \
>    src_mac e4:11:22:33:44:50 dst_mac e4:11:22:33:44:70 \
>    action tunnel_key set src_ip 192.168.10.1 dst_ip 192.168.10.2 id 100 
> dst_port 4789 tos 0x30 \
>    action mirred egress redirect dev vxlan_sys_4789
>
> Signed-off-by: Or Gerlitz <ogerl...@mellanox.com>
> Reviewed-by: Roi Dayan <r...@mellanox.com>
> Acked-by: Jiri Pirko <j...@mellanox.com>

[...]

Or, could you also update tunnel_key actions for the new options in
$(kernel)/tools/testing/selftests/tc-testing/tc-tests/actions/tunnel_key.json
once the patches are accepted ?

Reply via email to