qcacmn: Affine NAPIs based INI CPU mask

Affine NAPI CPUs based CPU mask specified in INI config.

Change-Id: I0bea3389a7565f8ec157d4587a442b5e11c33fb2
CRs-Fixed: 2255756
This commit is contained in:
Manjunathappa Prakash
2018-05-29 19:17:25 -07:00
committed by nshrivas
parent b5a400ee01
commit 617ff247dd
2 changed files with 9 additions and 3 deletions

View File

@@ -239,6 +239,7 @@ struct qca_napi_cpu {
* @state: state variable used in the napi stat machine
* @ce_map: bit map indicating which ce's have napis running
* @exec_map: bit map of instanciated exec contexts
* @user_cpu_affin_map: CPU affinity map from INI config.
* @napi_cpu: cpu info for irq affinty
* @lilcl_head:
* @bigcl_head:
@@ -255,6 +256,7 @@ struct qca_napi_data {
*/
uint32_t ce_map;
uint32_t exec_map;
uint32_t user_cpu_affin_mask;
struct qca_napi_info *napis[CE_COUNT_MAX];
struct qca_napi_cpu napi_cpu[NR_CPUS];
int lilcl_head, bigcl_head;