git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3460012
)
examples/ipv4_frag: update
author
Intel
<intel.com>
Wed, 19 Dec 2012 23:00:00 +0000
(
00:00
+0100)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Thu, 25 Jul 2013 13:58:01 +0000
(15:58 +0200)
Signed-off-by: Intel
examples/ipv4_frag/main.c
patch
|
blob
|
history
diff --git
a/examples/ipv4_frag/main.c
b/examples/ipv4_frag/main.c
index
cc1e51b
..
15fc2b7
100644
(file)
--- a/
examples/ipv4_frag/main.c
+++ b/
examples/ipv4_frag/main.c
@@
-312,7
+312,7
@@
static __attribute__((noreturn)) int
main_loop(__attribute__((unused)) void *dummy)
{
struct rte_mbuf *pkts_burst[MAX_PKT_BURST];
- u
int32_t
lcore_id;
+ u
nsigned
lcore_id;
uint64_t prev_tsc = 0;
uint64_t diff_tsc, cur_tsc;
int i, j, nb_rx;
@@
-729,7
+729,7
@@
MAIN(int argc, char **argv)
}
printf("Adding route 0x%08x / %d (%d)\n",
- l3fwd_route_array[i].ip,
+
(unsigned)
l3fwd_route_array[i].ip,
l3fwd_route_array[i].depth,
l3fwd_route_array[i].if_out);
}