From b808e922d78daf3113d70567a2265fd0315ec170 Mon Sep 17 00:00:00 2001 From: Satish Pitchikala Date: Tue, 26 Sep 2023 01:17:21 +0530 Subject: [PATCH] setting affinity is failing on ACC. changing it to warning as it is not critical --- clients/p4rt_perf_test/p4rt_perf_main.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clients/p4rt_perf_test/p4rt_perf_main.cc b/clients/p4rt_perf_test/p4rt_perf_main.cc index 531d3cca..4aa510fa 100644 --- a/clients/p4rt_perf_test/p4rt_perf_main.cc +++ b/clients/p4rt_perf_test/p4rt_perf_main.cc @@ -208,8 +208,7 @@ int main(int argc, char* argv[]) { CPU_SET(core_id[index], &cpuset); if ((pthread_setaffinity_np(client_threads[index].native_handle(), sizeof(cpuset), &cpuset))) { - std::cerr << "error: setting affinity" << std::endl; - return INTERNAL_ERR; + std::cout << "setting affinity failed. Moving on" << std::endl; } }