Subject: Re: [PATCH v4 2/2] virtio_net: Extend virtio to use VF datapath when available

From: Stephen Hemminger <[email-masked]>
Date: Tue, 13 Mar 2018 17:54:06 -0700

On Tue, 13 Mar 2018 17:36:23 -0700
"Samudrala, Sridhar" <[email-masked]> wrote:

> OK. looks like you want to see atleast some code shared between netvsc and virtio_net
> even when they are using 2 different netdev models.
> Will try to add a new file under net/core and move some functions that can be shared
> between netvsc and virtio_net in BACKUP mode.

Make it work first (on both) then workout how to share.
That method worked quite well for tunnels and other netdev like objects.