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
/
skeleton
/
basicfwd.c
diff --git
a/examples/skeleton/basicfwd.c
b/examples/skeleton/basicfwd.c
index
ef8f90c
..
6aa931e
100644
(file)
--- a/
examples/skeleton/basicfwd.c
+++ b/
examples/skeleton/basicfwd.c
@@
-38,7
+38,6
@@
#include <rte_cycles.h>
#include <rte_lcore.h>
#include <rte_mbuf.h>
#include <rte_cycles.h>
#include <rte_lcore.h>
#include <rte_mbuf.h>
-#include "basicfwd.h"
#define RX_RING_SIZE 128
#define TX_RING_SIZE 512
#define RX_RING_SIZE 128
#define TX_RING_SIZE 512
@@
-142,7
+141,7
@@
lcore_main(void)
/* Main function, does initialisation and calls the per-lcore functions */
int
/* Main function, does initialisation and calls the per-lcore functions */
int
-
MAIN
(int argc, char *argv[])
+
main
(int argc, char *argv[])
{
struct rte_mempool *mbuf_pool;
unsigned nb_ports;
{
struct rte_mempool *mbuf_pool;
unsigned nb_ports;