]> git.karo-electronics.de Git - linux-beck.git/commit
net: Add support for XPS with QoS via traffic classes
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 28 Oct 2016 15:50:13 +0000 (11:50 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Oct 2016 19:00:48 +0000 (15:00 -0400)
commit184c449f91fef521042970cca46bd5cdfc0e3a37
tree3782a230047a5a95b2ca92c990cf5dc8a2a32b28
parent6234f87407cb2c02a5828e161225e5a84163dc85
net: Add support for XPS with QoS via traffic classes

This patch adds support for setting and using XPS when QoS via traffic
classes is enabled.  With this change we will factor in the priority and
traffic class mapping of the packet and use that information to correctly
select the queue.

This allows us to define a set of queues for a given traffic class via
mqprio and then configure the XPS mapping for those queues so that the
traffic flows can avoid head-of-line blocking between the individual CPUs
if so desired.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c
net/core/net-sysfs.c