[dpdk-kmods v2] windows/netuio: fix BAR parsing

2022-08-11 Thread Pallavi Kadam
Liu Suggested-by: Dmitry Kozlyuk Signed-off-by: Dmitry Kozlyuk Tested-by: Pallavi Kadam --- windows/netuio/netuio_dev.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/windows/netuio/netuio_dev.c b/windows/netuio/netuio_dev.c index b2deb10..073fac8 100644

[dpdk-kmods] windows/netuio: fix bar parsing

2022-08-02 Thread Pallavi Kadam
For certain PCIe devices, BAR values are not continuous. This patch maps all the BARs and avoids skipping the next BAR addresses. Fixes: e28aabd88279 ("windows/netuio: introduce NetUIO kernel driver") Cc: navas...@microsoft.com Signed-off-by: Qiao Liu Signed-off-by: Pallavi Kadam --

[PATCH] eal/windows: set pthread affinity

2022-01-20 Thread Pallavi Kadam
Sometimes OS tries to switch the core. So, bind the lcore thread to a fixed core. Implement affinity call on Windows similar to Linux. Signed-off-by: Qiao Liu Signed-off-by: Pallavi Kadam --- lib/eal/windows/eal.c | 4 1 file changed, 4 insertions(+) diff --git a/lib/eal/windows/eal.c b

[dpdk-dev] [PATCH] bus/pci: fix unknown NUMA node value on Windows

2021-09-27 Thread Pallavi Kadam
eported-by: Vipin Varghese Signed-off-by: Pallavi Kadam --- drivers/bus/pci/windows/pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/bus/pci/windows/pci.c b/drivers/bus/pci/windows/pci.c index 343ef6f33b..644c452c76 100644 --- a/drivers/bus/pci/windows/pci.c +++ b/d

[dpdk-dev] [PATCH] bus/pci: fix numa node return value

2021-09-22 Thread Pallavi Kadam
;) Cc: tal...@nvidia.com Cc: sta...@dpdk.org Reported-by: Vipin Varghese Signed-off-by: Pallavi Kadam --- drivers/bus/pci/windows/pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/bus/pci/windows/pci.c b/drivers/bus/pci/windows/pci.c index d39a7748b8..343ef6f33b 100644 ---

[dpdk-dev] [PATCH] windows/netuio: add Intel Virtual Function device IDs

2021-09-14 Thread Pallavi Kadam
Add Intel Ethernet Virtual Function device IDs to netuio inf file to support Intel 40GbE and 100GbE deives on Windows VM. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- windows/netuio/netuio.inf | 12 1 file changed, 12 insertions(+) diff --git a/windows/netuio

[dpdk-dev] [PATCH v3 3/3] doc: update iavf PMD and 21.11 release notes

2021-09-09 Thread Pallavi Kadam
Add documentation to support iavf PMD on Windows. Update the release notes for the same. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- doc/guides/nics/intel_vf.rst | 18 ++ doc/guides/rel_notes/release_21_11.rst | 4 2 files changed, 22 insertions

[dpdk-dev] [PATCH v3 2/3] lib/net: fix support of random

2021-09-09 Thread Pallavi Kadam
IAVF PMD needs to generate a random MAC address if it is not configured by host. 'random' is now supported on Windows. Fixes: 16f0d03098cb ("net: build on Windows") Cc: f...@mellanox.com Cc: sta...@dpdk.org Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- lib

[dpdk-dev] [PATCH v3 1/3] net/iavf: build on Windows

2021-09-09 Thread Pallavi Kadam
r: invalid register for .seh_savexmm Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- drivers/net/iavf/iavf.h | 3 ++- drivers/net/iavf/iavf_rxtx_vec_avx2.c | 2 +- drivers/net/iavf/iavf_rxtx_vec_avx512.c | 2 +- drivers/net/iavf/iavf_tm.c | 2 +- driver

[dpdk-dev] [PATCH v3 0/3] Support iavf PMD on Windows

2021-09-09 Thread Pallavi Kadam
- Fix for 'random' Pallavi Kadam (3): net/iavf: build on Windows lib/net: fix support of random doc: update iavf PMD and 21.11 release notes doc/guides/nics/intel_vf.rst| 18 ++ doc/guides/rel_notes/release_21_11.rst | 4 drivers/net/iavf/iavf.h

[dpdk-dev] [PATCH v2 3/3] doc: update iavf PMD and 21.11 release notes

2021-09-09 Thread Pallavi Kadam
Add documentation to support iavf PMD on Windows. Update the release notes for the same. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- doc/guides/nics/intel_vf.rst | 17 + doc/guides/rel_notes/release_21_11.rst | 4 2 files changed, 21 insertions

[dpdk-dev] [PATCH v2 2/3] lib/net: fix support of random

2021-09-09 Thread Pallavi Kadam
IAVF PMD needs to generate a random MAC address if it is not configured by host. 'random' is now supported on Windows. Fixes: 16f0d03098cb ("net: build on Windows") Cc: f...@mellanox.com Cc: sta...@dpdk.org Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- lib

[dpdk-dev] [PATCH v2 0/3] Support iavf PMD on Windows

2021-09-09 Thread Pallavi Kadam
This patch-set enables building the iavf PMD on Windows. Currently, it uses alarm functions so, depends on following series. Depends-on: series-18447 ("net/iavf: enable interrupt polling") v2 changes: - rebase for 21.11 - Fix for 'random' Pallavi Kadam (3):

[dpdk-dev] [PATCH v2 1/3] net/iavf: build on Windows

2021-09-09 Thread Pallavi Kadam
r: invalid register for .seh_savexmm Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- drivers/net/iavf/iavf.h | 3 ++- drivers/net/iavf/iavf_rxtx_vec_avx2.c | 2 +- drivers/net/iavf/iavf_rxtx_vec_avx512.c | 2 +- drivers/net/iavf/iavf_tm.c | 2 +- driver

[dpdk-dev] [PATCH] net/iavf: enable on Windows

2021-05-28 Thread Pallavi Kadam
uild error: Error: invalid register for .seh_savexmm - Update release notes Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- doc/guides/rel_notes/release_21_08.rst | 4 drivers/net/iavf/iavf.h | 3 ++- drivers/net/iavf/iavf_rxtx_vec_avx2.c | 2 +- driver

[dpdk-dev] [PATCH] dpdk-kmods/windows: Add Intel 100GbE Ethernet adapter device IDs to netuio INF

2021-04-21 Thread Pallavi Kadam
Add Intel 100GbE Ethernet adapter device IDs to netuio inf file in order to enable them on Windows. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- windows/netuio/netuio.inf | 12 1 file changed, 12 insertions(+) diff --git a/windows/netuio/netuio.inf b/windows/netuio

[dpdk-dev] [PATCH v3 1/3] build: enable iavf base code to build on windows

2021-04-01 Thread Pallavi Kadam
Enable IAVF driver to build on Windows as it is required to build ice PMD. Disable all other drivers from common directory. This patch also includes fix for a macro redefinition warning in the IAVF driver. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon Acked-by: Jie Zhou --- drivers

[dpdk-dev] [PATCH v3 0/3] Support ice PMD on Windows

2021-04-01 Thread Pallavi Kadam
no-asynchronous-unwind-tables' to base driver - Updated doc patch with the DDP documentation and integrated it with the respective code commit Pallavi Kadam (3): build: enable iavf base code to build on windows net/ice: build on Windows net/ice: disable ice DDP package on Windows

[dpdk-dev] [PATCH v3 2/3] net/ice: build on Windows

2021-04-01 Thread Pallavi Kadam
been deprecated on Windows. - Add extra cflags '-fno-asynchronous-unwind-tables' to avoid MinGW build error: Error: invalid register for .seh_savexmm - Add documentation to support ice PMD on Windows. Update the release notes and features list for the same. Signed-off-by: Pal

[dpdk-dev] [PATCH v3 3/3] net/ice: disable ice DDP package on Windows

2021-04-01 Thread Pallavi Kadam
Disable loading of external DDP package as it is not supported on Windows. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon Acked-by: Jie Zhou --- doc/guides/nics/ice.rst | 5 + drivers/net/ice/ice_ethdev.c | 6 ++ 2 files changed, 11 insertions(+) diff --git a/doc/guides

[dpdk-dev] [PATCH v2 0/3] Support ice PMD on Windows

2021-03-10 Thread Pallavi Kadam
egrated it with the respective code commit Depends-on: series-15230 ("bus/pci: fix probing for non-netuio bound devices") Pallavi Kadam (3): build: enable iavf base code to build on windows net/ice: build on Windows net/ice: disable ice DDP package on Windows doc/guides/n

[dpdk-dev] [PATCH v2 2/3] net/ice: build on Windows

2021-03-10 Thread Pallavi Kadam
deprecated on Windows. - Add extra cflags '-fno-asynchronous-unwind-tables' to avoid MinGW build error: Error: invalid register for .seh_savexmm - Add documentation to support ice PMD on Windows. Update the release notes and features list for the same. Signed-off-by: Pallavi Kadam

[dpdk-dev] [PATCH v2 1/3] build: enable iavf base code to build on windows

2021-03-10 Thread Pallavi Kadam
Enable IAVF driver to build on Windows as it is required to build ice PMD. Disable all other drivers from common directory. This patch also includes fix for a macro redefinition warning in the IAVF driver. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- drivers/common/cpt

[dpdk-dev] [PATCH v2 3/3] net/ice: disable ice DDP package on Windows

2021-03-10 Thread Pallavi Kadam
Disable loading of external DDP package as it is not supported on Windows. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- drivers/net/ice/ice_ethdev.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c index

[dpdk-dev] [PATCH 4/4] doc: update ice PMD and 21.05 release notes

2021-03-03 Thread Pallavi Kadam
Add documentation to support ice PMD on Windows. Update the release notes and features list for the same. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- doc/guides/nics/features/ice.ini | 1 + doc/guides/nics/ice.rst| 16 ++-- doc/guides/rel_notes

[dpdk-dev] [PATCH 3/4] net/ice: disable ice DDP package on Windows

2021-03-03 Thread Pallavi Kadam
Disable loading of private DDP packages in ice PMD on Windows. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- drivers/net/ice/ice_ethdev.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c index d22bc92ff

[dpdk-dev] [PATCH 2/4] net/ice: build on Windows

2021-03-03 Thread Pallavi Kadam
on Windows. Add extra cflags '-fno-asynchronous-unwind-tables' to avoid MinGW build error: Error: invalid register for .seh_savexmm Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- drivers/net/ice/base/ice_flow.c | 2 +- drivers/net/ice/base/ice_flow.h

[dpdk-dev] [PATCH 1/4] build: enable iavf driver on Windows

2021-03-03 Thread Pallavi Kadam
Enable IAVF driver to build on Windows as it is required to build ice PMD. Disable all other drivers from common directory. This patch also includes fix for a macro redefinition warning in the IAVF driver. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- drivers/common/cpt

[dpdk-dev] [PATCH 0/4] Support ice PMD on Windows

2021-03-03 Thread Pallavi Kadam
This patch-set enables building the Intel ice PMD on Windows. Depends-on: series-15230 ("bus/pci: fix probing for non-netuio bound devices") Pallavi Kadam (4): build: enable iavf driver on Windows net/ice: build on Windows net/ice: disable ice DDP package on Windows doc: upda

[dpdk-dev] [PATCH v2] bus/pci: fix probing for non-netuio bound devices

2021-02-10 Thread Pallavi Kadam
Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- drivers/bus/pci/windows/pci.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/drivers/bus/pci/windows/pci.c b/drivers/bus/pci/windows/pci.c index f66258452..00e7849b0 100644 --- a/drivers/bus/pci/windows

[dpdk-dev] [PATCH] bus/pci: fix probing for non-netuio bound devices

2021-02-09 Thread Pallavi Kadam
Implement rte_pci_map_device() to distinguish between the devices bound to netuio and NDIS devices. Only return success for the netuio devices. Suggested-by: Dmitry Kozlyuk Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- drivers/bus/pci/windows/pci.c | 15 +++ 1 file

[dpdk-dev] [PATCH v3] doc: update i40e PMD to support on windows

2021-02-02 Thread Pallavi Kadam
the name UIO with NetUIO Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- doc/guides/nics/features/i40e.ini | 1 + doc/guides/nics/i40e.rst | 16 ++-- doc/guides/rel_notes/release_21_02.rst | 4 3 files changed, 19 insertions(+), 2 deletions(-) diff

[dpdk-dev] [PATCH] dpdk-kmods/windows: Add Intel 40GbE Ethernet adapter device IDs to netuio INF

2021-02-01 Thread Pallavi Kadam
Add Intel 40GbE Ethernet adapter device IDs to netuio inf file in order to enable them on Windows. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- windows/netuio/netuio.inf | 28 1 file changed, 28 insertions(+) diff --git a/windows/netuio/netuio.inf b

[dpdk-dev] [PATCH v2] doc: update i40e PMD to support on windows

2021-01-26 Thread Pallavi Kadam
Add documentation to support i40e PMD on Windows. Update the release notes and features list for the same. v2 changes: - updated doc/guides/nics/features/i40e.ini file - Replaced the name UIO with NetUIO Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- doc/guides

[dpdk-dev] [PATCH] doc: update i40e PMD to support on windows

2021-01-21 Thread Pallavi Kadam
Add documentation to support i40e PMD on Windows. Update the release notes for the same. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- doc/guides/nics/i40e.rst | 16 ++-- doc/guides/rel_notes/release_21_02.rst | 4 2 files changed, 18 insertions

[dpdk-dev] [PATCH v3 1/2] eal: add rte_random.c file on windows

2020-12-21 Thread Pallavi Kadam
ntrin.h:50:1: note: previous definition is here _m_prefetchw(void *__P) ^ 1 error generated. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- lib/librte_eal/common/meson.build| 1 + lib/librte_eal/rte_eal_exports.def | 1 + lib/librte_eal/windows/include/rte_win

[dpdk-dev] [PATCH v3 2/2] build: i40e PMD on Windows

2020-12-21 Thread Pallavi Kadam
mlx5 PMD patches are merged. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- drivers/net/af_xdp/meson.build| 6 ++ drivers/net/ark/meson.build | 6 ++ drivers/net/atlantic/meson.build | 6 ++ drivers/net/bnx2x/meson.build | 6

[dpdk-dev] [PATCH v3 0/2] Support i40e PMD on Windows

2020-12-21 Thread Pallavi Kadam
id forward references warning (Naty) Pallavi Kadam (2): eal: add rte_random.c file on windows build: i40e PMD on Windows drivers/net/af_xdp/meson.build | 6 ++ drivers/net/ark/meson.build | 6 ++ drivers/net/atlantic/meson.build

[dpdk-dev] [PATCH v2 2/2] build: i40e PMD on Windows

2020-12-17 Thread Pallavi Kadam
mlx5 PMD patches are merged. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- drivers/net/af_xdp/meson.build| 6 ++ drivers/net/ark/meson.build | 6 ++ drivers/net/atlantic/meson.build | 6 ++ drivers/net/bnx2x/meson.build | 6

[dpdk-dev] [PATCH v2 1/2] eal: add rte_random.c file on windows

2020-12-17 Thread Pallavi Kadam
ntrin.h:50:1: note: previous definition is here _m_prefetchw(void *__P) ^ 1 error generated. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- lib/librte_eal/common/meson.build| 1 + lib/librte_eal/rte_eal_exports.def | 1 + lib/librte_eal/windows/include/rte_win

[dpdk-dev] [PATCH v2 0/2] Support i40e PMD on Windows

2020-12-17 Thread Pallavi Kadam
ivers that do not support on Windows and enable as required (Thomas and Bruce) - added #include "i40e_status.h" for enum definition to avoid forward references warning (Naty) Pallavi Kadam (2): eal: add rte_random.c file on windows build: i40e PMD on W

[dpdk-dev] [PATCH v2] eal/windows: add interrupt functions stub

2020-12-14 Thread Pallavi Kadam
Add some missing interrupt implementations on Windows. Also add respective functions to export file. Signed-off-by: Tal Shnaiderman Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon Acked-by: Narcisa Vasile v2 changes: Add remaining interrupt APIs (Dmitry Kozlyuk) --- lib

[dpdk-dev] [PATCH] eal/windows: add interrupt functions stub

2020-12-10 Thread Pallavi Kadam
Add some missing interrupt implementations on Windows. Also add respestive functions to export file. Signed-off-by: Tal Shnaiderman Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- lib/librte_eal/rte_eal_exports.def | 11 lib/librte_eal/windows/eal_interrupts.c | 76

[dpdk-dev] [PATCH 1/3] eal/windows: add some interrupt functions stub

2020-12-04 Thread Pallavi Kadam
Adding some interrupt implementations on Windows to help compile i40e PMD code. Also added respective functions to export file. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- lib/librte_eal/rte_eal_exports.def | 10 lib/librte_eal/windows/eal_interrupts.c | 70

[dpdk-dev] [PATCH 2/3] net/i40e: add changes to support i40e PMD on windows

2020-12-04 Thread Pallavi Kadam
Adding build changes to compile i40e PMD on windows. Disabling few warnings with Clang such as comparison of integers of different signs and macro redefinitions. Also, adding linking dependency source file rte_random.c file to Windows. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon

[dpdk-dev] [PATCH 3/3] config/build: ignore enum forward reference warning

2020-12-04 Thread Pallavi Kadam
-reference compiler flag to disable the warning on Windows Clang. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- config/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/meson.build b/config/meson.build index c02802c18..6736023fa 100644 --- a/config/meson.build ++

[dpdk-dev] [PATCH 0/3] Support i40e PMD on Windows

2020-12-04 Thread Pallavi Kadam
This patch-set enables building the Intel i40e PMD on Windows. It also adds a compiler flag to ignore a few warnings generated when compiling the code on Windows. Pallavi Kadam (3): eal/windows: add some interrupt functions stub net/i40e: add changes to support i40e PMD on windows config

[dpdk-dev] [PATCH v2] eal: enable windows apps to run on non-admin users

2020-10-26 Thread Pallavi Kadam
directory. Suggested-by: Dmitry Kozlyuk Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- lib/librte_eal/windows/eal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal/windows/eal.c b/lib/librte_eal/windows/eal.c index 6334aca03..105549de1 100644 --- a/lib/librte_eal

[dpdk-dev] [PATCH] eal: create a runtime directory on windows

2020-10-21 Thread Pallavi Kadam
not admin, the application will fail. Signed-off-by: Ranjit Menon Signed-off-by: Pallavi Kadam --- lib/librte_eal/windows/eal.c | 57 1 file changed, 57 insertions(+) diff --git a/lib/librte_eal/windows/eal.c b/lib/librte_eal/windows/eal.c index 6334aca03

[dpdk-dev] [PATCH v7] bus/pci: netuio interface for windows

2020-10-08 Thread Pallavi Kadam
ded a single function call to scan all the devices Signed-off-by: John Alexander Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- drivers/bus/pci/meson.build | 3 +- drivers/bus/pci/windows/pci.c| 73 +++ drivers/bus/pci/windows/pci_netuio.c | 182 ++

[dpdk-dev] [PATCH v6] bus/pci: netuio interface for windows

2020-10-06 Thread Pallavi Kadam
not used v3 changes: Removed the casts v2 changes: - Moved all netuio specific definitions and functions to pci_netuio.c and pci_netuio.h files - Added a single function call to scan all the devices Signed-off-by: John Alexander Signed-off-by: Pallavi Kada

[dpdk-dev] [PATCH v5] bus/pci: netuio interface for windows

2020-09-24 Thread Pallavi Kadam
Removed 'reserved' member as it is not used v3 changes: Removed the casts v2 changes: - Moved all netuio specific definitions and functions to pci_netuio.c and pci_netuio.h files - Added a single function call to scan all the devices Signed-of

[dpdk-dev] [PATCH v4] bus/pci: netuio interface for windows

2020-09-21 Thread Pallavi Kadam
v3 changes: Removed the casts v2 changes: - Moved all netuio specific definitions and functions to pci_netuio.c and pci_netuio.h files - Added a single function call to scan all the devices Signed-off-by: John Alexander Signed-off-by: Pallavi Kadam Reviewed-

[dpdk-dev] [PATCH v3] bus/pci: netuio interface for windows

2020-09-21 Thread Pallavi Kadam
io specific definitions and functions to pci_netuio.c and pci_netuio.h files - Added a single function call to scan all the devices Signed-off-by: John Alexander Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- drivers/bus/pci/meson.build | 3 +- dr

[dpdk-dev] [PATCH v2] bus/pci: netuio interface for windows

2020-09-15 Thread Pallavi Kadam
pci_netuio.c and pci_netuio.h files - Added a single function call to scan all the devices Signed-off-by: John Alexander Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- drivers/bus/pci/meson.build | 3 +- drivers/bus/pci/windows/pci.c| 51 ++-

[dpdk-dev] [PATCH] bus/pci: netuio interface for windows

2020-09-10 Thread Pallavi Kadam
tions and structures have been copied from netuio_interface.h file from ("[v3] windows/netuio: add Windows NetUIO kernel driver") series and this will be fixed once the exact path for netuio source code is known. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon

[dpdk-dev] [PATCH v4] eal: fix warnings on Windows

2020-06-11 Thread Pallavi Kadam
Fixed MinGW warnings v2 changes: Excluded dirent.h file on Windows temporarily. (This file will stay on Windows for later use) Signed-off-by: Ranjit Menon Signed-off-by: Pallavi Kadam --- lib/librte_eal/common/eal_common_options.c | 8 +++- lib/librte_eal/win

[dpdk-dev] [PATCH v3 2/2] build: treat warning as an error on Windows

2020-05-28 Thread Pallavi Kadam
Added -Werror in meson file to consider all the warnings as errors on Windows. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- config/meson.build | 4 1 file changed, 4 insertions(+) diff --git a/config/meson.build b/config/meson.build index 43ab11310..c3c1c0c4e 100644 --- a

[dpdk-dev] [PATCH v3 0/2] Fix Windows compiler warnings

2020-05-28 Thread Pallavi Kadam
dirent.h file on Windows temporarily. (This file will stay on Windows for later use) Pallavi Kadam (2): eal: fix warnings on Windows build: treat warning as an error on Windows config/meson.build | 4 lib/librte_eal/common/eal_common_options.c | 8

[dpdk-dev] [PATCH v3 1/2] eal: fix warnings on Windows

2020-05-28 Thread Pallavi Kadam
generated using Mingw: [-Werror=old-style-definition], [-Werror=cast-function-type] and [-Werror=attributes] Signed-off-by: Ranjit Menon Signed-off-by: Pallavi Kadam Tested-by: Pallavi Kadam --- lib/librte_eal/common/eal_common_options.c | 8 +++- lib/librte_eal/windows/eal.c | 2

[dpdk-dev] [PATCH v2] eal: fix warnings on Windows

2020-05-14 Thread Pallavi Kadam
. (This file will stay on Windows for later use) Signed-off-by: Ranjit Menon Signed-off-by: Pallavi Kadam Tested-by: Pallavi Kadam --- lib/librte_eal/common/eal_common_options.c | 8 +++- lib/librte_eal/windows/getopt.c| 4 ++-- 2 files changed, 9 insertions(+), 3 deletions

[dpdk-dev] [PATCH] eal: fix warnings on Windows

2020-05-13 Thread Pallavi Kadam
This patch fixes bunch of warnings when compiling on Windows such as the use of an unsafe string function (strerror), [-Wunused-const-variable] in getopt.c and [-Wunused-variable], [-Wunused-function] in eal_common_options.c Signed-off-by: Ranjit Menon Signed-off-by: Pallavi Kadam Tested-by

[dpdk-dev] [PATCH v2 2/2] eal: add log support on Windows

2020-05-05 Thread Pallavi Kadam
Initialize logging on Windows to send log output to the console. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon Reviewed-by: Tasnim Bashar Tested-by: Dmitry Kozlyuk --- lib/librte_eal/windows/eal.c | 3 +++ lib/librte_eal/windows/eal_log.c | 16 lib

[dpdk-dev] [PATCH v2 1/2] eal: add fnmatch implementation

2020-05-05 Thread Pallavi Kadam
Fnmatch implementation is required on Windows to support log level arguments specified with a globbing pattern. The source file is with BSD-3-Clause license. https://github.com/lattera/freebsd/blob/master/usr.bin/csup/fnmatch.c Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon Reviewed-by

[dpdk-dev] [PATCH v2 0/2] Windows logging

2020-05-05 Thread Pallavi Kadam
This patchset adds EAL logging support on Windows. Logs will be sent to console output. v2 Changes: Introduced Fnmatch implementation first Added logging support in the second patch Pallavi Kadam (2): eal: add fnmatch implementation eal: add log support on Windows lib

[dpdk-dev] [PATCH 2/2] eal: add fnmatch implementation on Windows

2020-04-29 Thread Pallavi Kadam
Added fnmatch implementation on Windows to support log level arguments. The source file is with BSD-3-Clause license. https://github.com/lattera/freebsd/blob/master/usr.bin/csup/fnmatch.c Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon Reviewed-by: Tasnim Bashar Tested-by: Dmitry

[dpdk-dev] [PATCH 0/2] Windows logging

2020-04-29 Thread Pallavi Kadam
This patchset adds EAL logging support on Windows. Logs will be sent to console output. Pallavi Kadam (2): eal: initialize eal logging on Windows eal: add fnmatch implementation on Windows lib/librte_eal/windows/eal.c | 3 + lib/librte_eal/windows/eal_log.c | 16

[dpdk-dev] [PATCH 1/2] eal: initialize eal logging on Windows

2020-04-29 Thread Pallavi Kadam
Add logging function on Windows to send log output to the console. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon Reviewed-by: Tasnim Bashar Tested-by: Dmitry Kozlyuk --- lib/librte_eal/windows/eal.c | 3 +++ lib/librte_eal/windows/eal_log.c | 16 lib

[dpdk-dev] [PATCH 2/2] build: add module definitions and pci lib support

2020-03-16 Thread Pallavi Kadam
Added mman functions to eal exports list. Added librte_pci support for Windows. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- lib/librte_eal/rte_eal_exports.def | 2 ++ lib/meson.build| 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib

[dpdk-dev] [PATCH 1/2] eal: mman implementation for windows

2020-03-16 Thread Pallavi Kadam
Adding sys/mman.h and mman.c on Windows for supporting common code. This implementation has MIT licensing. https://github.com/witwall/mman-win32 Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- lib/librte_eal/windows/eal/include/sys/mman.h | 84 lib/librte_eal/windows/eal

[dpdk-dev] [PATCH 0/2] Support librte_pci on Windows

2020-03-16 Thread Pallavi Kadam
Includes Windows specific EAL changes and meson changes to support pci lib on Windows. Added mman.c and mman.h to support common code. These files are under MIT license and need exception. note: license/exceptions.txt will be modified once exception is approved. Pallavi Kadam (2): eal: mman

Re: [dpdk-dev] [PATCH v7 9/9] eal: add minimum viable code to support parsing

2020-02-06 Thread Pallavi Kadam
Hi Dmitry, On 2/5/2020 10:41 PM, Dmitry Kozlyuk wrote: On 2/5/2020 4:39 PM, Pallavi Kadam wrote: On 2/5/2020 11:54 AM, Dmitry Kozlyuk wrote: Crashes at argument parsing, WinDbg log attached. This patch works fine with meson=0.49. I was able to execute the 'helloworld' app. Wh

[dpdk-dev] [PATCH v8 8/9] build: add additional common files support

2020-02-06 Thread Pallavi Kadam
Added support for additional common files in meson build to expand Windows EAL and to support the lcore parsing feature on Windows. Signed-off-by: Pallavi Kadam Signed-off-by: Antara Ganesh Kolar Reviewed-by: Ranjit Menon Reviewed-by: Keith Wiles --- lib/librte_eal/windows/eal/meson.build

[dpdk-dev] [PATCH v8 9/9] eal: add minimum viable code to support parsing

2020-02-06 Thread Pallavi Kadam
Adding specific logic for eal.c to support parsing on Windows. Signed-off-by: Pallavi Kadam Signed-off-by: Antara Ganesh Kolar Reviewed-by: Ranjit Menon Reviewed-by: Keith Wiles --- lib/librte_eal/windows/eal/eal.c | 133 ++- 1 file changed, 130 insertions(+), 3

[dpdk-dev] [PATCH v8 3/9] eal: add additional function overrides in windows header files

2020-02-06 Thread Pallavi Kadam
Adding additional function definitions for pthread, cpuset implementation, asprintf implementation, in order to support common code. Signed-off-by: Bruce Richardson Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon Reviewed-by: Keith Wiles --- lib/librte_eal/windows/eal/include

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

2020-02-06 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

[dpdk-dev] [PATCH v8 2/9] eal: dirent.h implementation for windows

2020-02-06 Thread Pallavi Kadam
Adding dirent.h on Windows to support common code. eal_common_options.c includes this file. The original contribution is under MIT license. https://github.com/tronkko/dirent Signed-off-by: Antara Ganesh Kolar Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon Reviewed-by: Keith Wiles

[dpdk-dev] [PATCH v8 6/9] eal: include SSE4 support for windows

2020-02-06 Thread Pallavi Kadam
Modified \common\include\arch\x86\rte_vect.h to include SSE4 header for Windows. Signed-off-by: Antara Ganesh Kolar Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon Reviewed-by: Keith Wiles --- lib/librte_eal/common/include/arch/x86/rte_vect.h | 4 +++- 1 file changed, 3 insertions

[dpdk-dev] [PATCH v8 7/9] eal: remove syslog and dlfcn support for windows

2020-02-06 Thread Pallavi Kadam
Excluding syslog/ dlfcn definitions and parameters from Windows by adding #ifndef RTE_EXEC_ENV_WINDOWS. Note: This is a temporary change. In future, separate 'unix' directory will be created for unix specific functions. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- lib/

[dpdk-dev] [PATCH v8 4/9] eal: getopt implementation for windows

2020-02-06 Thread Pallavi Kadam
: Pallavi Kadam Reviewed-by: Ranjit Menon Reviewed-by: Keith Wiles --- lib/librte_eal/windows/eal/getopt.c | 470 lib/librte_eal/windows/eal/include/getopt.h | 92 lib/librte_eal/windows/eal/meson.build | 1 + 3 files changed, 563 insertions(+) create mode

[dpdk-dev] [PATCH v8 1/9] license: add license exception for windows

2020-02-06 Thread Pallavi Kadam
The Governing Board and Tech Board have provided exceptions for MIT and BSD-2-Clause license files for DPDK support on Windows. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- license/exceptions.txt | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a

[dpdk-dev] [PATCH v8 0/9] Windows patchset with additional EAL functionalities

2020-02-06 Thread Pallavi Kadam
es: Modified generic rte_vect to add Windows support. Moved RTE_CPU* definitions to OS specific file. Added SPDX tag on top of third party files. v2 Changes: syslog.h: Replaced the BSD license boilerplate to SPDX tag. Pallavi Kadam (9): license: add license excepti

Re: [dpdk-dev] [PATCH v7 9/9] eal: add minimum viable code to support parsing

2020-02-05 Thread Pallavi Kadam
On 2/5/2020 6:11 PM, Thomas Monjalon wrote: 06/02/2020 02:39, Pallavi Kadam: On 2/5/2020 4:39 PM, Pallavi Kadam wrote: On 2/5/2020 11:54 AM, Dmitry Kozlyuk wrote: Crashes at argument parsing, WinDbg log attached. This patch works fine with meson=0.49. I was able to execute the 'hello

Re: [dpdk-dev] [PATCH v7 9/9] eal: add minimum viable code to support parsing

2020-02-05 Thread Pallavi Kadam
On 2/5/2020 4:39 PM, Pallavi Kadam wrote: On 2/5/2020 11:54 AM, Dmitry Kozlyuk wrote: Crashes at argument parsing, WinDbg log attached. This patch works fine with meson=0.49. I was able to execute the 'helloworld' app. When I tried to build with meson=0.52 it failed with the er

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 9/9] eal: add minimum viable code to support parsing

2020-02-05 Thread Pallavi Kadam
On 2/5/2020 11:54 AM, Dmitry Kozlyuk wrote: Crashes at argument parsing, WinDbg log attached. This patch works fine with meson=0.49. I was able to execute the 'helloworld' app. When I tried to build with meson=0.52 it failed with the error: [9/25] Linking target lib/librte_kvargs-20.0.dll. F

Re: [dpdk-dev] How to compile and run l2fwd/l3fwd on DPDK windows?

2020-02-04 Thread Pallavi Kadam
Hi William, On 2/4/2020 1:25 PM, William Tu wrote: Hi, I'm able to follow the doc to run helloworld example https://doc.dpdk.org/guides/windows_gsg/build_dpdk.html#build-the-code I'm thinking about running l2fwd on my x710 card. Is there any step-by-step document to follow? Currently, L2fwd/

[dpdk-dev] [PATCH v7 6/9] eal: include SSE4 support for windows

2020-01-31 Thread Pallavi Kadam
Modified \common\include\arch\x86\rte_vect.h to include SSE4 header for Windows. Signed-off-by: Antara Ganesh Kolar Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon Reviewed-by: Keith Wiles --- lib/librte_eal/common/include/arch/x86/rte_vect.h | 4 +++- 1 file changed, 3 insertions

[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

[dpdk-dev] [PATCH v7 4/9] eal: getopt implementation for windows

2020-01-31 Thread Pallavi Kadam
Kolar Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon Reviewed-by: Keith Wiles --- lib/librte_eal/windows/eal/getopt.c | 465 lib/librte_eal/windows/eal/include/getopt.h | 127 ++ lib/librte_eal/windows/eal/meson.build | 1 + 3 files changed, 593

[dpdk-dev] [PATCH v7 9/9] eal: add minimum viable code to support parsing

2020-01-31 Thread Pallavi Kadam
Adding specific logic for eal.c to support parsing on Windows. Signed-off-by: Pallavi Kadam Signed-off-by: Antara Ganesh Kolar Reviewed-by: Ranjit Menon Reviewed-by: Keith Wiles --- lib/librte_eal/windows/eal/eal.c | 133 ++- 1 file changed, 130 insertions(+), 3

[dpdk-dev] [PATCH v7 3/9] eal: add additional function overrides in windows header files

2020-01-31 Thread Pallavi Kadam
Adding additional function definitions for pthread, cpuset implementation, asprintf implementation, in order to support common code. Signed-off-by: Bruce Richardson Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon Reviewed-by: Keith Wiles --- lib/librte_eal/windows/eal/include

[dpdk-dev] [PATCH v7 2/9] eal: dirent.h implementation for windows

2020-01-31 Thread Pallavi Kadam
Adding dirent.h on Windows to support common code. eal_common_options.c includes this file. The original contribution is under MIT license. https://github.com/tronkko/dirent Signed-off-by: Antara Ganesh Kolar Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon Reviewed-by: Keith Wiles

[dpdk-dev] [PATCH v7 7/9] eal: remove syslog and dlfcn support for windows

2020-01-31 Thread Pallavi Kadam
Excluding syslog/ dlfcn definitions and parameters from Windows by adding #ifndef RTE_EXEC_ENV_WINDOWS. Note: This is a temporary change. In future, separate 'unix' directory will be created for unix specific functions. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- lib/

[dpdk-dev] [PATCH v7 0/9] Windows patchset with additional EAL functionalities

2020-01-31 Thread Pallavi Kadam
v2 Changes: syslog.h: Replaced the BSD license boilerplate to SPDX tag. Pallavi Kadam (9): license: add license exception for windows eal: dirent.h implementation for windows eal: add additional function overrides in windows header files eal: getopt implementation for windows eal: add f

[dpdk-dev] [PATCH v7 8/9] build: add additional common files support

2020-01-31 Thread Pallavi Kadam
Added support for additional common files in meson build to expand Windows EAL and to support the lcore parsing feature on Windows. Signed-off-by: Pallavi Kadam Signed-off-by: Antara Ganesh Kolar Reviewed-by: Ranjit Menon Reviewed-by: Keith Wiles --- lib/librte_eal/windows/eal/meson.build

[dpdk-dev] [PATCH v7 1/9] license: add license exception for windows

2020-01-31 Thread Pallavi Kadam
The Governing Board and Tech Board have provided exceptions for MIT and BSD-2-Clause license files for DPDK support on Windows. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- license/exceptions.txt | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a

Re: [dpdk-dev] [PATCH v6 03/10] eal: include filesystem implementation for windows

2020-01-31 Thread Pallavi Kadam
Hi Dmitry, Thank you for reviewing the code and for your comments. On 1/30/2020 10:04 PM, Dmitry Kozliuk wrote: Hello Pallavi, +#include "eal_internal_cfg.h" + +/* sets up platform-specific runtime data dir */ +int +eal_create_runtime_dir(void); + +/* returns runtime dir */ +const char * +eal

[dpdk-dev] [PATCH v6 08/10] eal: remove syslog and dlfcn support for windows

2020-01-30 Thread Pallavi Kadam
Excluding syslog/ dlfcn definitions and parameters from Windows by adding #ifndef RTE_EXEC_ENV_WINDOWS. Note: This is a temporary change. In future, separate 'unix' directory will be created for unix specific functions. Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- lib/

[dpdk-dev] [PATCH v6 09/10] build: add additional common files support

2020-01-30 Thread Pallavi Kadam
Added support for additional common files in meson build to expand Windows EAL and to support the lcore parsing feature on Windows. Signed-off-by: Pallavi Kadam Signed-off-by: Antara Ganesh Kolar Reviewed-by: Ranjit Menon Reviewed-by: Keith Wiles --- lib/librte_eal/windows/eal/meson.build

  1   2   >