]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mqprio-offload-more-info'
authorDavid S. Miller <davem@davemloft.net>
Wed, 15 Mar 2017 22:20:28 +0000 (15:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Mar 2017 22:20:28 +0000 (15:20 -0700)
commitf7f6c220ae021df167498154c2c7043becd6f7f8
tree449ec9c837c24b8a8ca5b199abe7bad31bfd84f3
parent8f92eba46ba3e75bc4d5ece88b46f89efabefea5
parent8c318e786bfa7f61313df86b630c193eaebbb672
Merge branch 'mqprio-offload-more-info'

Alexander Duyck says:

====================
Add support for passing more information in mqprio offload

This patch series lays the groundwork for future work to allow us to make
full use of the mqprio options when offloading them to hardware.

Currently when we specify the hardware offload for mqprio the queue
configuration is completely ignored and the hardware is only notified of
the total number of traffic classes.  The problem is this leads to multiple
issues, one specific issue being you can pass the queue configuration you
want and it is totally ignored by the hardware.

What I am planning to do is add support for "hw" values in the
configuration greater than 1.  So for example we might have one mode of
mqprio offload that uses 1 and only offloads the TC counts like we
currently do.  Then we might look at adding an option 2 which would factor
in the TCs and the queue count information. This way we can select between
the type of offload we actually want and existing drivers that don't
support this can just fall back to their legacy configuration.
====================

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