Commit 39e0124a authored by Tom Barbette's avatar Tom Barbette

Fix last commits

parent 662bdd8e
Pipeline #1772 passed with stage
in 10 minutes and 1 second
......@@ -429,6 +429,7 @@ int DPDKDevice::static_initialize(ErrorHandler* errh) {
if (!dpdk_enabled) {
return errh->error("You must start Click with --dpdk option when compiling with --enable-dpdk-pool");
}
#endif
if (!alloc_pktmbufs()) {
errh->error("Could not allocate packet MBuf pools : error %d (%s)",rte_errno,rte_strerror(rte_errno));
if (rte_errno == 12) {
......@@ -436,7 +437,6 @@ int DPDKDevice::static_initialize(ErrorHandler* errh) {
}
return -1;
}
#endif
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment