|
@@ -388,35 +388,6 @@ static void cds_cpu_before_offline_cb(void *context, uint32_t cpu)
|
|
|
{
|
|
|
cds_cpu_hotplug_notify(cpu, false);
|
|
|
}
|
|
|
-
|
|
|
-#ifdef RX_PERFORMANCE
|
|
|
-/**
|
|
|
- * cds_set_ol_rx_thread_scheduler - set ol_rx_thread scheduler
|
|
|
- * @psched_context: Pointer to a previously allocated buffer big
|
|
|
- *
|
|
|
- * Return: None
|
|
|
- */
|
|
|
-static void cds_set_ol_rx_thread_scheduler(p_cds_sched_context psched_context)
|
|
|
-{
|
|
|
- struct sched_param param;
|
|
|
-
|
|
|
- if (!psched_context) {
|
|
|
- cds_err("Null params being passed");
|
|
|
- return;
|
|
|
- }
|
|
|
- if (!psched_context->ol_rx_thread) {
|
|
|
- cds_alert("CDS OL RX Thread is NULL");
|
|
|
- return;
|
|
|
- }
|
|
|
- param.sched_priority = 99;
|
|
|
- sched_setscheduler(psched_context->ol_rx_thread, SCHED_RR, ¶m);
|
|
|
-}
|
|
|
-#else
|
|
|
-static void cds_set_ol_rx_thread_scheduler(p_cds_sched_context psched_context)
|
|
|
-{
|
|
|
-}
|
|
|
-#endif /* RX_PERFORMANCE */
|
|
|
-
|
|
|
#endif /* QCA_CONFIG_SMP */
|
|
|
|
|
|
/**
|
|
@@ -485,7 +456,6 @@ QDF_STATUS cds_sched_open(void *p_cds_context,
|
|
|
goto OL_RX_THREAD_START_FAILURE;
|
|
|
|
|
|
}
|
|
|
- cds_set_ol_rx_thread_scheduler(pSchedContext);
|
|
|
wake_up_process(pSchedContext->ol_rx_thread);
|
|
|
cds_debug("CDS OL RX thread Created");
|
|
|
wait_for_completion_interruptible(&pSchedContext->ol_rx_start_event);
|