diff options
| author | Mohit Khanna <mkhannaqca@codeaurora.org> | 2016-10-06 19:58:02 -0700 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2016-10-17 17:27:45 -0700 |
| commit | 306d1dd5bb1f7b225ed069b7c19df3724c59cf7d (patch) | |
| tree | 5d705c64d3358c0932e2bc1bf647ab975e55a268 | |
| parent | 4d710dbfd18f772838323581f76b97827440dfc3 (diff) | |
qcacmn: Fix IRQ affinity Core-ID during NAPI CPU migration
Currently we are using core-id of the core for setting IRQ affinity.
This is incorrect since core-ids can be common across clusters. Use
CPU number instead for setting IRQ affinity.
Change-Id: I71afd23c6a78985df51a694ed21cc6c3a51eedf3
CRs-Fixed: 1077069
| -rw-r--r-- | hif/src/hif_napi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hif/src/hif_napi.c b/hif/src/hif_napi.c index 656515df5ebd..c19e5752725f 100644 --- a/hif/src/hif_napi.c +++ b/hif/src/hif_napi.c @@ -1016,7 +1016,7 @@ int hncm_migrate_to(struct qca_napi_data *napid, NAPI_DEBUG("-->%s(napi_cd=%d, didx=%d)", __func__, napi_ce, didx); - cpumask.bits[0] = (1 << napid->napi_cpu[didx].core_id); + cpumask.bits[0] = (1 << didx); rc = irq_set_affinity_hint(napid->napis[napi_ce].irq, &cpumask); napid->napi_cpu[didx].napis |= (1 << napi_ce); |
