]> git.baikalelectronics.ru Git - kernel.git/commit
net: Refactor removal of queues from XPS map and apply on num_tc changes
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 28 Oct 2016 15:46:49 +0000 (11:46 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Oct 2016 19:00:48 +0000 (15:00 -0400)
commitccf57240c8dff3ef0d6622a0afbc937649a06af7
tree18b414bc9795bb4356938bbff7c31debd4cfbd14
parent40af737ecf60b64de1a5f96bc507878fb4628ae8
net: Refactor removal of queues from XPS map and apply on num_tc changes

This patch updates the code for removing queues from the XPS map and makes
it so that we can apply the code any time we change either the number of
traffic classes or the mapping of a given block of queues.  This way we
avoid having queues pulling traffic from a foreign traffic class.

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