[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <92dd30df-bb75-9d4b-9c2b-aca90e4e77bd@gmail.com>
Date: Tue, 13 Mar 2018 18:05:18 -0700
From: David Ahern <dsahern@...il.com>
To: Simon Horman <simon.horman@...ronome.com>,
Stephen Hemminger <stephen@...workplumber.org>
Cc: Jiri Pirko <jiri@...nulli.us>, Jamal Hadi Salim <jhs@...atatu.com>,
Cong Wang <xiyou.wangcong@...il.com>, netdev@...r.kernel.org,
oss-drivers@...ronome.com,
Pieter Jansen van Vuuren
<pieter.jansenvanvuuren@...ronome.com>
Subject: Re: [PATCH iproute2/net-next] tc: f_flower: Add support for matching
first frag packets
On 3/9/18 2:07 AM, Simon Horman wrote:
> From: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@...ronome.com>
>
> Add matching support for distinguishing between first and later fragmented
> packets.
>
> # tc filter add dev eth0 protocol ip parent ffff: \
> flower indev eth0 \
> ip_flags firstfrag \
> ip_proto udp \
> action mirred egress redirect dev eth1
>
> # tc filter add dev eth0 protocol ip parent ffff: \
> flower indev eth0 \
> ip_flags nofirstfrag \
> ip_proto udp \
> action mirred egress redirect dev eth1
>
> Signed-off-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@...ronome.com>
> Reviewed-by: Jakub Kicinski <jakub.kicinski@...ronome.com>
> Signed-off-by: Simon Horman <simon.horman@...ronome.com>
> ---
> man/man8/tc-flower.8 | 8 ++++++--
> tc/f_flower.c | 1 +
> 2 files changed, 7 insertions(+), 2 deletions(-)
applied to iproute2-next.
Powered by blists - more mailing lists