> -----Original Message-----
> From: Min Hu (Connor) <humi...@huawei.com>
> +     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");
> +     }


I think you still have not addressed the David comment on previous version of 
the patch. 
So , can you change this to  something like below

Option1)
rc = pthread_create(&thread, NULL, &send_pkts, NULL);
If ( rc ! = 0 )
{
        rte_panic("Cannot start send pkts thread : %s\n", strerror(rc));
}

Or 

Option2)
If ( pthread_create(&thread, NULL, &send_pkts, NULL) !=0 )
        rte_panic("Cannot start send pkts thread\n");


Also, 

>> test: fix missing check for thread creation
Change this subject line to  "test/pdump: fix missing check for thread creation"

Thanks,
Reshma

Reply via email to