From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <stephen@networkplumber.org>
Received: from mail-pf0-f181.google.com (mail-pf0-f181.google.com
 [209.85.192.181]) by dpdk.org (Postfix) with ESMTP id 8CF637CCE
 for <dev@dpdk.org>; Thu,  1 Jun 2017 19:57:32 +0200 (CEST)
Received: by mail-pf0-f181.google.com with SMTP id 9so33620253pfj.1
 for <dev@dpdk.org>; Thu, 01 Jun 2017 10:57:32 -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=8u+6P6OY8bePFRig1smPS2TnMnkRzsgKNXSdf77Qe+Q=;
 b=swll9HXhI6BdSNisxxJ9Dtttwccu3PEi9IuBp3r2WfcMwM0BJkOy9z6GMGx8scqATh
 K0MeEmV/GRqXz/IENnR9tNJYRafdf6rTEql/BZX9QaqKppBx2oKEsW6J1dZEW6qwt0db
 9ETL961tvKnWTy9w458tVcbgtkC45/aGWmybZ/bmy+DdGS8NozfFKD8C4QaJR1ubYt12
 bolsOUVNG0iQ0rFbtnac6gFpjfjcKljAskiIDQlgs8VBZ15jasYsf1Dq+zuyLpqoezn0
 JL6Im6PhgNtc35SxhielxMwfJVhID4mrfTBLVTsAs/KJDSOZmhS+qK9vowdNLBHDY3oI
 AG4g==
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=8u+6P6OY8bePFRig1smPS2TnMnkRzsgKNXSdf77Qe+Q=;
 b=ZVUHL1aLf7ZVY+8kHvcYWLYleWlui8pjVTORyOBiwt3BY6Mln2CNHb3IW/YswHEhqM
 tUZ8kxcfg6fiQ/+a0Gb0/+i7/R+jlalrgITHrFHfSO8Ril3ffYeTTgMpBzTvR3gX7B1a
 5jdSzhQJkFwamWhHAQda9j42xpxEy9arnB2jSY2dUc4GtDCeEL5NotbLDUW/VEjARwXQ
 tBEIOtFhRcXR/Sqk1okoH83vXmYv3TuKIKNmyEHFi9RnATMZEZ3aniS4TfICVlSLpjiB
 KMGUilzf0+aJl9rYEwKcSBPzqAqvQSNtYpznNw3M9A9hZQ7OaB+MlEj3v3ixa2qPz4xO
 qoNA==
X-Gm-Message-State: AODbwcCrmh6BBVfkiSdoM09WJMlL8g+v4lVe4wP8CzV9QxsZIALutfWS
 /HsdOFpafg5Ly80Y
X-Received: by 10.99.128.72 with SMTP id j69mr2069521pgd.187.1496339851511;
 Thu, 01 Jun 2017 10:57:31 -0700 (PDT)
Received: from xeon-e3 (76-14-207-240.or.wavecable.com. [76.14.207.240])
 by smtp.gmail.com with ESMTPSA id i71sm16740374pge.61.2017.06.01.10.57.31
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Thu, 01 Jun 2017 10:57:31 -0700 (PDT)
Date: Thu, 1 Jun 2017 10:57:22 -0700
From: Stephen Hemminger <stephen@networkplumber.org>
To: =?UTF-8?B?R2HDq3Rhbg==?= Rivet <gaetan.rivet@6wind.com>
Cc: dev@dpdk.org
Message-ID: <20170601105722.6e4e2101@xeon-e3>
In-Reply-To: <20170601140137.GB18840@bidouze.vm.6wind.com>
References: <cover.1495634974.git.gaetan.rivet@6wind.com>
 <cover.1496065002.git.gaetan.rivet@6wind.com>
 <22f681327bdff42db58d880fd2238d1fbfb2730d.1496065002.git.gaetan.rivet@6wind.com>
 <20170531081353.2103a676@xeon-e3>
 <20170601140137.GB18840@bidouze.vm.6wind.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Subject: Re: [dpdk-dev] [PATCH v4 04/12] net/failsafe: add fail-safe PMD
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Thu, 01 Jun 2017 17:57:33 -0000

On Thu, 1 Jun 2017 16:01:37 +0200
Ga=C3=ABtan Rivet <gaetan.rivet@6wind.com> wrote:

> What is necessary is a common piece of info (it can be MAC address, a
> class Id, anything else) that allows a script to detect that the right
> device has been plugged in. As long as the NFV server allows determinism
> here, the user will be able to use its VF.

There is a serial number property (GUID) on vmbus that is what Windows uses
to associate VF and SF device. It maybe visible over sysfs.

But it make senses to put that kind of system dependent matching rule in
some other place (DPDK bus logic? or external daemon).