]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: mvpp2: cls: Add support for ETHER_FLOW
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Fri, 5 Jul 2019 12:09:13 +0000 (14:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jul 2019 22:50:06 +0000 (15:50 -0700)
commitf406324e500eea5078a78df376e9496d4001b942
tree73a9b16d4347d2f9a3e65bd249ac7cd5daa8d635
parentf4f1ba18195dfb10838b4a221a942a2a7d218ca9
net: mvpp2: cls: Add support for ETHER_FLOW

Users can specify classification actions based on the 'ether' flow type.
In that case, this will apply to all ethernet traffic, superseeding
flows such as 'udp4' or 'tcp6'.

Add support for this flow type in the PPv2 classifier, by mapping the
ETHER_FLOW value to the corresponding entries in the classifier.

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