From: Sainath Grandhi
Date: Tue, 17 Jan 2017 16:03:03 -0800
> @@ -46,22 +51,52 @@ static struct cdev macvtap_cdev;
> #define TUN_OFFLOADS (NETIF_F_HW_CSUM | NETIF_F_TSO_ECN | NETIF_F_TSO | \
> NETIF_F_TSO6 | NETIF_F_UFO)
>
> +static void macvtap_count_tx_dropped(struct tap_
macvlan object is re-structured to hold tap related elements in a separate
entity, tap_dev. Upon NETDEV_REGISTER device_event, tap_dev is registered with
idr and fetched again on tap_open. Few of the tap functions are modified to
accepted tap_dev as argument. tap_dev object includes callbacks to be