net/ice: build on Windows
authorPallavi Kadam <pallavi.kadam@intel.com>
Fri, 2 Apr 2021 01:26:20 +0000 (18:26 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 6 Apr 2021 17:00:36 +0000 (19:00 +0200)
commitce6617a0698e7cd2e5eab6d69a605a580fe0f451
tree4e52dbc3f4dcc55efd0fb0520d0dae8601883728
parent38d786564542f8ad37ab7f4e461dfe39cfa93afd
net/ice: build on Windows

- Add Intel ice PMD support on Windows.
- Remove #include sys/ioctl header file as it is not needed.
- Replace x86intrin.h with rte_vect.h to avoid __m_prefetchw conflicting
  types.
- Replace POSIX usleep() API with rte API.
- Add a new macro for the access() API as the original function
  has 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: Pallavi Kadam <pallavi.kadam@intel.com>
Reviewed-by: Ranjit Menon <ranjit.menon@intel.com>
Acked-by: Jie Zhou <jizh@microsoft.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
15 files changed:
doc/guides/nics/features/ice.ini
doc/guides/nics/ice.rst
doc/guides/rel_notes/release_21_05.rst
drivers/net/ice/base/ice_flow.c
drivers/net/ice/base/ice_flow.h
drivers/net/ice/base/ice_osdep.h
drivers/net/ice/base/ice_switch.c
drivers/net/ice/base/ice_vlan_mode.h
drivers/net/ice/base/meson.build
drivers/net/ice/ice_dcf_ethdev.c
drivers/net/ice/ice_dcf_parent.c
drivers/net/ice/ice_ethdev.c
drivers/net/ice/ice_rxtx_vec_avx2.c
drivers/net/ice/ice_rxtx_vec_avx512.c
drivers/net/ice/meson.build