[RFC V2 PATCH 07/25] net/netpolicy: enable and disable NET policy

2016-08-04 Thread kan . liang
From: Kan Liang This patch introduces functions to enable and disable NET policy. For enabling, it collects device and CPU information, setup CPU/queue mapping, and set IRQ affinity accordingly. For disabling, it removes the IRQ affinity and mapping information. np_lock should protect the enab

[RFC V2 PATCH 07/25] net/netpolicy: enable and disable NET policy

2016-08-04 Thread kan . liang
From: Kan Liang This patch introduces functions to enable and disable NET policy. For enabling, it collects device and CPU information, setup CPU/queue mapping, and set IRQ affinity accordingly. For disabling, it removes the IRQ affinity and mapping information. np_lock should protect the enab