net: mvpp2: cls: Report an error for unsupported flow types
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Fri, 5 Jul 2019 12:09:12 +0000 (14:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jul 2019 22:50:06 +0000 (15:50 -0700)
commitf4f1ba18195dfb10838b4a221a942a2a7d218ca9
tree0f73d538e5a239d5c6cce40834c3e1e2a43eb010
parent3f4957eb6cfbdb16b77df4e11691912dcfc7aca7
net: mvpp2: cls: Report an error for unsupported flow types

Add a missing check to detect flow types that we don't support, so that
user can be informed of this.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c