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: separate Rx queue object creations
[dpdk.git]
/
drivers
/
net
/
bnxt
/
bnxt_util.h
diff --git
a/drivers/net/bnxt/bnxt_util.h
b/drivers/net/bnxt/bnxt_util.h
index
9f1868a
..
a15b3a1
100644
(file)
--- a/
drivers/net/bnxt/bnxt_util.h
+++ b/
drivers/net/bnxt/bnxt_util.h
@@
-6,6
+6,10
@@
#ifndef _BNXT_UTIL_H_
#define _BNXT_UTIL_H_
+#ifndef BIT
+#define BIT(n) (1UL << (n))
+#endif /* BIT */
+
int bnxt_check_zero_bytes(const uint8_t *bytes, int len);
void bnxt_eth_hw_addr_random(uint8_t *mac_addr);