diff options
-rw-r--r-- | lib/dpif-netdev.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index a0e508ce1..9aa78ce2a 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -67,6 +67,9 @@ #include "unixctl.h" #include "util.h" #include "openvswitch/vlog.h" +#ifdef ODP_NETDEV +#include "netdev-odp.h" +#endif VLOG_DEFINE_THIS_MODULE(dpif_netdev); @@ -2366,6 +2369,11 @@ reload: /* Signal here to make sure the pmd finishes * reloading the updated configuration. */ dp_netdev_pmd_reload_done(pmd); +#ifdef ODP_NETDEV + if (odp_init_local()) { + ovs_abort(-1, "ODP init local failed\n"); + } +#endif for (;;) { int i; |