Subject: Re: [PATCH net-next V4 4/4] net/sched: Introduce act_tunnel_key

From: Jiri Pirko <[email-masked]>
Date: Wed, 31 Aug 2016 17:39:33 +0200

Wed, Aug 31, 2016 at 02:46:24PM CEST, [email-masked] wrote:
>From: Amir Vadai <[email-masked]>
>
>This action could be used before redirecting packets to a shared tunnel
>device, or when redirecting packets arriving from a such a device.
>
>The action will release the metadata created by the tunnel device
>(decap), or set the metadata with the specified values for encap
>operation.
>
>For example, the following flower filter will forward all ICMP packets
>destined to 11.11.11.2 through the shared vxlan device 'vxlan0'. Before
>redirecting, a metadata for the vxlan tunnel is created using the
>tunnel_key action and it's arguments:
>
>$ filter add dev net0 protocol ip parent ffff: \
>    flower \
>      ip_proto 1 \
>      dst_ip 11.11.11.2 \
>    action tunnel_key set \
>      src_ip 11.11.0.1 \
>      dst_ip 11.11.0.2 \
>      id 11 \
>    action mirred egress redirect dev vxlan0
>
>Signed-off-by: Amir Vadai <[email-masked]>
>Signed-off-by: Hadar Hen Zion <[email-masked]>

Looks fine to me
Reviewed-by: Jiri Pirko <[email-masked]>