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/bnxt: add locks in flow database
[dpdk.git]
/
drivers
/
net
/
bnxt
/
bnxt_rxq.h
diff --git
a/drivers/net/bnxt/bnxt_rxq.h
b/drivers/net/bnxt/bnxt_rxq.h
index
d5ce3b6
..
fae92ea
100644
(file)
--- a/
drivers/net/bnxt/bnxt_rxq.h
+++ b/
drivers/net/bnxt/bnxt_rxq.h
@@
-6,6
+6,9
@@
#ifndef _BNXT_RQX_H_
#define _BNXT_RQX_H_
#ifndef _BNXT_RQX_H_
#define _BNXT_RQX_H_
+/* Maximum receive burst supported in vector mode. */
+#define RTE_BNXT_MAX_RX_BURST 64U
+
struct bnxt;
struct bnxt_rx_ring_info;
struct bnxt_cp_ring_info;
struct bnxt;
struct bnxt_rx_ring_info;
struct bnxt_cp_ring_info;
@@
-39,6
+42,7
@@
struct bnxt_rx_queue {
uint32_t rx_buf_size;
struct bnxt_rx_ring_info *rx_ring;
struct bnxt_cp_ring_info *cp_ring;
uint32_t rx_buf_size;
struct bnxt_rx_ring_info *rx_ring;
struct bnxt_cp_ring_info *cp_ring;
+ struct rte_mbuf fake_mbuf;
rte_atomic64_t rx_mbuf_alloc_fail;
const struct rte_memzone *mz;
};
rte_atomic64_t rx_mbuf_alloc_fail;
const struct rte_memzone *mz;
};