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: no more bare metal environment
[dpdk.git]
/
examples
/
distributor
/
main.c
diff --git
a/examples/distributor/main.c
b/examples/distributor/main.c
index
52266f0
..
89d82bb
100644
(file)
--- a/
examples/distributor/main.c
+++ b/
examples/distributor/main.c
@@
-44,8
+44,6
@@
#include <rte_debug.h>
#include <rte_distributor.h>
#include <rte_debug.h>
#include <rte_distributor.h>
-#include "main.h"
-
#define RX_RING_SIZE 256
#define TX_RING_SIZE 512
#define NUM_MBUFS ((64*1024)-1)
#define RX_RING_SIZE 256
#define TX_RING_SIZE 512
#define NUM_MBUFS ((64*1024)-1)
@@
-492,7
+490,7
@@
parse_args(int argc, char **argv)
/* Main function, does initialization and calls the per-lcore functions */
int
/* Main function, does initialization and calls the per-lcore functions */
int
-
MAIN
(int argc, char *argv[])
+
main
(int argc, char *argv[])
{
struct rte_mempool *mbuf_pool;
struct rte_distributor *d;
{
struct rte_mempool *mbuf_pool;
struct rte_distributor *d;