netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next PATCH 0/3] Add support for XPS when using DCB
@ 2016-10-27 15:39 Alexander Duyck
  2016-10-27 15:40 ` [net-next PATCH 1/3] net: Move functions for configuring traffic classes out of inline headers Alexander Duyck
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Alexander Duyck @ 2016-10-27 15:39 UTC (permalink / raw)
  To: netdev; +Cc: john.r.fastabend, tom, intel-wired-lan, 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.

---

Alexander Duyck (3):
      net: Move functions for configuring traffic classes out of inline headers
      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            |  228 +++++++++++++++++++++++++++++++++++----------
 net/core/net-sysfs.c      |   31 ++++--
 3 files changed, 202 insertions(+), 93 deletions(-)

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

end of thread, other threads:[~2016-10-28 15:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-27 15:39 [net-next PATCH 0/3] Add support for XPS when using DCB Alexander Duyck
2016-10-27 15:40 ` [net-next PATCH 1/3] net: Move functions for configuring traffic classes out of inline headers Alexander Duyck
2016-10-27 15:40 ` [net-next PATCH 2/3] net: Refactor removal of queues from XPS map and apply on num_tc changes Alexander Duyck
2016-10-28  2:35   ` Tom Herbert
2016-10-28 14:54     ` [Intel-wired-lan] " Alexander Duyck
2016-10-27 15:40 ` [net-next PATCH 3/3] net: Add support for XPS with QoS via traffic classes Alexander Duyck
2016-10-28  2:38   ` Tom Herbert
2016-10-28 14:58     ` [Intel-wired-lan] " Alexander Duyck
2016-10-28 15:49       ` John Fastabend

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).