From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [RFC PATCH] virtio_net: Extend virtio to use VF datapath when available Date: Tue, 19 Dec 2017 10:41:59 -0800 Message-ID: <20171219104159.30d9caaf@xeon-e3> References: <20171219174259-mutt-send-email-mst@kernel.org> <20171219095548.61d70d10@xeon-e3> <20171219.132117.666798483874609477.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: sridhar.samudrala@intel.com, mst@redhat.com, netdev@vger.kernel.org, virtualization@lists.linux-foundation.org, alexander.duyck@gmail.com, jesse.brandeburg@intel.com To: David Miller Return-path: Received: from mail-pf0-f193.google.com ([209.85.192.193]:44397 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750783AbdLSSmD (ORCPT ); Tue, 19 Dec 2017 13:42:03 -0500 Received: by mail-pf0-f193.google.com with SMTP id m26so11478222pfj.11 for ; Tue, 19 Dec 2017 10:42:03 -0800 (PST) In-Reply-To: <20171219.132117.666798483874609477.davem@davemloft.net> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, 19 Dec 2017 13:21:17 -0500 (EST) David Miller wrote: > From: Stephen Hemminger > Date: Tue, 19 Dec 2017 09:55:48 -0800 > > > could be 10ms, just enough to let udev do its renaming > > Please, move to some kind of notification or event based handling of > this problem. > > No delay is safe, what if userspace gets swapped out or whatever > else might make userspace stall unexpectedly? > The plan is to remove the delay and do the naming in the kernel. This was suggested by Lennart since udev is only doing naming policy because kernel names were not repeatable. This makes the VF show up as "ethN_vf" on Hyper-V which is user friendly. Patch is pending.