On Wed, 28 Dec 2016 15:06:49 +0200 Paul Blakey <pa...@mellanox.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 <pa...@mellanox.com> > Signed-off-by: Or Gerlitz <ogerl...@mellanox.com> > Reviewed-by: Roi Dayan <r...@mellanox.com> Applied. Had to manually fixup merge conflicts with other flower changes.