X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fexception_path%2Fmain.c;h=3e5b1e718f3d08f53dc34a8e5c86e04f48962488;hb=da5957821bdd;hp=dec5251556131820d4dfe2aaec95af95c8f22a28;hpb=8374e445fcf4047197790243f31edded0d81222a;p=dpdk.git diff --git a/examples/exception_path/main.c b/examples/exception_path/main.c index dec5251556..3e5b1e718f 100644 --- 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 NB_RXD 128 +#define NB_RXD 1024 /* 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 @@ -108,7 +108,7 @@ struct stats { 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];