examples/ipv4_frag: update

Signed-off-by: Intel
This commit is contained in:
Intel 2012-12-20 00:00:00 +01:00 committed by Thomas Monjalon
parent 3460012bcc
commit 33399bcaa4

View File

@ -312,7 +312,7 @@ static __attribute__((noreturn)) int
main_loop(__attribute__((unused)) void *dummy) main_loop(__attribute__((unused)) void *dummy)
{ {
struct rte_mbuf *pkts_burst[MAX_PKT_BURST]; struct rte_mbuf *pkts_burst[MAX_PKT_BURST];
uint32_t lcore_id; unsigned lcore_id;
uint64_t prev_tsc = 0; uint64_t prev_tsc = 0;
uint64_t diff_tsc, cur_tsc; uint64_t diff_tsc, cur_tsc;
int i, j, nb_rx; int i, j, nb_rx;
@ -729,7 +729,7 @@ MAIN(int argc, char **argv)
} }
printf("Adding route 0x%08x / %d (%d)\n", 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].depth,
l3fwd_route_array[i].if_out); l3fwd_route_array[i].if_out);
} }