netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next PATCH v2 0/4] Add support for XPS when using DCB
@ 2016-10-28 15:42 Alexander Duyck
  2016-10-28 15:43 ` [net-next PATCH v2 1/4] net: Move functions for configuring traffic classes out of inline headers Alexander Duyck
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Alexander Duyck @ 2016-10-28 15:42 UTC (permalink / raw)
  To: netdev, intel-wired-lan; +Cc: john.r.fastabend, tom, davem

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

---

Alexander Duyck (4):
      net: Move functions for configuring traffic classes out of inline headers
      net: Add sysfs value to determine queue traffic class
      net: Refactor removal of queues from XPS map and apply on num_tc changes
      net: Add support for XPS with QoS via traffic classes


 include/linux/netdevice.h |   36 +------
 net/core/dev.c            |  226 +++++++++++++++++++++++++++++++++++----------
 net/core/net-sysfs.c      |   51 ++++++++--
 3 files changed, 219 insertions(+), 94 deletions(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-10-31 19:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-28 15:42 [net-next PATCH v2 0/4] Add support for XPS when using DCB Alexander Duyck
2016-10-28 15:43 ` [net-next PATCH v2 1/4] net: Move functions for configuring traffic classes out of inline headers Alexander Duyck
2016-10-28 15:43 ` [net-next PATCH v2 2/4] net: Add sysfs value to determine queue traffic class Alexander Duyck
2016-10-28 15:46 ` [net-next PATCH v2 3/4] net: Refactor removal of queues from XPS map and apply on num_tc changes Alexander Duyck
2016-10-28 15:50 ` [net-next PATCH v2 4/4] net: Add support for XPS with QoS via traffic classes Alexander Duyck
2016-10-31 19:01 ` [net-next PATCH v2 0/4] Add support for XPS when using DCB David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).