]> 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)
commit0060bd1fbb2c498f22a08f8caef031feeff93c2f
tree18b414bc9795bb4356938bbff7c31debd4cfbd14
parent0789f8fd79ec7a7d5fdef87ee03e4fb79f5c2969
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