]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'xps-DCB'
authorDavid S. Miller <davem@davemloft.net>
Mon, 31 Oct 2016 19:00:48 +0000 (15:00 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Oct 2016 19:00:48 +0000 (15:00 -0400)
commit870dd3975ed10f82fc1793efe8b01c8241a36874
tree3782a230047a5a95b2ca92c990cf5dc8a2a32b28
parent709be8ed38eb30885ce968b9949607dc31609f07
parenta9d0e382424331d293f05799a9af98baa5973bb4
Merge branch 'xps-DCB'

Alexander Duyck says:

====================
Add support for XPS when using DCB

This patch series enables proper isolation between traffic classes when
using XPS while DCB is enabled.  Previously enabling XPS would cause the
traffic to be potentially pulled from one traffic class into another on
egress.  This change essentially multiplies the XPS map by the number of
traffic classes and allows us to do a lookup per traffic class for a given
CPU.

To guarantee the isolation I invalidate the XPS map for any queues that are
moved from one traffic class to another, or if we change the number of
traffic classes.

v2: Added sysfs to display traffic class
    Replaced do/while with for loop
    Cleaned up several other for for loops throughout the patch
====================

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