Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 40667033 authored by Ravi Gummadidala's avatar Ravi Gummadidala Committed by Gerrit - the friendly Code Review server
Browse files

msm: ipa: pin rx processing to core 0



This is to avoid out of order packet indications to network
stack on multi-core.

Change-Id: I2bd397b1cb2b3ab49870a55280228565d1dcd77e
Signed-off-by: default avatarRavi Gummadidala <rgummadi@codeaurora.org>
parent ac06b734
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -845,7 +845,7 @@ static void ipa_sps_irq_rx_notify(struct sps_event_notify *notify)
				break;
			}
			atomic_set(&sys->curr_polling_state, 1);
			queue_work(sys->wq, &sys->work);
			queue_work_on(0, sys->wq, &sys->work);
		}
		break;
	default:
@@ -988,7 +988,8 @@ int ipa_setup_sys_pipe(struct ipa_sys_connect_params *sys_in, u32 *clnt_hdl)
		ep->sys->ep = ep;
		snprintf(buff, IPA_RESOURCE_NAME_MAX, "ipawq%d",
				sys_in->client);
		ep->sys->wq = create_singlethread_workqueue(buff);
		ep->sys->wq = alloc_workqueue(buff,
				WQ_MEM_RECLAIM | WQ_CPU_INTENSIVE, 1);
		if (!ep->sys->wq) {
			IPAERR("failed to create wq for client %d\n",
					sys_in->client);