]> git.karo-electronics.de Git - linux-beck.git/commit
net: Add sysfs value to determine queue traffic class
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 28 Oct 2016 15:43:49 +0000 (11:43 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Oct 2016 19:00:47 +0000 (15:00 -0400)
commit8d059b0f6f5b1d3acf829454e1087818ad660058
tree8e6f21ec540692e9417cbc75a0da706a6b8669cc
parent9cf1f6a8c4cbb7836b838b51b3b02ddf32c6c6a0
net: Add sysfs value to determine queue traffic class

Add a sysfs attribute for a Tx queue that allows us to determine the
traffic class for a given queue.  This will allow us to more easily
determine this in the future.  It is needed as XPS will take the traffic
class for a group of queues into account in order to avoid pulling traffic
from one traffic class into another.

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