]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'nfp-MPLS-and-shared-blocks-TC-offload-fixes'
authorDavid S. Miller <davem@davemloft.net>
Wed, 27 Jun 2018 01:46:43 +0000 (10:46 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Jun 2018 01:46:43 +0000 (10:46 +0900)
commit221760f94f471502d9159017d31b7f374944ba28
tree7acb459c25bd26c96252d94755e7d38aed788113
parentd0665d999d01d976cc4787e8c2201e7161b3982e
parenta21975a55d62e383f0398df49135dbf34c15540e
Merge branch 'nfp-MPLS-and-shared-blocks-TC-offload-fixes'

Jakub Kicinski says:

====================
nfp: MPLS and shared blocks TC offload fixes

This series brings two fixes to TC filter/action offload code.
Pieter fixes matching MPLS packets when the match is purely on
the MPLS ethertype and none of the MPLS fields are used.
John provides a fix for offload of shared blocks.  Unfortunately,
with shared blocks there is currently no guarantee that filters
which were added by the core will be removed before block unbind.
Our simple fix is to not support offload of rules on shared blocks
at all, a revert of this fix will be send for -next once the
reoffload infrastructure lands.  The shared blocks became important
as we are trying to use them for bonding offload (managed from user
space) and lack of remove calls leads to resource leaks.

v2:
 - fix build error reported by kbuild bot due to missing
   tcf_block_shared() helper.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>