git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1509e07
)
eal/windows: add definition of ETOOMANYREFS
author
Tal Shnaiderman
<talshn@nvidia.com>
Sat, 14 Nov 2020 22:21:29 +0000
(
00:21
+0200)
committer
Thomas Monjalon
<thomas@monjalon.net>
Sun, 15 Nov 2020 23:14:07 +0000
(
00:14
+0100)
The ETOOMANYREFS errno was missing from the Windows build.
It is used in initialization of flow error structures.
It is defined with the same error code used by WSAETOOMANYREFS.
Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
lib/librte_eal/windows/include/rte_os.h
patch
|
blob
|
history
diff --git
a/lib/librte_eal/windows/include/rte_os.h
b/lib/librte_eal/windows/include/rte_os.h
index
569ed92
..
8300ea4
100644
(file)
--- a/
lib/librte_eal/windows/include/rte_os.h
+++ b/
lib/librte_eal/windows/include/rte_os.h
@@
-51,6
+51,8
@@
extern "C" {
/* as in <windows.h> */
typedef long long ssize_t;
+#define ETOOMANYREFS 10059 /* WSAETOOMANYREFS */
+
#ifndef RTE_TOOLCHAIN_GCC
static inline int