Skip to content

Commit

Permalink
CL/DOCA_UROM: disable core pinning in doca worker (#1019)
Browse files Browse the repository at this point in the history
* CL/DOCA_UROM: disable core pinning in doca worker

* REVIEW: address feedback

---------

Co-authored-by: ferrol aderholdt <[email protected]>
  • Loading branch information
wfaderhold21 and ferrol aderholdt authored Oct 30, 2024
1 parent 070eb64 commit 658aa7f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions contrib/doca_urom_ucc_plugin/dpu/worker_ucc.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,6 @@ static doca_error_t urom_worker_ucc_open(struct urom_worker_ctx *ctx)
ucp_worker_params_t worker_params;
struct urom_worker_ucc *ucc_worker;

dpu_thread_set_affinity_specific_core(get_ncores() - 1);

if (ctx == NULL) {
return DOCA_ERROR_INVALID_VALUE;
}
Expand Down Expand Up @@ -995,8 +993,6 @@ static void *urom_worker_ucc_progress_thread(void *arg)
int size;
struct ucc_queue_element *qe;

dpu_thread_set_affinity(thread_id);

while (ucc_component_enabled) {
size = queue_size[thread_id];
for (i = 0; i < size; i++) {
Expand Down

0 comments on commit 658aa7f

Please sign in to comment.