Thank you, and what if the pthread is launched by a secondary DPDK process? Should rte_eth_dev_set_mtu be working ? Because I'm observing a crash.
On Tue, Aug 23, 2022 at 12:22 PM Dmitry Kozlyuk <[email protected]> wrote: > > 2022-08-23 11:25 (UTC+0200), Antonio Di Bacco: > > I have a DPDK process that also creates a normal pthread, is there > > anything wrong to call a DPDK api from this normal pthread? > > Nothing wrong, this is allowed. > > You may be interested in rte_thread_register(), > if you want to consider this thread as an lcore. > Also, rte_socket_id() will return SOCKET_ID_ANY > unless the thread is registered, for example.
