]> asedeno.scripts.mit.edu Git - linux.git/commit
net-sysfs: Drop support for XPS and traffic_class on single queue device
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 9 Jul 2018 16:19:32 +0000 (12:19 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 9 Jul 2018 18:33:41 +0000 (11:33 -0700)
commitd7be97756f8a4874ac17003de5843c742dd84153
tree81e2c9b0f5c33f3ad53a1b4153015aae5d3926f0
parentc47078d6a33fd78d882200cdaacbcfcd63318234
net-sysfs: Drop support for XPS and traffic_class on single queue device

This patch makes it so that we do not report the traffic class or allow XPS
configuration on single queue devices. This is mostly to avoid unnecessary
complexity with changes I have planned that will allow us to reuse
the unused tc_to_txq and XPS configuration on a single queue device to
allow it to make use of a subset of queues on an underlying device.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
net/core/net-sysfs.c