Merge branch 'mainstream'
[sliver-openvswitch.git] / lib / dpif-netdev.c
index 07c1467..ee60dcd 100644 (file)
@@ -616,10 +616,10 @@ dpif_netdev_port_query_by_name(const struct dpif *dpif, const char *devname,
     return error;
 }
 
-static odp_port_t
+static uint32_t
 dpif_netdev_get_max_ports(const struct dpif *dpif OVS_UNUSED)
 {
-    return u32_to_odp(MAX_PORTS);
+    return MAX_PORTS;
 }
 
 static void