From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f65.google.com ([74.125.82.65]:39111 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932102AbeBVNHT (ORCPT ); Thu, 22 Feb 2018 08:07:19 -0500 Received: by mail-wm0-f65.google.com with SMTP id 191so3587599wmm.4 for ; Thu, 22 Feb 2018 05:07:19 -0800 (PST) Date: Thu, 22 Feb 2018 14:07:17 +0100 From: Jiri Pirko To: Or Gerlitz Cc: Alexander Duyck , Jakub Kicinski , "Samudrala, Sridhar" , "Michael S. Tsirkin" , Stephen Hemminger , David Miller , Netdev , virtualization@lists.linux-foundation.org, virtio-dev@lists.oasis-open.org, "Brandeburg, Jesse" , "Duyck, Alexander H" , Jason Wang , Siwei Liu Subject: Re: [RFC PATCH v3 0/3] Enable virtio_net to act as a backup for a passthru device Message-ID: <20180222130717.GE1994@nanopsycho> References: <20180221095159.GA1996@nanopsycho> <20180221161105.GC1996@nanopsycho> <20180221165848.GD1996@nanopsycho> <20180221193832.GE1996@nanopsycho> <20180222081115.GC1994@nanopsycho> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: Thu, Feb 22, 2018 at 12:54:45PM CET, gerlitz.or@gmail.com wrote: >On Thu, Feb 22, 2018 at 10:11 AM, Jiri Pirko wrote: >> Wed, Feb 21, 2018 at 09:57:09PM CET, alexander.duyck@gmail.com wrote: > >>>The signaling isn't too much of an issue since we can just tweak the >>>link state of the VF or virtio manually to report the link up or down >>>prior to the hot-plug. Now that we are on the same page with the team0 > >> Oh, so you just do "ip link set vfrepresentor down" in the host. >> That makes sense. I'm pretty sure that this is not implemented for all >> drivers now. > >mlx5 supports that, on the representor close ndo we take the VF link >operational v-link down > >We should probably also put into the picture some/more aspects >from the host side of things. The provisioning of the v-switch now >have to deal with two channels going into the VM, the PV (virtio) >one and the PT (VF) one. > >This should probably boil down to apply teaming/bonding between >the VF representor and a PV backend device, e.g TAP. Yes, that is correct.