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);
+
> +/* 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;
> +
> +
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/
3 matches
Mail list logo