Lines Matching refs:pschedcontext
257 p_cds_sched_context pschedcontext = get_cds_sched_ctxt(); in cds_sched_handle_rx_thread_affinity_req() local
262 if (!pschedcontext || !pschedcontext->ol_rx_thread) in cds_sched_handle_rx_thread_affinity_req()
270 if (pschedcontext->rx_affinity_required == high_throughput) in cds_sched_handle_rx_thread_affinity_req()
273 pschedcontext->rx_affinity_required = high_throughput; in cds_sched_handle_rx_thread_affinity_req()
287 if (pschedcontext->conf_rx_thread_ul_affinity && in cds_sched_handle_rx_thread_affinity_req()
288 (pschedcontext->conf_rx_thread_ul_affinity & in cds_sched_handle_rx_thread_affinity_req()
298 (int)pschedcontext->rx_affinity_required, in cds_sched_handle_rx_thread_affinity_req()
299 &pschedcontext->rx_thread_cpu_mask, in cds_sched_handle_rx_thread_affinity_req()
302 mutex_lock(&pschedcontext->affinity_lock); in cds_sched_handle_rx_thread_affinity_req()
303 if (!cpumask_equal(&pschedcontext->rx_thread_cpu_mask, &new_mask)) { in cds_sched_handle_rx_thread_affinity_req()
304 cpumask_copy(&pschedcontext->rx_thread_cpu_mask, &new_mask); in cds_sched_handle_rx_thread_affinity_req()
305 cds_set_cpus_allowed_ptr_with_mask(pschedcontext->ol_rx_thread, in cds_sched_handle_rx_thread_affinity_req()
308 mutex_unlock(&pschedcontext->affinity_lock); in cds_sched_handle_rx_thread_affinity_req()