[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJL1qvHyGiPOiRceD2N+SgTih0Bggr-_1_1OtzCFHW8Yu1FR0A@mail.gmail.com>
Date: Mon, 5 Sep 2016 00:45:34 -0600
From: Hadar Hen Zion <hadarh@....mellanox.co.il>
To: "Rosen, Rami" <rami.rosen@...el.com>
CC: Hadar Hen Zion <hadarh@...lanox.com>,
"David S. Miller" <davem@...emloft.net>, <netdev@...r.kernel.org>,
Jiri Pirko <jiri@...lanox.com>, Jiri Benc <jbenc@...hat.com>,
Jamal Hadi Salim <jhs@...atatu.com>,
Shmulik Ladkani <shmulik.ladkani@...il.com>,
Tom Herbert <tom@...bertland.com>,
Eric Dumazet <edumazet@...gle.com>,
Cong Wang <xiyou.wangcong@...il.com>,
Amir Vadai <amirva@...lanox.com>,
Or Gerlitz <ogerlitz@...lanox.com>, Amir Vadai <amir@...ai.me>
Subject: Re: [PATCH net-next V5 4/4] net/sched: Introduce act_tunnel_key
On Sun, Sep 4, 2016 at 9:19 PM, Rosen, Rami <rami.rosen@...el.com> wrote:
> Hi, Hadar,
>
>>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:
>
> Shouldn't it be "tc filter add dev ..."?
yes, I'll fix it to next version.
Thanks,
Hadar
>
>>$ 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
>
> Regards,
> Rami Rosen
> Intel Corporation
>
Powered by blists - more mailing lists