[RFC V2 PATCH 08/25] net/netpolicy: introduce NET policy object

2016-08-04 Thread kan . liang
From: Kan Liang This patch introduces the concept of NET policy object and policy object list. The NET policy object is the instance of CPU/queue mapping. The object can be shared between different tasks/sockets. So besides CPU and queue information, the object also maintains a reference counter

[RFC V2 PATCH 08/25] net/netpolicy: introduce NET policy object

2016-08-04 Thread kan . liang
From: Kan Liang This patch introduces the concept of NET policy object and policy object list. The NET policy object is the instance of CPU/queue mapping. The object can be shared between different tasks/sockets. So besides CPU and queue information, the object also maintains a reference counter