Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/F-Stack/f-stack
Browse files Browse the repository at this point in the history
  • Loading branch information
whl739 committed May 17, 2017
2 parents c15aae7 + 97d5989 commit cd915f5
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 cd915f5

Please sign in to comment.