From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C232AC73C63 for ; Tue, 9 Jul 2019 23:47:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 90B1920861 for ; Tue, 9 Jul 2019 23:47:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=networkplumber-org.20150623.gappssmtp.com header.i=@networkplumber-org.20150623.gappssmtp.com header.b="Q/RoaNRg" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726922AbfGIXrS (ORCPT ); Tue, 9 Jul 2019 19:47:18 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:43399 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726346AbfGIXrR (ORCPT ); Tue, 9 Jul 2019 19:47:17 -0400 Received: by mail-pl1-f193.google.com with SMTP id cl9so187080plb.10 for ; Tue, 09 Jul 2019 16:47:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iL18xnFSpk6ptM8YAmoMi2iKWd1SLqXYtP/FCRGWav8=; b=Q/RoaNRgQ0bfuVZO6pPdiS54Ias6oBekAYBmwoJjMckKbKNA6454iquKh8eut0Ttr+ bHXuqKeFInzzcfc3baQo0VS5LiyQfBykfnHu8j05DjOLkGoLQ0PFp9S8Zu6+LMNhtNxY GZSl7HRj4cHGDeoiEl7QIrm+fVJC1HYHl4HuuRaXuCTMzlQxTX+8zf1lwuxFrCM/l19m nL7uk75lGOj8zZoAXABKhqXGjBiHeKf6bpLuTyI5suP29zxb+3H3F24S6lXx8oKwU78I XRLQ3CMG/X4/9nh9MVVHBpUtU9iODOb/3ofC9t616yOCYyV8YJIlYnhi5ITzag2XtxMW JJng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=iL18xnFSpk6ptM8YAmoMi2iKWd1SLqXYtP/FCRGWav8=; b=Zz8Uw+9KCcK9NdE3cadpaFKFz/IMKY3Ac9H3p8fxbMlJbnKxEYke4rB4kMZo9iNMWR FPwdf6R8JkfvJEzk1J1C+RcAnKlHYBaZ7euR+KUS8niJvf3LM8+FT4fwe9IWPXeQFaWi gB3rmyyWf1Ek3LprF9wfy5sMRH3Bs2R/9mULCrg+584yZeAcKi9DFKr5MGKLgv8+iSTL cTyuOFwJ88+3Z3RsLrGaKVLiqJA1RTw9sR+OKUidCMpB8z757emxc+fUURwEIkq9s4nf Yf4zw86+Ty+9l/Qb18WyWUP3peZ4IfK2kd6DOvhn9UFCxTjnczAGwt/ymSJgQVls5X7s hb9Q== X-Gm-Message-State: APjAAAVgXh3GNIMkzhgwWQppyYzpm/in/XXByuLYK9zHX+GXrspReUcu nHZi83i9Sos4Hrf5pYofUdD/HA== X-Google-Smtp-Source: APXvYqyORHvLs9KYDreBAMDfudmnHv3DL836iujhdLjZRsI5WKxIcNSD4anrJCkjYa22pZMESWRMbQ== X-Received: by 2002:a17:902:7088:: with SMTP id z8mr29145504plk.125.1562716037090; Tue, 09 Jul 2019 16:47:17 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id r196sm151543pgr.84.2019.07.09.16.47.15 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 09 Jul 2019 16:47:16 -0700 (PDT) Date: Tue, 9 Jul 2019 16:47:14 -0700 From: Stephen Hemminger To: Haiyang Zhang Cc: "sashal@kernel.org" , "linux-hyperv@vger.kernel.org" , "netdev@vger.kernel.org" , KY Srinivasan , Stephen Hemminger , "olaf@aepfle.de" , vkuznets , "davem@davemloft.net" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH net-next] Name NICs based on vmbus offer and enable async probe by default Message-ID: <20190709164714.70774c92@hermes.lan> In-Reply-To: <1562712932-79936-1-git-send-email-haiyangz@microsoft.com> References: <1562712932-79936-1-git-send-email-haiyangz@microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, 9 Jul 2019 22:56:30 +0000 Haiyang Zhang wrote: > - VRSS_CHANNEL_MAX); > + if (probe_type == PROBE_PREFER_ASYNCHRONOUS) { > + snprintf(name, IFNAMSIZ, "eth%d", dev->channel->dev_num); What about PCI passthrough or VF devices that are also being probed and consuming the ethN names. Won't there be a collision?