Re: [dpdk-dev] [PATCH v3 2/2] test: fix missing check for thread creation

2021-04-16 Thread Min Hu (Connor)
在 2021/4/16 16:34, Ferruh Yigit 写道: On 4/16/2021 9:21 AM, Min Hu (Connor) wrote: 在 2021/4/16 1:05, Pattan, Reshma 写道: -Original Message- From: Min Hu (Connor) +    if ((strcmp(env_value, "run_pdump_server_tests") == 0)) { +    rc = pthread_create(&thread, NULL, &send_pkts,

Re: [dpdk-dev] [PATCH v3 2/2] test: fix missing check for thread creation

2021-04-16 Thread Ferruh Yigit
On 4/16/2021 9:21 AM, Min Hu (Connor) wrote: 在 2021/4/16 1:05, Pattan, Reshma 写道: -Original Message- From: Min Hu (Connor) +    if ((strcmp(env_value, "run_pdump_server_tests") == 0)) { +    rc = pthread_create(&thread, NULL, &send_pkts, NULL); +    if (rc != 0) +  

Re: [dpdk-dev] [PATCH v3 2/2] test: fix missing check for thread creation

2021-04-16 Thread Min Hu (Connor)
在 2021/4/16 1:05, Pattan, Reshma 写道: -Original Message- From: Min Hu (Connor) + if ((strcmp(env_value, "run_pdump_server_tests") == 0)) { + rc = pthread_create(&thread, NULL, &send_pkts, NULL); + if (rc != 0) + rte_panic("Cann

Re: [dpdk-dev] [PATCH v3 2/2] test: fix missing check for thread creation

2021-04-15 Thread Pattan, Reshma
> -Original Message- > From: Min Hu (Connor) > + if ((strcmp(env_value, "run_pdump_server_tests") == 0)) { > + rc = pthread_create(&thread, NULL, &send_pkts, NULL); > + if (rc != 0) > + rte_panic("Cannot start send pkts thread\n"); > +