Skip to content

Commit

Permalink
Merge branch 'master' of github.com:erpc-io/eRPC
Browse files Browse the repository at this point in the history
  • Loading branch information
anujkaliaiitd committed Dec 13, 2022
2 parents dba4001 + 10455b3 commit 1ef5d5f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/transport_impl/dpdk/dpdk_transport.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ DpdkTransport::DpdkTransport(uint16_t sm_udp_port, uint8_t rpc_id,
if (g_dpdk_initialized) {
ERPC_INFO("DPDK transport for Rpc %u skipping DPDK EAL initialization.\n",
rpc_id);
dpdk_proc_type_ = ((rte_eal_process_type() == RTE_PROC_PRIMARY)
? DpdkProcType::kPrimary
: DpdkProcType::kSecondary);
} else {
ERPC_INFO("DPDK transport for Rpc %u initializing DPDK EAL.\n", rpc_id);

Expand Down

0 comments on commit 1ef5d5f

Please sign in to comment.