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
eal: fix race condition in IPC request
[dpdk.git]
/
examples
/
exception_path
/
main.c
diff --git
a/examples/exception_path/main.c
b/examples/exception_path/main.c
index
dec5251
..
3e5b1e7
100644
(file)
--- a/
examples/exception_path/main.c
+++ b/
examples/exception_path/main.c
@@
-65,10
+65,10
@@
#define MEMPOOL_CACHE_SZ PKT_BURST_SZ
/* Number of RX ring descriptors */
#define MEMPOOL_CACHE_SZ PKT_BURST_SZ
/* Number of RX ring descriptors */
-#define NB_RXD 1
28
+#define NB_RXD 1
024
/* Number of TX ring descriptors */
/* Number of TX ring descriptors */
-#define NB_TXD
512
+#define NB_TXD
1024
/*
* RX and TX Prefetch, Host, and Write-back threshold values should be
/*
* RX and TX Prefetch, Host, and Write-back threshold values should be
@@
-108,7
+108,7
@@
struct stats {
uint64_t rx;
uint64_t tx;
uint64_t dropped;
uint64_t rx;
uint64_t tx;
uint64_t dropped;
-};
+}
__rte_cache_aligned
;
/* Array of lcore-specific stats */
static struct stats lcore_stats[RTE_MAX_LCORE];
/* Array of lcore-specific stats */
static struct stats lcore_stats[RTE_MAX_LCORE];