]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-sched-convert-cls-ndo_setup_tc-offload-calls-to-per-block-callbacks'
authorDavid S. Miller <davem@davemloft.net>
Sat, 21 Oct 2017 02:04:09 +0000 (03:04 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Oct 2017 02:04:09 +0000 (03:04 +0100)
commit7c273f8d5ad0f4aebafe561905bcae31acd5e57d
tree789290e101303895a58f172292772fcf9e831cc5
parentf717425acc67d85eb9cabca9beb2acf2c3212e80
parent4af0b47475ed43bfbfa8eb5ffaa59aa0db4acbf2
Merge branch 'net-sched-convert-cls-ndo_setup_tc-offload-calls-to-per-block-callbacks'

Jiri Pirko says:

====================
net: sched: convert cls ndo_setup_tc offload calls to per-block callbacks

This patchset is a bit bigger, but most of the patches are doing the
same changes in multiple classifiers and drivers. I could do some
squashes, but I think it is better split.

This is another dependency on the way to shared block implementation.
The goal is to remove use of tp->q in classifiers code.

Also, this provides drivers possibility to track binding of blocks to
qdiscs. Legacy drivers which do not support shared block offloading.
register one callback per binding. That maintains the current
functionality we have with ndo_setup_tc. Drivers which support block
sharing offload register one callback per block which safes overhead.

Patches 1-4 introduce the binding notifications and per-block callbacks
Patches 5-8 add block callbacks calls to classifiers
Patches 9-17 do convert from ndo_setup_tc calls to block callbacks for
             classifier offloads in drivers
Patches 18-20 do cleanup

v1->v2:
- patch1:
  - move new enum value to the end
====================

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