  
  	skb_dst_drop(skb);
  	nf_reset(skb);
-@@ -297,7 +325,7 @@ static struct vport_ops ovs_internal_vport_ops = {
+@@ -297,7 +326,7 @@ static struct vport_ops ovs_internal_vport_ops = {
  
  int ovs_is_internal_dev(const struct net_device *netdev)
  {

+	*rxd = na->num_rx_desc;
+	return 0;
+}
+#endif /* NETMAP_API_4 */
+
+static struct device_driver dummy = {.owner = THIS_MODULE};
+static void

+							struct rtnl_link_stats64 *);
+static int internal_dev_change_mtu(struct net_device *, int);
+
+static int
+vport_internal_update_config(struct netmap_adapter *na, u_int *txr, u_int *txd, u_int *rxr, u_int *rxd)
+{
