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
examples/l2fwd-crypto: update for libcrypto
[dpdk.git]
/
lib
/
librte_port
/
rte_port_ring.c
diff --git
a/lib/librte_port/rte_port_ring.c
b/lib/librte_port/rte_port_ring.c
index
d36e12d
..
3b9d3d0
100644
(file)
--- a/
lib/librte_port/rte_port_ring.c
+++ b/
lib/librte_port/rte_port_ring.c
@@
-179,7
+179,7
@@
rte_port_ring_reader_stats_read(void *port,
struct rte_port_ring_writer {
struct rte_port_out_stats stats;
struct rte_port_ring_writer {
struct rte_port_out_stats stats;
- struct rte_mbuf *tx_buf[RTE_PORT_IN_BURST_SIZE_MAX];
+ struct rte_mbuf *tx_buf[
2 *
RTE_PORT_IN_BURST_SIZE_MAX];
struct rte_ring *ring;
uint32_t tx_burst_sz;
uint32_t tx_buf_count;
struct rte_ring *ring;
uint32_t tx_burst_sz;
uint32_t tx_buf_count;
@@
-447,7
+447,7
@@
rte_port_ring_writer_stats_read(void *port,
struct rte_port_ring_writer_nodrop {
struct rte_port_out_stats stats;
struct rte_port_ring_writer_nodrop {
struct rte_port_out_stats stats;
- struct rte_mbuf *tx_buf[RTE_PORT_IN_BURST_SIZE_MAX];
+ struct rte_mbuf *tx_buf[
2 *
RTE_PORT_IN_BURST_SIZE_MAX];
struct rte_ring *ring;
uint32_t tx_burst_sz;
uint32_t tx_buf_count;
struct rte_ring *ring;
uint32_t tx_burst_sz;
uint32_t tx_buf_count;