From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 366C81396 for ; Mon, 13 Mar 2017 18:51:15 +0100 (CET) Received: by mail-wm0-f45.google.com with SMTP id v186so46506451wmd.0 for ; Mon, 13 Mar 2017 10:51:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=aTtq5llP6zYMprZFfjJ4dtWqg1w/3mqtlWEah/IL9qQ=; b=0QX+dmlryjKwt8qGpR0Q4GkuP/mXda7lhpRgMFunWN3jXInfjYwa3Jgibh0dypIhgF GSaPO0wN98AArV0i3X7Nv3FUsu7qe9c3Ve40u06ljke0D33u9Vv5d1pC9bZtQfcKfEPT krAIw2+a5AOIouKK1K8zStKWN9idoT3TDC/Nbx2hcO852yFVT/+xadWXVsY7Lky1Yyx6 j2k16Sg7WNrne6JmZ8r5oMZu8NY/VvaB1ZGnxeFNaeEcVWWod0llEB5aCdTqSks+X72e 8Dz8u53o62ATg41R3JOSx7DyS/asWdHUkOus5eVQ1+rfeMIvdPCJMBtcvmaYIPdRLABv /3Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=aTtq5llP6zYMprZFfjJ4dtWqg1w/3mqtlWEah/IL9qQ=; b=VeHxNCNHy0yDpTKIST8l908EP2LwbG9jsGVqF2YsuWfC8IaGnvci4jSwM5+t7Ygm/S T+PcoLardRnCK54oG/n9cDetFrDq1/yp/T+D5A9jhnJIKIOCN15QuhaM9W7yhLQoWzkK SLwatSG8HTRcDcjx15+kzwVhZZFGyg2nUWoXrJriYzGNgFvFfAWyCVVEmlZjJkhcW8EO kOE8+b4nOMB1MUmyppp312VkM0pzxwnN8Exv02XMBygO9kryGOykVjElT3JroXRfohFM lS3RBQor9fWCWcRPxcDOV7fcDyD+aUvKrMQ7nYyrnDbLMhYZihcHKuVQ0+I6Jk3i41sm P4sw== X-Gm-Message-State: AFeK/H3/2XTNZUEVxBplO4Wn/SfD/teu4hBEW2PPX93JipxE7VIwpLIg3aQEPqEvq5dhJFzo X-Received: by 10.28.9.213 with SMTP id 204mr11828192wmj.89.1489427475002; Mon, 13 Mar 2017 10:51:15 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id o2sm12129321wmb.28.2017.03.13.10.51.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Mar 2017 10:51:14 -0700 (PDT) From: Thomas Monjalon To: Jan Blunck Cc: dev@dpdk.org, david.marchand@6wind.com, shreyansh.jain@nxp.com, ferruh.yigit@intel.com Date: Mon, 13 Mar 2017 18:51:13 +0100 Message-ID: <3920281.Or2amWcIZo@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1488797809-12917-10-git-send-email-jblunck@infradead.org> References: <1488797809-12917-1-git-send-email-jblunck@infradead.org> <1488797809-12917-10-git-send-email-jblunck@infradead.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v4 09/10] eal: make virtual bus use rte_vdev_device X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Mar 2017 17:51:15 -0000 2017-03-06 11:56, Jan Blunck: > This allows the virtual bus to be rescanned and probed by tracking the > creation of rte_vdev_device. > > Signed-off-by: Jan Blunck > Tested-by: Ferruh Yigit > Acked-by: Shreyansh Jain There are a lot of strcmp in this patch. Maybe it should be abstracted in a "match" function. It would allow bringing new vdev rules in future.