Merge branch 'mlxsw-spectrum-Enforce-some-HW-limitations-for-matchall-TC-offload'
authorJakub Kicinski <kuba@kernel.org>
Sat, 9 May 2020 23:03:26 +0000 (16:03 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 9 May 2020 23:03:39 +0000 (16:03 -0700)
Ido Schimmel says:

====================
mlxsw: spectrum: Enforce some HW limitations for matchall TC offload

Jiri says:

There are some limitations for TC matchall classifier offload that are
given by the mlxsw HW dataplane. It is not possible to do sampling on
egress and also the mirror/sample vs. ACL (flower) ordering is fixed. So
check this and forbid to offload incorrect setup.
====================

Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge