git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/pcap: fix file descriptor leak on close
[dpdk.git]
/
drivers
/
net
/
ena
/
ena_ethdev.c
diff --git
a/drivers/net/ena/ena_ethdev.c
b/drivers/net/ena/ena_ethdev.c
index
7acbf5e
..
9aa51c9
100644
(file)
--- a/
drivers/net/ena/ena_ethdev.c
+++ b/
drivers/net/ena/ena_ethdev.c
@@
-47,7
+47,7
@@
#define ENA_HASH_KEY_SIZE 40
#define ETH_GSTRING_LEN 32
#define ENA_HASH_KEY_SIZE 40
#define ETH_GSTRING_LEN 32
-#define ARRAY_SIZE(x)
(sizeof(x) / sizeof((x)[0])
)
+#define ARRAY_SIZE(x)
RTE_DIM(x
)
#define ENA_MIN_RING_DESC 128
#define ENA_MIN_RING_DESC 128