[dpdk-dev] [PATCH v3 0/3] compile librte_net for windows
Fady Bader
fady at mellanox.com
Wed Jul 8 10:25:22 CEST 2020
Addded needed files and fixes for windows in order to get
librte_net compiling under Windows.
v3:
* replaced htons with rte_cpu_to_be_16.
* rebased to current master.
Fady Bader (3):
net: fix s_addr redefinition in Windows
net: replace htons with rte_cpu_to_be_16
eal/windows: librte_net build on Windows
lib/librte_eal/common/meson.build | 1 +
lib/librte_eal/rte_eal_exports.def | 1 +
lib/librte_eal/windows/include/netinet/in.h | 25 +++++++++++++++++++++++++
lib/librte_eal/windows/include/netinet/ip.h | 12 ++++++++++++
lib/librte_net/rte_arp.c | 11 +++++++----
lib/librte_net/rte_ether.h | 9 +++++++++
lib/meson.build | 2 +-
7 files changed, 56 insertions(+), 5 deletions(-)
create mode 100644 lib/librte_eal/windows/include/netinet/in.h
create mode 100644 lib/librte_eal/windows/include/netinet/ip.h
--
2.16.1.windows.4
More information about the dev
mailing list