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)
commit02a5043b22ed2f6ea03b8533b47fdaa5853832c9
treeca77ee82cb0304b50de4fdfb0a150212342db3df
parent72ef908bb3ff9261dc38d079ef332c91418f8693
parentaa7431123fc6f36574d9cc23be24dc802bb4cfa5
Merge branch 'mlxsw-spectrum-Enforce-some-HW-limitations-for-matchall-TC-offload'

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>