Skip to content

Commit d349cdc

Browse files
author
Pavel Siska
committed
NfbPlugin: log warning instead of exiting on NUMA node detection failure
1 parent 6a7baca commit d349cdc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plugins/input/nfb/src/ndpReader.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ int NdpReader::init_interface(const std::string& interface)
7272
numa_set_bind_policy(PREFERRED_NODE_POLICY);
7373
numa_set_preferred(node_id);
7474
} else {
75-
error_msg = "warning - NUMA node detection failed\n";
76-
return 1;
75+
std::cerr << "warning - cannot set NUMA preferred node. Skipping..." << std::endl;
7776
}
77+
7878
if (ndp_queue_start(rx_handle)) { // start capturing data from NDP queue
7979
error_msg = std::string() + "error starting NDP queue on NFB device";
8080
return 1;

0 commit comments

Comments
 (0)