[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161229104352.3408a10d@xeon-e3>
Date: Thu, 29 Dec 2016 10:43:52 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Paul Blakey <paulb@...lanox.com>
Cc: netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>,
Hadar Hen Zion <hadarh@...lanox.com>,
Or Gerlitz <ogerlitz@...lanox.com>,
Roi Dayan <roid@...lanox.com>
Subject: Re: [PATCH iproute2 net-next] tc: flower: support matching flags
On Wed, 28 Dec 2016 15:06:49 +0200
Paul Blakey <paulb@...lanox.com> 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 <paulb@...lanox.com>
> Signed-off-by: Or Gerlitz <ogerlitz@...lanox.com>
> Reviewed-by: Roi Dayan <roid@...lanox.com>
Applied. Had to manually fixup merge conflicts with other flower changes.
Powered by blists - more mailing lists