Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
logwang committed May 16, 2017
1 parent 4d8e77d commit 1fdd2a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/ff_dpdk_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -478,13 +478,13 @@ init_arp_ring(void)
ARP_RING_SIZE, socketid,
RING_F_SC_DEQ);
if (rte_ring_lookup(name_buf) != arp_ring[i][port_id])
rte_panic("lookup kni ring:%s failed!\n", name_buf);
rte_panic("lookup arp ring:%s failed!\n", name_buf);
} else {
arp_ring[i][port_id] = rte_ring_lookup(name_buf);
}

if (arp_ring[i][port_id] == NULL)
rte_panic("create kni ring::%s failed!\n", name_buf);
rte_panic("create arp ring::%s failed!\n", name_buf);

printf("create arp ring:%s success, %u ring entries are now free!\n",
name_buf, rte_ring_free_count(arp_ring[i][port_id]));
Expand Down
2 changes: 1 addition & 1 deletion lib/ff_kern_timeout.c
Original file line number Diff line number Diff line change
Expand Up @@ -1662,7 +1662,7 @@ ff_tc_get_timecount(struct timecounter *tc)
}

static struct timecounter ff_timecounter = {
ff_tc_get_timecount, 0, ~0u, 100, "fst clock", 1
ff_tc_get_timecount, 0, ~0u, 100, "ff_clock", 1
};

static void
Expand Down

0 comments on commit 1fdd2a6

Please sign in to comment.