]> git.baikalelectronics.ru Git - kernel.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)
commit40af737ecf60b64de1a5f96bc507878fb4628ae8
tree8e6f21ec540692e9417cbc75a0da706a6b8669cc
parent8f692361b57301688ebde411a891caa4b396b76f
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