[RFC V2 PATCH 05/25] net/netpolicy: create CPU and queue mapping

2016-08-04 Thread kan . liang
From: Kan Liang Current implementation forces CPU and queue 1:1 mapping. This patch introduces the function netpolicy_update_sys_map to create this mapping. The result is stored in netpolicy_sys_info. If the CPU count and queue count are different, the remaining CPUs/queues are not used for now.

[RFC V2 PATCH 05/25] net/netpolicy: create CPU and queue mapping

2016-08-04 Thread kan . liang
From: Kan Liang Current implementation forces CPU and queue 1:1 mapping. This patch introduces the function netpolicy_update_sys_map to create this mapping. The result is stored in netpolicy_sys_info. If the CPU count and queue count are different, the remaining CPUs/queues are not used for now.