Re: [dpdk-dev] [PATCH v7 5/9] eal: add function to detect process type

2020-02-05 Thread Pallavi Kadam
On 2/5/2020 12:04 PM, Dmitry Kozlyuk wrote: +/* Detect if we are a primary or a secondary process */ +enum rte_proc_type_t +eal_proc_type_detect(void) +{ [...] + OVERLAPPED sOverlapped = { 0 }; + sOverlapped.Offset = sizeof(*rte_config.mem_config); +

Re: [dpdk-dev] [PATCH v7 5/9] eal: add function to detect process type

2020-02-05 Thread Dmitry Kozlyuk
> +/* Detect if we are a primary or a secondary process */ > +enum rte_proc_type_t > +eal_proc_type_detect(void) > +{ [...] > + OVERLAPPED sOverlapped = { 0 }; > + sOverlapped.Offset = sizeof(*rte_config.mem_config); > + sOverlapped.OffsetHigh = 0; > + > +

[dpdk-dev] [PATCH v7 5/9] eal: add function to detect process type

2020-01-31 Thread Pallavi Kadam
Adding a function to detect process type, also included header files to contain suitable function declarations and to support extra warning flags. Signed-off-by: Pallavi Kadam Signed-off-by: Antara Ganesh Kolar Reviewed-by: Ranjit Menon Reviewed-by: Keith Wiles --- lib/librte_eal/windows/eal/