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/mlx5: add C++ include guard to public header
[dpdk.git]
/
drivers
/
net
/
bnx2x
/
elink.h
diff --git
a/drivers/net/bnx2x/elink.h
b/drivers/net/bnx2x/elink.h
index
dd70ac6
..
6b2e85f
100644
(file)
--- a/
drivers/net/bnx2x/elink.h
+++ b/
drivers/net/bnx2x/elink.h
@@
-86,7
+86,7
@@
extern void elink_cb_notify_link_changed(struct bnx2x_softc *sc);
#define ELINK_EVENT_ID_SFP_UNQUALIFIED_MODULE 1
#define ELINK_EVENT_ID_SFP_POWER_FAULT 2
-#define ARRAY_SIZE(x)
(sizeof(x)/sizeof(x[0])
)
+#define ARRAY_SIZE(x)
RTE_DIM(x
)
/* Debug prints */
#ifdef ELINK_DEBUG