Subject: Re: [PATCH iproute2 net-next] tc: flower: support matching flags

From: Stephen Hemminger <[email-masked]>
Date: Thu, 29 Dec 2016 10:43:52 -0800

On Wed, 28 Dec 2016 15:06:49 +0200
Paul Blakey <[email-masked]> wrote:

> Enhance flower to support matching on flags.
> 
> The 1st flag allows to match on whether the packet is
> an IP fragment.
> 
> Example:
> 
> 	# add a flower filter that will drop fragmented packets
> 	# (bit 0 of control flags)
> 	tc filter add dev ens4f0 protocol ip parent ffff: \
> 		flower \
> 		src_mac e4:1d:2d:fd:8b:01 \
> 		dst_mac e4:1d:2d:fd:8b:02 \
> 		indev ens4f0 \
> 		matching_flags 0x1/0x1 \
> 	action drop
> 
> Signed-off-by: Paul Blakey <[email-masked]>
> Signed-off-by: Or Gerlitz <[email-masked]>
> Reviewed-by: Roi Dayan <[email-masked]>

Applied. Had to manually fixup merge conflicts with other flower changes.